[uClibc]sysvinit

Simon Posnjak simon.posnjak at siol.net
Wed Aug 28 15:00:36 UTC 2002


On Wed, 2002-08-28 at 16:30, jimis at gmx.net wrote:
> While the rest of the tools (init, halt, runlevel, shutdown, killall5) 
> compile perfectly, while compiling sulogin I get the following:
> 
> /usr/i386-linux-uclibc/bin/i386-uclibc-gcc -s  -o sulogin sulogin.o -lcrypt
> sulogin.o: In function `getrootpwent':
> sulogin.o(.text+0x3e9): undefined reference to `getspnam'
> collect2: ld returned 1 exit status
> make: *** [sulogin] Error 1
> 
> 
> I suppose that the problem is with libcrypt since it is the only program 
> that uses it.

You should recompile uclib with shadow passwords turnd on
(--shadow=true) and evrything will work fine.

	Regards Simon

-- 
Simon Posnjak
http://klada.dyndns.org




More information about the uClibc mailing list