Fw: [uClibc] Dropbear compilation troubles w/uClibc

Benny Simonsen benny_bs at mail1.stofanet.dk
Wed Jul 14 10:06:40 UTC 2004


And for the list.

> Hi
>
> It's because zlib is "missing"
> "Dropbear can be compiled if staging_dir/lib/libz* is copyed to
> staging_dir/arm-linux-uclibc/lib, but I guess thats a wrong way to do it"
> Your staging_dir/arm.. is of cource different, but just copy it and I
guess
> it will be fine.
>
> Now I am writing. Would it be an idea with some kind of bugtrace program
> (mantis / bugzilla or ?) for these great tools (uclibc / busybox /
> buildroot)?
>
> Best Regards
> Benny
>
>
> ----- Original Message ----- 
> From: "Nick Jennings"
> To:
> Sent: Wednesday, July 14, 2004 10:59 AM
> Subject: [uClibc] Dropbear compilation troubles w/uClibc
>
>
> Hi All, I am still working on this documentation explaining toolchain and
> buildroot. Making some headway actually, got the toolchain complete, and
> am now working on deciphering the buildroot make/*.mk files for the extra
> packages.
>
>
> Right now I have busybox and tinylogin compiled off the toolchain and
> installed into the to-be 'root' filesystem. I was working on getting
> dropbear
> installed as well but am having trouble with the configure process.
>
>
> First off, I edited the options.h and enabled DROPBEAR_MULTI, then I ran
> 'autoconf' which gave no output. Then I set my environment variables and
ran
> configure and below is the resulting error from configure about a missing
> zlib,even though I have it installed.
>
>
>
> [builder at localhost dropbear-0.42]$
>
PATH=/home/builder/sandbox/toolchain/gcc-3.3.x/toolchain_i386/bin/:$PATH[bui
> lder at localhost dropbear-0.42]$ CFLAGS="-Os"
> [builder at localhost dropbear-0.42]$ export PATH CFLAGS
> [builder at localhost dropbear-0.42]$ which i386-linux-uclibc-gcc
>
/home/builder/sandbox/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-ucli
> bc-gcc[builder at localhost dropbear-0.42]$ ./configure --target=i386-linux
> --host=i386-linux --build=i586-pc-linux-gnu --prefix=/usr
> --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib
> --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var
> --mandir=/usr/man --infodir=/usr/info --disable-nls --with-sharedchecking
> for i386-linux-gcc... i386-linux-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... yes
>
>
> ...<snip>...
>
>
> checking whether __UCLIBC__ is declared... yes
> Using uClibc - login() and logout() probably don't work
> checking for crypt in -lcrypt... yes
> checking for deflate in -lz... no
> configure: error: *** zlib missing - install first or check config.log ***
> [builder at localhost dropbear-0.42]$ rpm -qa zlib*
> zlib1-1.2.1-2mdk
> zlib1-devel-1.2.1-2mdk
> [builder at localhost dropbear-0.42]$
>
>
>
> So zlib1 and zlib1-devel are installed. Is it complaining about it not
being
> in the 'rootfs' or somehow a part of the toolchain? I don't see how that
> could be since in the buildroot Makefile, they seem mutually exclusive.
eg.
> TARGETS is either 'dropbear_sshd' or 'zlib openssl openssh'
>
>
>
>
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
>
>





More information about the uClibc mailing list