|
From: Daniel L. <lug...@an...> - 2004-04-23 12:38:09
|
Hi,
i am a new user on valgrind.
I've some problem to compile the sources.
The versions i've tried are 2.0.0 and 2.1.1 and the compilers i used are
gcc-2.95 and gcc-3.3.3
./configure without arguments.
make produces these lines:
Version 2.0.0:
gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include
-DVG_LIBDIR="\"/usr/local/lib"\" -Winline -Wall -Wshadow -O
-fomit-frame-pointer -mpreferred-stack-boundary=2 -g
-mpreferred-stack-boundary=2 -fno-omit-frame-pointer -c `test -f
'vg_intercept.c' || echo './'`vg_intercept.c
In file included from vg_intercept.c:65:
/usr/include/asm/ipc.h:10: field `__user' has incomplete type
/usr/include/asm/ipc.h:10: warning: no semicolon at end of struct or union
/usr/include/asm/ipc.h:10: parse error before `*'
/usr/include/asm/ipc.h:12: parse error before `}'
vg_intercept.c:448: warning: declaration of `msgtyp' shadows global
declaration
vg_intercept.c: In function `vgAllRoadsLeadToRome_msgrcv':
vg_intercept.c:450: warning: declaration of `msgtyp' shadows global
declaration
vg_intercept.c:453: storage size of `tmp' isn't known
vg_intercept.c:159: warning: inlining failed in call to `do_syscall_ipc'
vg_intercept.c:465: warning: called from here
vg_intercept.c:453: warning: unused variable `tmp'
vg_intercept.c: At top level:
vg_intercept.c:487: warning: declaration of `msgtyp' shadows global
declaration
vg_intercept.c: In function `msgrcv':
vg_intercept.c:488: warning: declaration of `msgtyp' shadows global
declaration
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include
-DVG_LIBDIR="\"/usr/local/lib"\" -Winline -Wall -Wshadow -O
-fomit-frame-pointer -mpreferred-stack-boundary=2 -g
-mpreferred-stack-boundary=2 -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:65:
/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
vg_intercept.c:448: warning: declaration of `msgtyp' shadows a global
declaration
/usr/include/asm/ipc.h:11: warning: shadowed declaration is here
vg_intercept.c: In function `vgAllRoadsLeadToRome_msgrcv':
vg_intercept.c:453: error: storage size of `tmp' isn't known
vg_intercept.c:453: warning: unused variable `tmp'
vg_intercept.c: At top level:
vg_intercept.c:487: warning: declaration of `msgtyp' shadows a global
declaration
/usr/include/asm/ipc.h:11: warning: shadowed declaration is here
Version 2.1.1:
gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I./x86
-DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow -O
-fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -c
`test -f 'vg_syscalls.c' || echo './'`vg_syscalls.c
In file included from vg_unsafe.h:56,
from vg_syscalls.c:35:
/usr/include/asm/ipc.h:10: field `__user' has incomplete type
/usr/include/asm/ipc.h:10: warning: no semicolon at end of struct or union
/usr/include/asm/ipc.h:10: parse error before `*'
/usr/include/asm/ipc.h:12: parse error before `}'
vg_syscalls.c: In function `before_ipc':
vg_syscalls.c:2598: dereferencing pointer to incomplete type
vg_syscalls.c: In function `after_ipc':
vg_syscalls.c:2719: dereferencing pointer to incomplete type
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I./x86
-DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -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 `test -f 'vg_syscalls.c' || echo './'`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 vg_unsafe.h:56,
from vg_syscalls.c:35:
/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
vg_syscalls.c: In function `before_ipc':
vg_syscalls.c:2598: error: dereferencing pointer to incomplete type
vg_syscalls.c: In function `after_ipc':
vg_syscalls.c:2719: error: dereferencing pointer to incomplete type
Need help, cause of no idea where's the problem.
Daniel
--
AKTUELL:
- ANDURAS AG auf der drupa 2004 -
Besuchen Sie uns vom 06. bis 15. Mai 2004 in Halle 9 Stand E77.
Terminvereinbarungen senden Sie bitte an dr...@an...
Weitere Informationen finden Sie auch im Online-Ausstellerkatalog unter:
http://www.drupa.de/exh/drupa04/d/128122
--
Daniel Luginger <lug...@an...>
ANDURAS service solutions AG
Innstraße 71 - 94036 Passau - Germany
Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55
Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Schön
Vorsitzender des Aufsichtsrats: Dipl. Kfm. Karlheinz Antesberger
|