Fix strace 4.5.19 for crosstool-ng
Joachim Nilsson
jocke@vmlinux.org
Fri Jan 1 10:44:00 GMT 2010
Hi Yann!
Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers. Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.
With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment. Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:
[EXTRA] Building strace
[ERROR] /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR] make[2]: *** [net.o] Error 1
[ERROR] make[1]: *** [all] Error 2
The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.
Bonne Année!
/Joachim
[1] -
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 160-fix-check-for-linux-netlink.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100101/364d7a66/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 170-update-configure.patch
Type: text/x-patch
Size: 4616 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100101/364d7a66/attachment-0001.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list