Building with Musl

Szabolcs Nagy nsz at port70.net
Wed Jul 27 19:30:03 AWST 2016


* Andrew Bainbridge <andbain at microsoft.com> [2016-07-26 11:20:01 +0000]:
> But then I end up with a error message from line 30 of 
> /usr/include/arm-linux-gnueabihf/bits/types.h. The compiler 
> complains about the keyword "typedef". The previous line was

this is your problem:
you are using a glibc based cross compiler.
use a musl cross compiler (arm-linux-musleabihf).
or make sure that the glibc headers are not
in the include path at all.

the simplest way to get a musl cross compiler is

git clone https://github.com/richfelker/musl-cross-make
cd musl-cross-make
# optionally edit config.mak
make -j8 TARGET=arm-linux-musleabihf install


More information about the Dropbear mailing list