[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Strace fails to build with newer GCC toolchains
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Strace fails to build with newer GCC toolchains |
Date: |
Sat, 03 Mar 2012 12:24:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
Hi Peter,
Committed to CVS/GPP without modification.
Thanks again, Stuart
On 28/02/12 08:40, Stuart Hughes wrote:
> Hi Peter,
>
> Thanks for the patch, I'll get this added as soon as I get time.
>
> Regards, Stuart
>
>
> On 27/02/12 19:56, Peter Barada wrote:
>> When building strace-4.5.14 using CodeSourcery 2011.06-70 for ARM
>> (gcc-4.6.1) it fails with:
>>
>> if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/arm -I./linux/arm -Ilinux
>> -I./linux -Wall -g -O2 -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o
>> net.o net.c; \
>> then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f
>> ".deps/net.Tpo"; exit 1; fi
>> if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/arm -I./linux/arm -Ilinux
>> -I./linux -Wall -g -O2 -MT process.o -MD -MP -MF ".deps/process.Tpo"
>> -c -o process.o process.c; \
>> then mv -f ".deps/process.Tpo" ".deps/process.Po"; else rm -f
>> ".deps/process.Tpo"; exit 1; fi
>> net.c: In function 'printsock':
>> net.c:957:22: error: field 'nl' has incomplete type
>> make[1]: *** [net.o] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>>
>> This is due to configured errantly using<linux/socket.h> instead of
>> <sys/socket.h>; details at:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560516
>>
>> The attached patch fixes this issue (and still builds on CodeSourcery
>> 2009q1-203 (gcc-4.3.3))...
>>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Ltib] Strace fails to build with newer GCC toolchains,
Stuart Hughes <=