Subject: Linking programs using NetBSD/Sparc
To: None <port-sparc@sun-lamp.cs.berkeley.edu>
From: Per Andersson <ppan@celsiustech.se>
List: port-sparc
Date: 02/13/1994 18:57:31
Hi.
I installed NetBSD-0.9a/sparc this Monday, but I have trouble compiling
programs, at least dynamically linked ones. I have tried rebuilding the
C library, but that didn't help. Anybody reecognize these errors and have
a clue ? (I don't). Otherwise NetBSD om sparc looks real good !
gcc -Wall -B/bin/ -o tcsh -O2 -I. -I.. {lots of .o-files}
tc.str.o tc.vers.o tc.who.o -ltermcap -lcrypt
ld: sh.o: RRS text relocation at 0x2b08 for "_open"
ld: sh.o: RRS text relocation at 0x2b30 for "_close"
ld: sh.o: RRS text relocation at 0x2c3c for "_getuid"
ld: sh.o: RRS text relocation at 0x2c50 for "_getgid"
ld: sh.o: RRS text relocation at 0x2c64 for "_geteuid"
{many more of these}
ld: /usr/lib/libtermcap.a(termcap.o): RRS text relocation at 0x3e784 for "_strcpy"
ld: /usr/lib/libcrypt.a(crypt.o): RRS text relocation at 0x3f07c for ".rem"
ld: /usr/lib/libcrypt.a(crypt.o): RRS text relocation at 0x3f164 for ".rem"
ld: /usr/lib/libgcc.a(_udivmoddi4.o): RRS text relocation at 0x3f8f0 for ".udiv"
ld: /usr/lib/libgcc.a(_exit.o): RRS text relocation at 0x401b4 for "__cleanup"
ld: /usr/lib/libgcc.a(_exit.o): RRS text relocation at 0x401bc for "__exit"
gcc: file path prefix `/bin/' never used
--SAA29777.761162116/world.celsiustech.se--
------------------------------------------------------------------------------