* Oscar Bonilla <[EMAIL PROTECTED]> [000310 16:00] wrote:
> On Fri, Mar 10, 2000 at 03:27:37PM -0800, Alfred Perlstein wrote:
> > I think you'll want LD_LIBRARY_PATH to be:
> > /home/obonilla/freebsd/nss/libc/:/usr/lib:/usr/local/lib
> 
> I don't see why since the only library I use is libc. Anyway, I tried
> just for kicks and still got the same error.
> 
> $ echo $LD_LIBRARY_PATH
> /home/obonilla/freebsd/nss/libc:/usr/lib:/usr/local/lib
> $ echo $LD_PRELOAD 
> /home/obonilla/freebsd/nss/libc/libc.so.4
> $ make
> cc -g -DYP -DFreeBSD -Wall -pedantic -ansi -o nss-test -I../../libc/include 
>nss-test.c
> /tmp/ccE93722.o: In function `main':
> /home/obonilla/freebsd/nss/tests/libc/nss-test.c(.text+0xb0): undefined reference to 
>`nsdispatch'
> *** Error code 1
> 
> Stop in /usr/home/obonilla/freebsd/nss/tests/libc.
> 
> > please use the dynamic, it's a hell of a lot easier.
> 
> sure, as soon as it works I'll use it ;)

It seems to be working just fine, I suspect that there's something wrong
with your code and you're referencing a function that somehow is not
being compiled into libc:

~ % nm /usr/lib/libc.a | grep nsdispatch
~ % 

is this a function you've added?  Are you _sure_ it's being
compiled into the libc you're making?

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to