#17 Building with gcc 2.96 fails

open
nobody
None
5
2005-04-22
2005-04-22
No

When compiling verion 0.9.11 with gcc version 2.96
I get the error:

:/net/ganet/disc1/home/mea/temp/build/callgrind-0.9.11>
make
Making all in src
make[1]: Entering directory
`/net/ganet/disc1/home/mea/temp/build/callgrind-0.9.11/src'
Making all in .
make[2]: Entering directory
`/net/ganet/disc1/home/mea/temp/build/callgrind-0.9.11/src'
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"callgr
ind\" -DVERSION=\"0.9.11\" -I. -I.
-DVG_LIBDIR="\"/net/ganet/disc1/home/mea/temp/lib"\"
-Winline -Wall -Wshadow -O2 -g -mpreferred-st
ack-boundary=2
-I/net/ganet/disc1/home/mea/temp/include/valgrind
-I/net/ganet/disc1/home/mea/temp/include/valgrind/x86
-I/net/ganet/disc1/
home/mea/temp/include/valgrind/linux
-I/net/ganet/disc1/home/mea/temp/include/valgrind/x86-linux
-MT bb.o -MD -MP -MF ".deps/bb.Tpo" -c
-o bb.o bb.c; \ then mv -f ".deps/bb.Tpo" ".deps/bb.Po"; else rm -f
".deps/bb.Tpo"; exit 1; fi
In file included from bb.c:29:
global.h:586: parse error before `__attribute__'
global.h:586: warning: no semicolon at end of struct or
union
global.h:590: parse error before `}'
make[2]: *** [bb.o] Error 1
make[2]: Leaving directory
`/net/ganet/disc1/home/mea/temp/build/callgrind-0.9.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/net/ganet/disc1/home/mea/temp/build/callgrind-0.9.11/src'
make: *** [all-recursive] Error 1

Discussion


Log in to post a comment.