Latest CVS download won't compile for me

Ron Jobmann RJobmann at Omnitronix.com
Wed Sep 27 18:12:48 UTC 2006


Let's try that again, the attachment didn't load.

 make -C trunk/user/busybox \
top_srcdir=trunk/user/busybox \
top_builddir=trunk/user/busybox \
BUILD_SRC=trunk/user/busybox \
-f trunk/user/busybox/Makefile _all
arm-linux-gcc -Itrunk/user/busybox/include -Itrunk/user/busybox/include
-Itrunk/user/busybox/libbb
-D_GNU_SOURCE -Wall -Wstrict-prototypes -Wshadow -funsigned-char
-fno-builtin-strlen -finline-limit=0
-static-libgcc -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wunused  -Wshadow 
-Wcast-align -DNDEBUG -Os -fstrict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
-Wall -Wstrict-prototypes -Wshadow -funsigned-char -fno-builtin-strlen
-finline-limit=0 
-static-libgcc -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wunused  
-Wshadow -Wcast-align  -Dlinux -g -nostartfiles trunk/lib/crt1.o
trunk/lib/crti.o 
/usr/local/lib/gcc-lib/arm-linux/3.3.2/be//crtbegin.o -Ltrunk/lib 
-Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections -Wl,--warn-common
-Wl,--sort-common 
-Wl,--gc-sections    -o busybox_unstripped -Wl,--start-group     
trunk/user/busybox/applets/applets.a
trunk/user/busybox/archival/archival.a 
trunk/user/busybox/archival/libunarchive/libunarchive.a
trunk/user/busybox/coreutils/coreutils.a 
trunk/user/busybox/console-tools/console-tools.a
trunk/user/busybox/debianutils/debianutils.a 
trunk/user/busybox/editors/editors.a
trunk/user/busybox/findutils/findutils.a trunk/user/busybox/init/init.a 
trunk/user/busybox/miscutils/miscutils.a
trunk/user/busybox/modutils/modutils.a 
trunk/user/busybox/networking/networking.a
trunk/user/busybox/procps/procps.a 
trunk/user/busybox/loginutils/loginutils.a
trunk/user/busybox/shell/shell.a 
trunk/user/busybox/sysklogd/sysklogd.a
trunk/user/busybox/util-linux/util-linux.a 
trunk/user/busybox/libpwdgrp/libpwdgrp.a
trunk/user/busybox/coreutils/libcoreutils/libcoreutils.a 
trunk/user/busybox/libbb/libbb.a  -lcrypt  -Wl,--end-group
trunk/lib/libcrypt.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [busybox_unstripped] Error 1
make[2]: *** [_all] Error 2


[ron at rjlinux]$ arm-linux-nm -D --defined-only lib/libcrypt.so
00000bac T crypt
00000aac W crypt_r
00003784 T encrypt
00003504 W encrypt_r
00000bac W fcrypt
00000000 A GLIBC_2.0
00003824 T setkey
000037a8 W setkey_r
[ron at rjlinux]$              


-----Original Message-----
From: Bernhard Fischer [mailto:rep.nop at aon.at] 
Sent: Wednesday, September 27, 2006 10:54 AM
To: Ron Jobmann
Cc: busybox at busybox.net
Subject: Re: Latest CVS download won't compile for me

On Wed, Sep 27, 2006 at 10:26:43AM -0700, Ron Jobmann wrote:
>
>Thanks for your help.  I did some more searching and found that someone

>with the same problem on an earlier build had to change a CFLAGS 
>definition to look for the correct includes, NOT the ones my system was

>picking up.
>
>But now, I get a linker error at the end:
>
>	LINK busybox_unstripped
>trunk/lib/libcrypt.so: could not read symbols: Invalid operation
>collect2: ld returned 1 exit status
>make[3]: *** [busybox_unstripped] Error 1
>make[2]: *** {_all] Error 2
>
>I know there's nothing wrong with the libraries since they're used to 
>build other apps.
>
>Any ideas?

What does "make V=1" look like when you get that error?
How exactly do you invoke make (resp. how do you specify your
cross-compiler, if you use one)?

do you see crypt() in $(CROSS)nm -D --defined-only trunk/lib/libcrypt.so
or does that throw an error too?



More information about the busybox mailing list