[uClibc]pppd 2.41 uclibc compile/ldd problem

Sean Rima sean at tcob1.net
Sun Sep 22 18:51:05 UTC 2002


Hi folks,

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

 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


Anyone know how I get around this problem.

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