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

List:       busybox
Subject:    Re: Latest CVS download won't compile for me
From:       Bernhard Fischer <rep.nop () aon ! at>
Date:       2006-09-27 19:07:32
Message-ID: 20060927190732.GB6204 () aon ! at
[Download RAW message or body]

On Wed, Sep 27, 2006 at 11:12:48AM -0700, Ron Jobmann wrote:
>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

You don't happen to have both ./trunk/lib/libcrypt.so and
./lib/libcrypt.so, no?

what's your
find ./ -name "libcrypt*" -exec file {} \;

Perhaps also try to link it by hand (add -v and -Wl,--verbose), then try
to specify the full path to the .so instead of letting the tools find
it.
Also, to rule out that that is a problem, add -fPIC and recompile, i'd
say.

HTH,
>
>
>[ron@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@rjlinux]$              
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

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