|
From: 吴丹(gmail) <wud...@gm...> - 2011-11-21 15:33:18
|
The error information:
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"x86-linux\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -Wno-long-long -MT vgdb-vgdb.o -MD -MP -MF .deps/vgdb-vgdb.Tpo -c -o vgdb-vgdb.o `test -f 'vgdb.c' || echo './'`vgdb.c
In file included from pub_core_libcsetjmp.h:43,
from vgdb.c:31:
../include/pub_tool_libcsetjmp.h:106: warning: `returns_twice' attribute directive ignored
vgdb.c: In function `status_image':
vgdb.c:440: warning: implicit declaration of function `WIFCONTINUED'
mv -f .deps/vgdb-vgdb.Tpo .deps/vgdb-vgdb.Po
gcc -m32 -mpreferred-stack-boundary=2 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -Wno-long-long -m32 -mpreferred-stack-boundary=2 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -o vgdb vgdb-vgdb.o -lpthread
vgdb-vgdb.o(.text+0x540): In function `status_image':
/home/wudan/tool/valgrind-3.7.0/coregrind/vgdb.c:440: undefined reference to `WIFCONTINUED'
collect2: ld returned 1 exit status
make[3]: *** [vgdb] Error 1
My system:
Linux NSD-compile.localdomain 2.6.18.8 #3 SMP Thu Aug 30 03:11:32 CST 2007 i686 i686 i386 GNU/Linux
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2011-11-21 |