bill@camco.Celestial.COM (Bill Campbell) (10/23/90)
I'm just getting around to updating from patchlevel 18 to patchlevel 27 (don't say I rush into things). My system configuration is: Xenix 2.3.3 xnx085 Language Update gcc and gas I got the following error with 'ld' and cannot figure out where it got the option 'd' to have an unknown option. Any help out there? > ld -r array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o hash.o malloc.o perly.o regcomp.o regexec.o stab.o str.o toke.o util.o perl.o -ldbm -lx -lm -o uperl.o > ld: error unknown option 'd' > *** Error code 1 > > Stop. > Thanks, Bill. -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software UUCP: ...!thebes!camco!bill 6641 East Mercer Way uunet!camco!bill Mercer Island, WA 98040; (206) 947-5591
ronald@robobar.co.uk (Ronald S H Khoo) (10/24/90)
[ I've redirected followups to xenix.sco since this is a xenix issue, and cc'd the mailing list. ] bill@camco.Celestial.COM (Bill Campbell) writes: >> ld -r array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o hash.o malloc.o perly.o regcomp.o regexec.o stab.o str.o toke.o util.o perl.o -ldbm -lx -lm -o uperl.o >> ld: error unknown option 'd' >> *** Error code 1 As a workaround, I think you can say /lib/ldr -o uperl.o $(OBJS) /lib/386/Slibdbm.a /lib/386/Slibx.a \ /lib/386/Slibm.a /usr/local/lib/gcc-gnulib but I haven't yet produced an executable from uperl.o -- curseperl will need hacking to work under xenix, and I got sidetracked between builing uperl.o and trying to make plain perl from it :-) You may need SLS lng#238 to get an adequate /lib/ldr, but I'm not sure. SCO have not yet managed to produce a working ldr -- the lng #238 one core dumps on building groff, and the original one just produces garbage, so you may find that not bothering with uperl.o may well be the way to go. :-( -- ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H)