Subject: linking probs, and more..
To: None <port-pmax@NetBSD.ORG>
From: Eric <eric@lancelot.cif.rochester.edu>
List: port-pmax
Date: 12/14/1996 13:02:17
I've just been pushed headfirst into making netbsd work on my 3100 by the
fact that the magic smoke escaped from my only ultrix disk yesterday. :) 

Anyway, everything looks pretty good except for a couple of things: 

I installed the base.tar.gz and comp.tar.gz from the latest snapshot on
ftp.netbsd.org. After creating crtn.o I can compile and link programs,
but on the linking stage I get many messages that look like: 

ld: write.o: needs all files compiled with -fPIC
ld: write.o: uses different e_flags (0x0) fields than previous modules (0x3)

With a simple hello-world program, the resulting executable still works;
however I tried building tcsh and it compiled with none but the above
errors (probably one for every libc call it uses) and it linked, but the
resulting executable dumps core as soon as it's run. Since gdb doesn't
appear to work, I couldn't find out anything about why. 

Incidentally, does anyone have a working tcsh? 
The ultrix tcsh dies in flaky ways. 

Also, is it yet possible to compile a kernel under pmax/netbsd? Do I
need anything I wouldn't already have if I've been supping current
kernel source from sup.netbsd.org? I'd like to build a kernel that
doesn't ask for its root device on bootup. 

Incidentally, Arne Juul's X11R5 server is working nicely (Xcfb) on this
machine. 

					eric volpe