Subject: Re: Undefined symbol ""
To: Martin Husemann <martin@duskware.de>
From: Hans Petter Selasky <hselasky@c2i.net>
List: tech-kern
Date: 02/12/2006 11:30:36
On Saturday 11 February 2006 18:44, Martin Husemann wrote:
> On Sat, Feb 11, 2006 at 05:09:42PM +0100, Hans Petter Selasky wrote:
> > sparc64: {72} capitest
> > /usr/lib/libcapi20.so.2: Undefined symbol "" (symnum = 9)
>
> All errors of this kind that I've ever seen were caused by objects linked
> into shared libraries that had not been compiled with proper -fPIC options.
I tried playing with different variable += -fPIC, but it didn't work.
What should I add to the following Makefiles, to have "capitest" linked to
"libcapi20" ?
http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/usr.sbin/i4b/capitest/Makefile
http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/lib/libcapi20/Makefile
Thanks,
--HPS