Subject: Re: Shared Libs
To: None <port-pc532@NetBSD.ORG>
From: Jon Buller <jonb@ons.octel.com>
List: port-pc532
Date: 01/18/1995 08:28:27
> Did you fix /usr/src/share/mk/bsd.own.mk or /usr/share/mk/bsd.own.mk?
> If you have fixed /usr/src/share/mk/bsd.own.mk, you have to install it.
> I'm really sure it should try to build libcurses.so.?.? if you have
> fixed bsd.own.mk.

I fixed /usr/share/mk/bsd.own.mk  (but when I read this, I fixed
/usr/src/share/mk/bsd.own.mk as well.

The last 3 lines of both files now read:
.if (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "alpha")
NOPIC=
.endif

then I did the following:
cd /usr/src/lib/csu/ns32k
#checked makefile
make clean; make; make install
cd /usr/src/gnu/usr.bin/ld
make clean; make

and the final lines of the make output are:
ld -o ld.so -Bshareable -Bsymbolic -assert nosymbolic mdprologue.o \
   rtld.o malloc.o shlib.o etc.o md.o -lc_pic
ld: -lc_pic: no match
*** Error code 1

I wasn't getting this error before.  Now, I think I'm stuck.

Jon Buller