This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem compiling 4.0.2


I am currently trying to compile and install it into a a directory for
testing but during the make command it stops with a error about
gaurd.lo what can I do?


../../../../gcc-4.0.2/libstdc++-v3/libsupc++/guard.cc:64: error:
expected primary-expression before '.' token
../../../../gcc-4.0.2/libstdc++-v3/libsupc++/guard.cc:64: error:
expected primary-expression before '{' token
../../../../gcc-4.0.2/libstdc++-v3/libsupc++/guard.cc:64: error:
expected `}' before '{' token
../../../../gcc-4.0.2/libstdc++-v3/libsupc++/guard.cc:64: error:
expected ',' or ';' before '{' token
../../../../gcc-4.0.2/libstdc++-v3/libsupc++/guard.cc:88: error:
expected declaration before '}' token
make[3]: *** [guard.lo] Error 1
make[3]: Leaving directory
`/home/darkshadow/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/darkshadow/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/darkshadow/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2



Here is my setup

The configure command is the same one I used for 3 other versions of
gcc over the years
darkshadow:~/gcc-build$ ../gcc-4.0.2/configure
--prefix=/opt/gcc/gcc-4.0.2/     --libexecdir=/opt/gcc/gcc-4.0.2/lib
--enable-shared     --enable-threads=posix --enable-__cxa_atexit    
--enable-clocale=gnu --enable-languages=c,c++

Distro "LFS 6.0-testing-20040905"
kernel 2.6.15 3
GCC: 3.4.1
glibc: 2.3.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]