[uClibc] dropbear 0.46 + uClibc 0.9.26

Andre Henrique Campos cahenan at gmail.com
Wed Jul 27 17:47:16 UTC 2005


Hi,

I get the below errors when compiling dropbear 0.46 with uClibc 0.9.26
(I listed only the last lines)

/mnt/hda2/build/toolchain/bin/../i586-pc-linux-uclibc/lib/libcrypt.a(md5.o)(.text+0x5dc):
In function `__md5_crypt':
: undefined reference to `strlen'
/mnt/hda2/build/toolchain/bin/../i586-pc-linux-uclibc/lib/libcrypt.a(md5.o)(.text+0x65d):
In function `__md5_crypt':
: undefined reference to `memset'
make: *** [multibinary] Error 1

The used commands had been:
export CC=i586-pc-linux-uclibc-gcc 
export CFLAGS="-Os -ffunction-sections -fdata-sections"
export LDFLAGS="/mnt/hda2/build/zlib-1.2.2/libz.a"

cd $BUILD/dropbear* && \
./configure --host=i586-pc-linux-uclibc --disable-utmp --disable-utmpx
--disable-wtmp --disable-wtmpx --disable-pututline
--disable-pututxline --disable-openpty --disable-lastlog
--disable-shadow --with-zlib="/mnt/hda2/build/zlib-1.2.2" && \
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
STATIC=1 MULTI=1 && \
make strip && \
exit 0

Thanks,
Andre



More information about the uClibc mailing list