🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Operator Thu, 05 Nov 1992 17:22
gcc-2.3.1 breaks oleo-1.0
#1273
Author: Operator
Date: Thu, 05 Nov 1992 17:22
47 lines
2064 bytes
Tried to build oleo-1.0 using gcc-2.3.1 on a SUN IPX running OS-4.1.3.
After editing one include file to fix a bad prototype:

    *** io_utils.h  Thu Nov  5 10:37:58 1992
    --- io_utils.h.dist     Thu Nov  5 10:37:41 1992
    ***************
    *** 24,30 ****
      #ifdef __STDC__
      extern void clear_spreadsheet ();
      extern char *print_cell (CELL *);
    ! extern char *cell_value_string (CELLREF r, CELLREF c);
      extern char *col_to_str (CELLREF);
      extern char *flt_to_str (double);
      char *backslash_a_string (char *, int);
    --- 24,30 ----
      #ifdef __STDC__
      extern void clear_spreadsheet ();
      extern char *print_cell (CELL *);
    ! extern char *cell_value_string (int r, int c);
      extern char *col_to_str (CELLREF);
      extern char *flt_to_str (double);
      char *backslash_a_string (char *, int);


I ran into an alignment error:

			    .
			    .
			    .

gcc -O -c -g  -DSTDC_HEADERS=1 -DHAVE_X11_X_H=1 -DHAVE_UALARM=1 -DHAVE_SETITIMER
=1 -DHAVE_RENAME=1 -DHAVE_VPRINTF=1  io_utils.c
as: "/usr/tmp/cca23933.s", line 111: error: location counter not on word boundar
y
gnumake: *** [io_utils.o] Error 1


Note that this code compiles and runs under SUN's C-compiler.

-Joseph


-- 
Dr. Joseph E. Sacco            | UUCP:  ...!uunet!pws.ma30.bull.com!eileen!sacco
Mitchell & Gauthier Associates | Internet: sacco@mga.com
200 Baker Avenue               | Fax:      (508)-369-0013
Concord, MA 01742-2100         | Voice:    (508)-369-5115
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads