Segment size exceeds 64K --- Help !!!

G. Geers [ext 3241] glenn at extro.ucc.su.oz
Sat May 6 09:59:41 AEST 1989


I am trying to port a rather large C program that I wrote some time back
to Xenix on a 286 (2.2.1). I am compiling the sources large model with
CFLAGS set as -M2lt24 -Ox -CSON and LFLAGS set as -M2l -SEG#256. The linker
gets about halfway through the file list and then dies with the following
message:
/bin/ld: Segment size exceeds 64K
Input File: do_screen.o(do_screen.c) pos: 74 Record type: 98

Does this mean that an individual object file yielded more than one segments
worth of code or what ? Anyone seen this before and/or know a work around ?
It's probably of general interest so the net may be a good place for replies.

				Thanks
					Glenn
glenn at extro.ucc.su.oz


Remember: Albert Einstein was a Tasmanian (see the filem "Young Einstein"
					   and find out all about it ).



More information about the Comp.unix.xenix mailing list