[Buildroot] buildroot openssl compile error

Peter Korsgaard jacmet at uclibc.org
Mon Apr 13 18:03:50 UTC 2009

>>>>> "Brad" == Brad Johnson <bradjohn263 at comcast.net> writes:


 Brad> I am using buildroot to cross-compile an embedded ARM
 Brad> system. Everything else works fine, but I can not get openssl to
 Brad> compile (I am trying to add openssh and it requires openssl and
 Brad> zlib). It can not find zlib.h, although I have zlib1g-dev installed on
 Brad> my build machine (a 386 Ubuntu system).
 Brad> I have tried manually configuring openssl (./Configure
 Brad> --with-zlib-include=/usr/include), with no success.
 Brad> Here is the error I get:

Any special reason why you cannot use dropbear?

Is this with an internal or external toolchain?

There's no -I$(STAGING_DIR)/usr/include in the gcc invocation, so that
probably fails with an external toolchain.

 Brad> /opt/arm-linux/usr/bin/arm-linux-gcc -I.. -I../.. -I../../include
 Brad> CN_H -DTERMIO -O3 -fomit-frame-pointer -Wall   -c -o c_zlib.o c_zlib.c
 Brad> c_zlib.c:25:18: error: zlib.h: No such file or directory

If not, do you have a build_arm/staging_dir/usr/include/zlib.h? Please
post your .config

Bye, Peter Korsgaard

More information about the buildroot mailing list