<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 4:25 PM, Ludolf Holzheid <span dir="ltr"><<a href="mailto:lholzheid@bihl-wiedemann.de" target="_blank">lholzheid@bihl-wiedemann.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 2013-08-22 15:44:43 +0100, Laszlo Papp wrote:<br>
> On Thu, Aug 22, 2013 at 3:34 PM, Ludolf Holzheid <<br>
> <a href="mailto:lholzheid@bihl-wiedemann.de">lholzheid@bihl-wiedemann.de</a>> wrote:<br>
><br>
> > On Thu, 2013-08-22 14:43:55 +0100, Laszlo Papp wrote:<br>
> > > Here you can find the log file in question for details:<br>
> > ><br>
> > > [..]<br>
> > ><br>
> > > In file included from /usr//include/features.h:324:0,<br>
> > > � � � � � � � � �from /usr//include/pthread.h:23,<br>
> > > � � � � � � � � �from common.h:158,<br>
> > > � � � � � � � � �from str.c:38:<br>
> > ><br>
> > /home/lpapp/Projects/Yocto/poky-dylan-9.0.1/build/tmp/sysroots/foo/usr/include/bits/predefs.h:23:3:<br>
> > > error: #error "Never use <bits/predefs.h> directly; include<br>
> > <stdc-predef.h><br>
> ><br>
> > Laszlo,<br>
> ><br>
> > Are you sure /usr//include is the right include directory for cross-<br>
> > compiling? �I must confess, I'm not familiar with cross-compiling, but<br>
> > this looks fishy.<br>
> ><br>
><br>
> Most certainly not, but other softwares get it right. I will assume that it<br>
> has something to do with how the Makefile is generated for stunnel. Got a<br>
> clue in that area?<br>
<br>
</div></div>I would try to remove -I/usr//include (and -pedantic) from the<br>
compiler flags, but again, I'm no expert in autoconf and<br>
cross-compiling.<br></blockquote><div><br></div><div>I would not know how to do that inside the stunnel codebase. The problem is not outside because every other software works. The buildsystem is probably hard coding something without the opportunity for downstream to override it. Has stunnel ever been compiled for embedded and ARM with cross-compilation?</div>
</div></div></div>