Re: Building with Musl

2016-07-26 Thread Matt Johnston
Hi Andrew, I suspect Dropbear itself needs fixing, your workaround sounds fine for now. The configure script should probably just test for HAVE_LINUX_TYPES_H or similar and the required #defines. I'll look at it. Cheers, Matt #ifdef SO_PRIORITY #include #include #endif > On Tue 26/7/2016

Re: Building with Musl

2016-07-26 Thread Alexander Dahl
Hei hei, Am 2016-07-26 14:34, schrieb Szabolcs Nagy: > note that there are several musl libc based linux distros > that package dropbear e.g. > http://git.alpinelinux.org/cgit/aports/plain/main/dropbear/ Which does not cross compile AFAIK. ;-) > some of them cross compile like openwrt so you mig

Re: Building with Musl

2016-07-26 Thread Szabolcs Nagy
* Andrew Bainbridge [2016-07-26 11:20:01 +]: > Andrew Bainbridge microsoft.com> writes: > > My embedded device is running Linux 3.4.0. I couldn't find > a package of kernel 3.4.0 kernel headers available on > Raspbian package manager, so I installed the nearest, which > was linux-headers-3

Re: Building with Musl

2016-07-26 Thread Andrew Bainbridge
Andrew Bainbridge microsoft.com> writes: My embedded device is running Linux 3.4.0. I couldn't find a package of kernel 3.4.0 kernel headers available on Raspbian package manager, so I installed the nearest, which was linux-headers-3.6-trunk-rpi. Already, I can see myself falling into a rabbit

RE: Building with Musl

2016-07-26 Thread Andrew Bainbridge
Konstantin Tokarev wrote: > Kernel headers are not installed, or compiler does not pick them up. Ah that was the clue I needed, thanks. I'm new at any kind of non-standard compiling on Linux. I didn't know linux/types.h was a kernel header. That tells me that my hope of building on a Pi running

Re: Building with Musl

2016-07-26 Thread Konstantin Tokarev
26.07.2016, 12:46, "Andrew Bainbridge" : > Hi all > > Are there any instructions on how to build Dropbear with Musl (an alternative > libc)? There's a brief mention of it on the Dropbear homepage, but nothing in > INSTALL. > > I'm building on a Raspberry Pi 3, running Raspbian 8 (Jesse). I'm at

Building with Musl

2016-07-26 Thread Andrew Bainbridge
Hi all Are there any instructions on how to build Dropbear with Musl (an alternative libc)? There's a brief mention of it on the Dropbear homepage, but nothing in INSTALL. I'm building on a Raspberry Pi 3, running Raspbian 8 (Jesse). I'm attempting to build a dbclient that will run on a slight