|
From: Nicholas N. <nj...@cs...> - 2005-02-21 21:56:47
|
On Mon, 21 Feb 2005, Albert Chin wrote: > I get the following error while building 2.2.0 on Redhat Linux 7.1: > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include > -I../include -I./x86 -DVG_LIBDIR="\"/opt/TWWfsw/valgrind22/lib"\" > -DKICKSTART_BASE=0xb0000000 -Winline -Wall -Wshadow -O > -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -c > vg_syscalls.c > vg_syscalls.c: In function `before_ioctl': > vg_syscalls.c:3413: `PPGETMODE' undeclared (first use in this function) > vg_syscalls.c:3413: (Each undeclared identifier is reported only once > vg_syscalls.c:3413: for each function it appears in.) > vg_syscalls.c:3421: `PPGETPHASE' undeclared (first use in this function) > vg_syscalls.c:3425: `PPGETMODES' undeclared (first use in this function) > vg_syscalls.c:3429: `PPSETFLAGS' undeclared (first use in this function) > vg_syscalls.c:3433: `PPGETFLAGS' undeclared (first use in this function) > vg_syscalls.c: In function `after_ioctl': > vg_syscalls.c:3931: `PPSETFLAGS' undeclared (first use in this function) > vg_syscalls.c:3940: `PPGETMODE' undeclared (first use in this function) > vg_syscalls.c:3943: `PPGETPHASE' undeclared (first use in this function) > vg_syscalls.c:3946: `PPGETMODES' undeclared (first use in this function) > vg_syscalls.c:3949: `PPGETFLAGS' undeclared (first use in this function) > > Should I just #ifdef them out? You can try it; if any program uses them Valgrind should die with an assertion failure. Or you could check out the CVS HEAD, I think the problem should be fixed in there. N |