.hgignore
author Joachim Nilsson <jocke@vmlinux.org>
Fri Jan 01 12:17:39 2010 +0100 (2010-01-01)
changeset 1671 08a5129e6eb0
child 2133 804a8f6d286a
permissions -rw-r--r--
debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels

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.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
yann@1412
     1
syntax: glob
yann@1412
     2
yann@1412
     3
# Generated files
yann@1412
     4
Makefile
yann@1412
     5
ct-ng
yann@1412
     6
docs/ct-ng.1
yann@1412
     7
docs/ct-ng.1.gz
yann@1412
     8
paths.mk
yann@1412
     9
scripts/crosstool-NG.sh
yann@1412
    10
scripts/saveSample.sh
yann@1412
    11
scripts/showTuple.sh
yann@1412
    12
yann@1412
    13
# Temporaries
yann@1412
    14
.*.swp
yann@1412
    15
log.*
yann@1412
    16
yann@1412
    17
# Working files
yann@1412
    18
kconfig/conf
yann@1412
    19
kconfig/mconf
yann@1412
    20
kconfig/**.o
yann@1412
    21
kconfig/**.dep
yann@1412
    22
config.gen/
yann@1412
    23
.config
yann@1412
    24
.config.old
yann@1412
    25
targets/