[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Busybox 0.60.5 build error
From:       <HankH () telepaq ! com>
Date:       2004-04-28 8:34:54
Message-ID: 000c01c42cfb$aeaa5b30$88011fac () telepaq ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear all,

I encountered some errors while building Busybox-0.60.5.
I'm using Redhat 9 as the host.
The target is arm.
The cross-compiler suite includes 
cross-armv4l-gcc-2.95.2,
cross-armv4l-glibc-2.2.1,
cross-armv4l-binutils-2.10.

The error msgs are shown below.
Any idea?

Hank

/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x64): undefined \
                reference to `_nss_files_getaliasent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x6c): undefined \
                reference to `_nss_files_endaliasent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x74): undefined \
                reference to `_nss_files_setaliasent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x7c): undefined \
                reference to `_nss_files_getaliasbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x84): undefined \
                reference to `_nss_files_getetherent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x8c): undefined \
                reference to `_nss_files_endetherent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x94): undefined \
                reference to `_nss_files_setetherent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x9c): undefined \
                reference to `_nss_files_getgrent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xa4): undefined \
                reference to `_nss_files_endgrent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xac): undefined \
                reference to `_nss_files_setgrent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xb4): undefined \
                reference to `_nss_files_getgrgid_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xbc): undefined \
                reference to `_nss_files_getgrnam_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xc4): undefined \
                reference to `_nss_files_gethostent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xcc): undefined \
                reference to `_nss_files_endhostent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xd4): undefined \
                reference to `_nss_files_sethostent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xdc): undefined \
                reference to `_nss_files_gethostbyaddr_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xe4): undefined \
                reference to `_nss_files_gethostbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xec): undefined \
                reference to `_nss_files_gethostton_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xf4): undefined \
                reference to `_nss_files_getntohost_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xfc): undefined \
                reference to `_nss_dns_gethostbyaddr_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x104): undefined \
                reference to `_nss_dns_gethostbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x10c): undefined \
                reference to `_nss_dns_gethostbyname2_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x114): undefined \
                reference to `_nss_files_getnetgrent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x11c): undefined \
                reference to `_nss_files_endnetgrent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x124): undefined \
                reference to `_nss_files_setnetgrent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x12c): undefined \
                reference to `_nss_files_getnetent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x134): undefined \
                reference to `_nss_files_endnetent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x13c): undefined \
                reference to `_nss_files_setnetent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x144): undefined \
                reference to `_nss_files_getnetbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x14c): undefined \
                reference to `_nss_files_getnetbyaddr_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x154): undefined \
                reference to `_nss_dns_getnetbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x15c): undefined \
                reference to `_nss_dns_getnetbyaddr_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x164): undefined \
                reference to `_nss_files_getprotoent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x16c): undefined \
                reference to `_nss_files_endprotoent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x174): undefined \
                reference to `_nss_files_setprotoent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x17c): undefined \
                reference to `_nss_files_getprotobyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x184): undefined \
                reference to `_nss_files_getprotobynumber_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x18c): undefined \
                reference to `_nss_files_getpwent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x194): undefined \
                reference to `_nss_files_endpwent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x19c): undefined \
                reference to `_nss_files_setpwent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1a4): undefined \
                reference to `_nss_files_getpwnam_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1ac): undefined \
                reference to `_nss_files_getpwuid_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1b4): undefined \
                reference to `_nss_files_getrpcent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1bc): undefined \
                reference to `_nss_files_endrpcent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1c4): undefined \
                reference to `_nss_files_setrpcent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1cc): undefined \
                reference to `_nss_files_getrpcbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1d4): undefined \
                reference to `_nss_files_getrpcbynumber_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1dc): undefined \
                reference to `_nss_files_getservent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1e4): undefined \
                reference to `_nss_files_endservent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1ec): undefined \
                reference to `_nss_files_setservent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1f4): undefined \
                reference to `_nss_files_getservbyname_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1fc): undefined \
                reference to `_nss_files_getservbyport_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x204): undefined \
                reference to `_nss_files_getspent_r'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x20c): undefined \
                reference to `_nss_files_endspent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x214): undefined \
                reference to `_nss_files_setspent'
/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x21c): undefined \
                reference to `_nss_files_getspnam_r'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.3813.800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><STRONG><FONT face="Times New Roman">Dear all,</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT face="Times New Roman">I encountered&nbsp;some errors while 
building Busybox-0.60.5.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Times New Roman">I'm using&nbsp;Redhat 9 as the 
host.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Times New Roman">The target is 
arm.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Times New Roman">The cross-compiler suite&nbsp;includes 
</FONT></STRONG></DIV>
<DIV><STRONG><FONT 
face="Times New Roman">cross-armv4l-gcc-2.95.2,</FONT></STRONG></DIV>
<DIV><STRONG><FONT 
face="Times New Roman">cross-armv4l-glibc-2.2.1,</FONT></STRONG></DIV>
<DIV><STRONG><FONT 
face="Times New Roman">cross-armv4l-binutils-2.10.</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT face="Times New Roman">The error msgs are shown 
below.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Times New Roman">Any idea?</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT face="Times New Roman">Hank</FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT 
face="Times New Roman">/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x64): \
 undefined reference to 
`_nss_files_getaliasent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x6c): \
 undefined reference to 
`_nss_files_endaliasent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x74): \
 undefined reference to 
`_nss_files_setaliasent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x7c): \
 undefined reference to 
`_nss_files_getaliasbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x84): \
 undefined reference to 
`_nss_files_getetherent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x8c): \
 undefined reference to 
`_nss_files_endetherent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x94): \
 undefined reference to 
`_nss_files_setetherent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x9c): \
 undefined reference to 
`_nss_files_getgrent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xa4): \
 undefined reference to 
`_nss_files_endgrent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xac): \
 undefined reference to 
`_nss_files_setgrent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xb4): \
 undefined reference to 
`_nss_files_getgrgid_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xbc): \
 undefined reference to 
`_nss_files_getgrnam_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xc4): \
 undefined reference to 
`_nss_files_gethostent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xcc): \
 undefined reference to 
`_nss_files_endhostent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xd4): \
 undefined reference to 
`_nss_files_sethostent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xdc): \
 undefined reference to 
`_nss_files_gethostbyaddr_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xe4): \
 undefined reference to 
`_nss_files_gethostbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xec): \
 undefined reference to 
`_nss_files_gethostton_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xf4): \
 undefined reference to 
`_nss_files_getntohost_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0xfc): \
 undefined reference to 
`_nss_dns_gethostbyaddr_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x104): \
 undefined reference to 
`_nss_dns_gethostbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x10c): \
 undefined reference to 
`_nss_dns_gethostbyname2_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x114): \
 undefined reference to 
`_nss_files_getnetgrent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x11c): \
 undefined reference to 
`_nss_files_endnetgrent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x124): \
 undefined reference to 
`_nss_files_setnetgrent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x12c): \
 undefined reference to 
`_nss_files_getnetent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x134): \
 undefined reference to 
`_nss_files_endnetent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x13c): \
 undefined reference to 
`_nss_files_setnetent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x144): \
 undefined reference to 
`_nss_files_getnetbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x14c): \
 undefined reference to 
`_nss_files_getnetbyaddr_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x154): \
 undefined reference to 
`_nss_dns_getnetbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x15c): \
 undefined reference to 
`_nss_dns_getnetbyaddr_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x164): \
 undefined reference to 
`_nss_files_getprotoent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x16c): \
 undefined reference to 
`_nss_files_endprotoent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x174): \
 undefined reference to 
`_nss_files_setprotoent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x17c): \
 undefined reference to 
`_nss_files_getprotobyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x184): \
 undefined reference to 
`_nss_files_getprotobynumber_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x18c): \
 undefined reference to 
`_nss_files_getpwent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x194): \
 undefined reference to 
`_nss_files_endpwent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x19c): \
 undefined reference to 
`_nss_files_setpwent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1a4): \
 undefined reference to 
`_nss_files_getpwnam_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1ac): \
 undefined reference to 
`_nss_files_getpwuid_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1b4): \
 undefined reference to 
`_nss_files_getrpcent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1bc): \
 undefined reference to 
`_nss_files_endrpcent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1c4): \
 undefined reference to 
`_nss_files_setrpcent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1cc): \
 undefined reference to 
`_nss_files_getrpcbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1d4): \
 undefined reference to 
`_nss_files_getrpcbynumber_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1dc): \
 undefined reference to 
`_nss_files_getservent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1e4): \
 undefined reference to 
`_nss_files_endservent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1ec): \
 undefined reference to 
`_nss_files_setservent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1f4): \
 undefined reference to 
`_nss_files_getservbyname_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x1fc): \
 undefined reference to 
`_nss_files_getservbyport_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x204): \
 undefined reference to 
`_nss_files_getspent_r'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x20c): \
 undefined reference to 
`_nss_files_endspent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x214): \
 undefined reference to 
`_nss_files_setspent'<BR>/opt/host/armv4l/armv4l-unknown-linux/lib/libc.a(nsswitch.o)(.data+0x21c): \
 undefined reference to `_nss_files_getspnam_r'<BR>collect2: ld returned 1 exit 
status<BR>make: *** [busybox] Error 1<BR></FONT></STRONG></DIV></BODY></HTML>



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic