[tor-dev] OpenWrt cross compile build error in

Lars Boegild Thomsen lth at reclaim-your-privacy.com
Sun May 24 03:19:43 UTC 2015

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 out it boiled down to a few uses of:

for (int i = 0; ......

Changing those to:

int i;
for (i = 

Fixed the build.

I have attached a patch.

Lars Boegild Thomsen
Jabber/XMPP: lth at reclaim-your-privacy.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150524/481458d4/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 002-fix_syntax.patch
Type: text/x-patch
Size: 1015 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150524/481458d4/attachment.bin>

More information about the tor-dev mailing list