|
From: Kai-Uwe B. <ku...@gm...> - 2005-08-15 07:30:04
|
Hi,
the compilation of version 2.2.0 failed with:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include
-I../include -I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"
-DKICKSTART_BASE=0xb0000000 -Winline -Wall -Wshadow -O
-fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_syscalls.o -MD -MP -MF ".deps/vg_syscalls.Tpo" -c -o vg_syscalls.o
vg_syscalls.c; \
then mv -f ".deps/vg_syscalls.Tpo" ".deps/vg_syscalls.Po"; else rm -f
".deps/vg_syscalls.Tpo"; exit 1; fi
In file included from /usr/include/linux/msg.h:5,
from vg_unsafe.h:56,
from vg_syscalls.c:35:
/usr/include/linux/list.h:699:2: warning: #warning "don't include kernel
headers in userspace"
In file included from /usr/include/linux/mii.h:12,
from vg_unsafe.h:76,
from vg_syscalls.c:35:
/usr/include/linux/if.h:95: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:131: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:181: error: redefinition of `struct ifconf'
make[4]: *** [vg_syscalls.o] Fehler 1
make[4]: Leaving directory `/home/tmp/RPMS/valgrind-2.2.0/coregrind'
Any idea?
System: PIV; gcc3.3.4; glibc-2.3.3 on SuSE9.2
regards
Kai-Uwe
|
|
From: Dirk M. <dm...@gm...> - 2005-08-15 16:40:06
|
On Monday 15 August 2005 09:37, Kai-Uwe Behrmann wrote: > the compilation of version 2.2.0 failed with: Try valgrind 2.4.1 or valgrind 3.0.0, those two versions are still supported :) Or do you need helgrind/addrcheck? Dirk |
|
From: Kai-Uwe B. <ku...@gm...> - 2005-08-15 17:24:19
|
I want to debug threated applications. So helgrind seems to be the right. SuSE comes with a version 2.1. Now I wanted to update and try the newer 2.2. By the way v3.0.0 works quick. Kai-Uwe Am 15.08.05, 12:31 +0200 schrieb Dirk Mueller: > On Monday 15 August 2005 09:37, Kai-Uwe Behrmann wrote: > > > the compilation of version 2.2.0 failed with: > > Try valgrind 2.4.1 or valgrind 3.0.0, those two versions are still > supported :) > > > Or do you need helgrind/addrcheck? > > > Dirk |