[uClibc]pppd 2.41 uclibc compile/ldd problem
Sean Rima
sean at tcob1.net
Mon Sep 23 08:05:56 UTC 2002
On Sun, 22 Sep 2002, Erik Andersen verbalised:
>> I am compiling pppd 2.41 using iclibc-cc and it's libcrypt. However
>> I get the error below. I do not want to use the standard libcrypt
>> as I am compiling this for a rescue floppy system
>
> What is "iclibc-cc"?
Umm, called fingers too big for the keyboard, should have been uclibc-cc
>> env CC=/usr/i386-linux-uclibc/usr/bin/i386-uclibc-cc make
>> /usr/i386-linux-uclibc/usr/bin/i386-uclibc-cc -O2 -pipe -Wall -g
>> -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MULTILINK
>> -DHAVE_MMAP -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAS_SHADOW
>> -DPLUGIN -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o
>> chap.o md5.o ccp.o auth.o options.o demand.o utils.o sys-linux.o
>> ipxcp.o multilink.o tdb.o tty.o md4.o chap_ms.o
>> -L../../uClibc-0.9.15/libcrypt/ -lcrypt-0.9.15 -ldl auth.o: In
>> function `plogin': /usr/src/ppp-2.4.1/pppd/auth.c:1153: undefined
>> reference to `getspnam' /usr/src/ppp-2.4.1/pppd/auth.c:1154:
>> undefined reference to `endspent' collect2: ld returned 1 exit
>> status make: *** [pppd] Error 1
>
> It appears the you have not enabled HAS_SHADOW in your
> uClibc Config file. Enable it and recompile uClibc with
> shadow password support.
>
Will do that, thanks for the tip.
Sean
--
Sean Rima http://www.tcob1.net
Linux User: 231986 Jabber: tcobone at jabber.org
THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.
More information about the uClibc
mailing list