RTEMS Source Builder build error

Alan Cudmore alan.cudmore at gmail.com
Thu Aug 29 11:17:12 UTC 2013

Just adding my experience:
I tried to build a mingw arm-rtems4.11 compiler on cygwin using source 
builder. I was not able to get it to work until I created a brand new 
Windows 7 virtual machine and just installed cygwin.

Whatever combination of software I have on my main Windows 7 laptop kept 
the build from completing.

Right now, I'm happy to use the Chris's mingw compiler that he cross 
compiled on FreeBSD.


On 8/29/2013 12:39 AM, Chris Johns wrote:
> ruizx wrote:
>> Hi all,
>> I try to build 4.11 rtems-powerpc cross compiler in Cygwin.
>> When compiling expat, the error occoured.
>> examples/.libs/lt-elements.c: In function 'main':
>> examples/.libs/lt-elements.c:315:3: warning: implicit declaration of 
>> function '_spawnv' [-Wimplicit-function-declaration]
>> examples/.libs/lt-elements.c:315:19: error: '_P_WAIT' undeclared 
>> (first use in this function)
>> examples/.libs/lt-elements.c:315:19: note: each undeclared identifier 
>> is reported only once for each function it appears in
>> The compile command is
>> ../source-builder/sb-set-builder --log=l-powerpc.txt 
>> --prefix=$HOME/development/rtems/4.11 4.11/rtems-powerpc
>> I find this mail form gnu described the same error, but the method is 
>> not usable.
>> http://lists.gnu.org/archive/html/libtool/2008-12/msg00056.html
>> Anyone meet this error? How to solve it?
> I have not seen this error. I have not been building in Cygwin for a 
> while because I could not get it to be stable enough to build all the 
> tools.
> As a test can you add '-nno-cygwin' to the optflags in 
> source-builder/sb/defaults.mc ? I have no idea what effects this will 
> have on the build.
> Chris
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users

More information about the users mailing list