jl42+@andrew.cmu.edu (Jay Mathew Libove) (11/22/87)
[ Cross posted to comp.sources.bugs and comp.unix.xenix so I get all
the help I can. It's an obscure problem! -Jay
]
Thanks to everyone's help I got SCO xenix's compiler to recognize the
(*functionname)() construction, and all the source modules compiled,
but now I can't link...
even when I use the "-SEG 1024" flag, I get the error
/bin/ld: Segment size exceeds 64K
when I try to link together the umoria distribution.
I compiled all the sources with
cc -Ml2 -SEG 1024 -O -DUSG -DKEY_BINDINGS=ORIGINAL -c *.c
and linked with
cc -o moria -Ml2 -SEG 1024 -O -DUSG -DKEY_BINDINGS=ORIGINAL *.o -lm
-lcurses -ltermcap
Any help appreciated!
(This is SCO Xenix 2.2.1, compiler 2.1.4 release)
Jay Libove
Arpa: jl42@andrew.cmu.edu Bitnet: jl42@drycas.bitnet
UUCP: ...!{uunet, ucbvax, harvard}!andrew.cmu.edu!jl42
UUCP: ...!{pitt | bellcore} !darth!libove!libove
Disclaimer: I don't tell my employers what I think...