[uClibc]linker errors!

powell molleti powelllinux at yahoo.com
Mon Feb 11 17:31:50 UTC 2002


Hi,
 Thank a lot erik.

cya
powell
--- Erik Andersen <andersen at codepoet.org> wrote:
> On Mon Feb 11, 2002 at 02:24:02AM -0800, powell
> molleti wrote:
> >  uclibc. I tried tinylogin snapshot from
> uclibc.org
> > and
> >  it broke as follows:
> >  
> >  login.o: In function `login_main':
> > login.o(.text+0x447): undefined reference to
> `getspnam'
> > login.o(.text+0x756): undefined reference to
> `endspent'
> > passwd.o: In function `passwd_main':
> 
> Sigh.  This is starting to be an FAQ entry.  uClibc
> provides
> shadow support, but has it disabled by default. 
> tinylogin
> defaults to using the system's shadow support, but
> can provide
> its own.  You need to either enable shadow support
> in tinylogin
> (by editing the Makefile), or you need to enable it
> in uClibc
> (by editing your uClibc Config file).
> 
> >  And bash also breaks right at the start of 
> >  compilation as: 
> > 
> > /tmp/ccFHvfuQ.o: In function `main':
> > /tmp/ccFHvfuQ.o(.text+0x723): undefined reference
> to `fopen64'
> > collect2: ld returned 1 exit status
> > make: *** [mksyntax] Error 1
> 
> Bash wants to use large file support, but you have
> not enabled
> large file support in uClibc.  Edit your uClibc
> Config file and
> enable DOLFS, recompile, reinstall, and bash should
> work
> (assuming you have already compiled all needed
> libraries vs
> uClibc),
> 
>  -Erik
> 
> --
> Erik B. Andersen            
> http://codepoet-consulting.com/
> --This message was written using 73% post-consumer
> electrons--
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



More information about the uClibc mailing list