Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!andante!alice!debra From: debra@alice.UUCP (Paul De Bra) Newsgroups: comp.unix.xenix Subject: Re: PCOMM compile woes: Has this happened to You??? Keywords: pcomm, sco xenix Message-ID: <8292@alice.UUCP> Date: 12 Oct 88 14:24:00 GMT References: <25438@teknowledge-vaxc.ARPA> Reply-To: debra@alice.UUCP () Organization: AT&T, Bell Labs Lines: 35 (Russ Rodriguez) writes: >Hello there, Xenix Development System Hackers (SCO V2.2.1). I have the >following nasty error message when compiling PCOMM V1.1 with patches >1-4 faithfully applied. When I run the makefile, all the subprograms >compile without error, but when run thru the linker, I get the message >listed below... > >cc -SEG 1000 -F 5000 -M2l admin.o chg_dir.o ... -ltermcap -lcurses > >Fixup overflow near 008b in segment PREPROC_TEXT in /lib/Llibc.a(signal.o) > offset 262d8H > >*** Error code 1 > >Stop. Ah yes, my favorite SCO bug !!! Here's the kludge to get around it: 1) extract signal.o from /lib/Llibc.a ("ar x /lib/Llibc.a signal.o") 2) compile the program again, but put signal.o in there as the first .o file ("cc -SEG 1000 -F 5000 -M2l signal.o admin.o chg_dir.o ... -lcurses") I encountered this problem several times before, when using signals in large programs (not that curses stuff uses signals). This fix always worked for me. Hope it solves your problem. Paul. -- |-------------------------- |debra@research.att.com | |uunet!research!debra | |--------------------------