Hi, does the method of crosscompiling as described here https://wiki.debian.org/CrossCompiling work for all deb source packages ??
I've tried (under stretch) to build the mosquitto (MQTT) broker apt-get source mosquitto cd mosquitto* sbuild --host=armhf -d stretch-amd64-sbuild After solving initial problems (had to install qemu in the schroot, so that python2.7-minimal:armhf can be configured)... there's a problem during actual cross-compiling: ==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. Here I understand exactly what the issue is: openssl/opensslconf.h is not in /usr/include/openssl/opensslconf.h but (because of libssl-dev:armhf) /usr/include/arm-linux-gnueabihf/openssl/opensslconf.h !!! So the compiler does not use /usr/include/arm-linux-gnueabihf as search-path. ====Question: Is this a problem in the deb-package regarding multiarch? Or how (else) can the search path for /usr/include/arm-linux-gnueabihf be properly set for sbuild? Thanks. n.