This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

compile failure.


libstdc++ most recent version fails to compile on 3.3.2. I have below
the g++33 -v output and the errors that it gives during make
all-target-libstdc++-v3. I have not run configure again. Maybe this is a
false alarm, because this is the first time I'm compiling the library!


In file included from
/root/btemp/i386-redhat-linux/libstdc++-v3/include/cstdlib:49,
                 from
/root/temp/gcc-3.3.2/libstdc++-v3/libsupc++/eh_alloc.cc:33:
/root/btemp/i386-redhat-linux/libstdc++-v3/include/i386-redhat-linux/bits/c++config.h:64: error: parse
   error before `__attribute__'
/root/btemp/i386-redhat-linux/libstdc++-v3/include/i386-redhat-linux/bits/c++config.h:72: error: parse
   error before `__attribute__'
In file included from
/root/btemp/i386-redhat-linux/libstdc++-v3/include/cstdlib:52,
                 from
/root/temp/gcc-3.3.2/libstdc++-v3/libsupc++/eh_alloc.cc:33:
/usr/include/stdlib.h:137: error: syntax error before `(' token
/usr/include/stdlib.h:142: error: `double' fails to be a typedef or
built in 
   type
/usr/include/stdlib.h:160: error: `double' fails to be a typedef or
built in 
   type
/usr/include/stdlib.h:167: error: `float' fails to be a typedef or built
in 
   type
/usr/include/stdlib.h:170: error: `double' fails to be a typedef or
built in 
   type


... and many more.

The whole make ends with this:

/root/btemp/i386-redhat-linux/libstdc++-v3/include/i386-redhat-linux/bits/gthr-single.h: In
   function `int __gthread_mutex_trylock(...)':
/root/btemp/i386-redhat-linux/libstdc++-v3/include/i386-redhat-linux/bits/gthr-single.h:230: error: parse
   error before `)' token
/root/btemp/i386-redhat-linux/libstdc++-v3/include/i386-redhat-linux/bits/gthr-single.h:231: error: cannot
   declare static function inside another function
/root/temp/gcc-3.3.2/libstdc++-v3/libsupc++/eh_alloc.cc:75: confused by
earlier errors, bailing out
make[3]: *** [eh_alloc.lo] Error 1
make[3]: Leaving directory
`/root/btemp/i386-redhat-linux/libstdc++-v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/btemp/i386-redhat-linux/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/btemp/i386-redhat-linux/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2





-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/




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