segment size exceeds 64K

Jay Mathew Libove jl42+ at andrew.cmu.edu
Thu Sep 1 09:34:50 AEST 1988


I built umoria2 on a SCO Xenix System V/286 v2.2.1 system and during the
load phase got the error:

/bin/ld: Segment size exceeds 64K
Input File: treasure2.o(treasure2.c) pos: 8e Record type: 98
*** Error code -107

Stop.


So, what exactly is the problem? Did the compiler generate one segment
of code that was more than 64K in length? I thought it was supposed to
take care of that for me.

How do I correct for this? I compiled all the modules with just the
basics, -Ml2e -O -LARGE.

Thanks for any help and suggestions!
Jay Libove (libove at andrew.cmu.edu or libove at cs.cmu.edu)
5731 Centre Avenue, Apt 3
Pittsburgh, PA 15206
(412) 362-8983



More information about the Comp.unix.xenix mailing list