[GCC-XML]building gccxml

Juan Pablo Romero jpablo_romero at hotmail.com
Mon Feb 11 19:27:30 EST 2002


Hi!

I've just downloaded the patched gccxml.tar.gz from kitware's ftp site.

After doing ./configure; make bootstrap, the build failed with this message:

---------------------------------------------
....

Making all in libsupc++
make[3]: Entering directory 
`/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
/bin/sh ../libtool --tag CXX --tag disable-shared                
--mode=compile /home/jpablo/src/gccxml-objdir/gcc/xgcc 
-B/home/jpablo/src/gccxml-objdir/gcc/ -nostdinc++  
-L/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/opt/gccxml/i686-pc-linux-gnu/bin/ -B/opt/gccxml/i686-pc-linux-gnu/lib/ 
-isystem /opt/gccxml/i686-pc-linux-gnu/include 
-I../../../../gccxml/libstdc++-v3/../gcc 
-I../../../../gccxml/libstdc++-v3/../include       
-I../../../../gccxml/libstdc++-v3/include 
-I../../../../gccxml/libstdc++-v3/include/std 
-I../../../../gccxml/libstdc++-v3/include/c_std -I../include         
-I../../../../gccxml/libstdc++-v3/libsupc++             -g -O2 -D_GNU_SOURCE 
-fno-implicit-templates         -prefer-pic     -Wall -Wno-format -W 
-Wwrite-strings -Winline  -fdiagnostics-show-location=once               
-ffunction-sections -fdata-sections  -g    -c 
../../../../gccxml/libstdc++-v3/libsupc++/eh_alloc.cc
/home/jpablo/src/gccxml-objdir/gcc/xgcc 
-B/home/jpablo/src/gccxml-objdir/gcc/ -nostdinc++ 
-L/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/opt/gccxml/i686-pc-linux-gnu/bin/ -B/opt/gccxml/i686-pc-linux-gnu/lib/ 
-isystem /opt/gccxml/i686-pc-linux-gnu/include 
-I../../../../gccxml/libstdc++-v3/../gcc 
-I../../../../gccxml/libstdc++-v3/../include 
-I../../../../gccxml/libstdc++-v3/include 
-I../../../../gccxml/libstdc++-v3/include/std 
-I../../../../gccxml/libstdc++-v3/include/c_std -I../include 
-I../../../../gccxml/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE 
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline 
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c 
../../../../gccxml/libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o 
eh_alloc.o
In file included from 
../../../../gccxml/libstdc++-v3/libsupc++/eh_alloc.cc:39:
../include/bits/gthr.h:29:2: invalid preprocessing directive 
#_GLIBCPP_ifndef
../include/bits/gthr.h:30:2: invalid preprocessing directive 
#_GLIBCPP_define
../include/bits/gthr.h:84:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:85:2: invalid preprocessing directive 
#_GLIBCPP_include
../include/bits/gthr.h:86:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:87:2: invalid preprocessing directive 
#_GLIBCPP_include
../include/bits/gthr.h:88:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:89:2: invalid preprocessing directive 
#_GLIBCPP_include
../include/bits/gthr.h:92:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:93:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:94:2: invalid preprocessing directive 
#_GLIBCPP_ifndef
../include/bits/gthr.h:95:2: invalid preprocessing directive 
#_GLIBCPP_define
../include/bits/gthr.h:96:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:97:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:98:2: invalid preprocessing directive 
#_GLIBCPP_include
../include/bits/gthr.h:101:2: invalid preprocessing directive #_GLIBCPP_else
../include/bits/gthr.h:102:2: invalid preprocessing directive 
#_GLIBCPP_include
../include/bits/gthr.h:103:2: invalid preprocessing directive 
#_GLIBCPP_endif
../include/bits/gthr.h:105:2: invalid preprocessing directive 
#_GLIBCPP_endif
make[3]: *** [eh_alloc.lo] Error 1
make[3]: Leaving directory 
`/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory 
`/home/jpablo/src/gccxml-objdir/i686-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
[jpablo at moebius gccxml-objdir]$

---------------------------------------------

What could be wrong here?

Thanks in advance.


  Juan Pablo



_________________________________________________________________
Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es




More information about the gccxml mailing list