Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Lars Boegild Thomsen
On Sunday 24 May 2015 18:41:33 Zack Weinberg wrote: > I see -std=c99 in there, not -std=gnu99. > If -std=gnu99 does not work, try adding -D_GNU_SOURCE=1 or > -D_XOPEN_SOURCE=700. If neither of those work, root around in > uClibc's header files for other macros named _SOMETHING_SOURCE to try. Ah,

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Zack Weinberg
On Sun, May 24, 2015 at 6:32 PM, Lars Boegild Thomsen wrote: > On Sunday 24 May 2015 20:32:41 Ondrej Mikle wrote: >> There is also patchless way by adding "-std=gnu99" to CFLAGS (aside from C99 >> it >> enables GNU extensions needed for compiling against uClibc on OpenWrt). > > Read my first mess

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Ondrej Mikle
On 05/25/2015 12:32 AM, Lars Boegild Thomsen wrote: > On Sunday 24 May 2015 20:32:41 Ondrej Mikle wrote: >> There is also patchless way by adding "-std=gnu99" to CFLAGS (aside from C99 >> it >> enables GNU extensions needed for compiling against uClibc on OpenWrt). > > Read my first message with

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Lars Boegild Thomsen
On Sunday 24 May 2015 20:32:41 Ondrej Mikle wrote: > There is also patchless way by adding "-std=gnu99" to CFLAGS (aside from C99 > it > enables GNU extensions needed for compiling against uClibc on OpenWrt). Read my first message with this topic. That was my very first attempt. Unfortunately

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Nick Mathewson
On Sun, May 24, 2015 at 2:32 PM, Ondrej Mikle wrote: > On 05/24/2015 05:19 AM, Lars Boegild Thomsen wrote: >> On Friday 22 May 2015 09:20:29 Shawn Nock wrote: >>> Will you post the Makefile for the buildroot package? >> >> Sorry guys, I sorted this one out. The culprit was actually my added >> -

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-24 Thread Ondrej Mikle
On 05/24/2015 05:19 AM, Lars Boegild Thomsen wrote: > On Friday 22 May 2015 09:20:29 Shawn Nock wrote: >> Will you post the Makefile for the buildroot package? > > Sorry guys, I sorted this one out. The culprit was actually my added > -std=c99 that made lots of other stuff break. Taking that ou

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-23 Thread Lars Boegild Thomsen
On Friday 22 May 2015 09:20:29 Shawn Nock wrote: > Will you post the Makefile for the buildroot package? Sorry guys, I sorted this one out. The culprit was actually my added -stdÉ9 that made lots of other stuff break. Taking that out it boiled down to a few uses of: for (int i = 0; .. Ch

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-22 Thread Lars Boegild Thomsen
On Friday 22 May 2015 09:20:29 Shawn Nock wrote: > Will you post the Makefile for the buildroot package? Sure - attached. The TARGET_CFLAGS += -stdÉ9 was added for this version - it was not necessary in the previous version. -- Lars Boegild Thomsen https://reclaim-your-privacy.com Jabber/XMPP:

Re: [tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-22 Thread Shawn Nock
Lars Boegild Thomsen writes: > Hi Everybody, > > I have for a while been maintaining an up-to-date Tor package for > OpenWrt. In the latest stable 0.2.6.8 I get a build error (see > below). > > I suspect this is actually autoconf related and I must admit I am not > too familiar with autoconf. I

[tor-dev] OpenWrt cross compile build error in 0.2.6.8

2015-05-21 Thread Lars Boegild Thomsen
Hi Everybody, I have for a while been maintaining an up-to-date Tor package for OpenWrt. In the latest stable 0.2.6.8 I get a build error (see below). I suspect this is actually autoconf related and I must admit I am not too familiar with autoconf. I have been trying to compare things with 0