Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jl42+ From: jl42+@andrew.cmu.edu (Jay Mathew Libove) Newsgroups: comp.unix.xenix Subject: segment size exceeds 64K Message-ID: <4X78oOd68k-0I=K0RL@andrew.cmu.edu> Date: 31 Aug 88 23:34:50 GMT Organization: Carnegie Mellon Lines: 22 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@andrew.cmu.edu or libove@cs.cmu.edu) 5731 Centre Avenue, Apt 3 Pittsburgh, PA 15206 (412) 362-8983