Package: linux-kernel-headers Version: 2.5.999-test7-bk-15 Severity: normal
Hi, on compiling valgrind-2.10 I get: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -DVG_LIBDIR="\"/usr/local/lib"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -fpic -fno-omit-frame-pointer -MT vg_intercept.o -MD -MP -MF ".deps/vg_intercept.Tpo" \ -c -o vg_intercept.o `test -f 'vg_intercept.c' || echo './'`vg_intercept.c; \ then mv -f ".deps/vg_intercept.Tpo" ".deps/vg_intercept.Po"; \ else rm -f ".deps/vg_intercept.Tpo"; exit 1; \ fi In file included from vg_intercept.c:63: /usr/include/asm/ipc.h:10: error: field `__user' has incomplete type /usr/include/asm/ipc.h:10: error: parse error before '*' token /usr/include/asm/ipc.h:12: error: parse error before '}' token make[3]: *** [vg_intercept.o] Error 1 make[3]: Leaving directory `/home/hendrik/BUILD/test/valgrind-2.1.0/coregrind' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/hendrik/BUILD/test/valgrind-2.1.0/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hendrik/BUILD/test/valgrind-2.1.0' make: *** [all] Error 2 This is cause by a line: #include <asm/ipc.h> However, asm/ipc.h uses a struct msgbuf but does not declare it. This cannot work. gcc-2.95 and gcc-3.3 fail. /usr/include/sys/msg.h looks like a good candidate although it's in package libc6-dev. HS -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux linux 2.4.24-local-athlon #1 Fr Feb 13 18:22:56 CET 2004 i686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL PROTECTED]) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]