[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sbuild crosscompiler not searching /usr/include/arm-linux-gnueabihf



On Wed, Sep 16, 2015 at 10:29 AM, nice sw123 wrote:
> [...] mosquitto
>
> ==ERROR-message
> cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -D_FORTIFY_SOURCE=2 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK
> -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c mosquitto.c -o mosquitto.o
> In file included from /usr/include/openssl/ssl.h:146:0,
>                  from ./mosquitto_internal.h:27,
>                  from mosquitto.c:33:
> /usr/include/openssl/e_os2.h:56:33: fatal error:
> openssl/opensslconf.h: No such file or directory
> compilation terminated.
>

I should perhaps quote a bit more of the (failed) build-output:

dpkg-buildpackage: source package mosquitto
dpkg-buildpackage: source version 1.4.3-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Roger A. Light <roger@atchoo.org>
dpkg-architecture: warning: specified GNU system type
arm-linux-gnueabihf does not match gcc system type x86_64-linux-gnu,
try setting a correct CC environment variable
 dpkg-source --before-build mosquitto-1.4.3
dpkg-buildpackage: host architecture armhf

Does this support my suspicion, that the source deb package, might
need some fixup? (any examples? diff or suggestions)
Or can we work around this some other way?

Thanks.


Reply to: