[Buildroot] can't develope any programs using ssl in the root
Ming-Ching Tiew
mingching.tiew at redtone.com
Fri Jan 25 01:02:35 UTC 2008
From: "Hamish Moffatt" <hamish at cloud.net.au>
> > >
> > > configure:12791: checking for SSLeay
> > > configure:12833: result: /usr
> > > configure:12845: checking for DES_cbc_encrypt in -lcrypto
> > > configure:12875: gcc -o conftest -DINET6 -g -O2 -L/usr/lib conftest.c
> > > -lcrypto ./../libpcap-0.9.5/libpcap.a >&5
> [...]
> >
> > I have found a workaround for it, I delete the entire
> >
> > /usr/lib/gcc/i686-linux-uclibc/4.2.0/include/openssl/
> >
> > Looks to me like a bug. Since I can proceed now, I am staying with
> > this for a while.
>
> From your config.log snippet it appears that configure is using your
> native gcc (not the cross-compiler), which is using headers from
> /usr. That looks like a bug, either in the configure script or in the
> relevant .mk files for programs that use OpenSSL.
>
No, not quite. The config.log is obtained from the chroot to the
rootfs, and the so-called native gcc, is the gcc compiled from the
cross compiler, there is no cross compilers involved.
Regards.
More information about the buildroot
mailing list