This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Cannot build libstdc++-2.90.8 on Solaris 2.5.1


Hi all,

while compiling libstdc++ on Solaris 2.5.1 I get the following type missmatch
error:

[snip]

/usr/builds/gcc-build/gcc/xgcc -B/usr/builds/gcc-build/gcc/
-B/usr/local/g++-v3/sparc-sun-solaris2.5.1/bin/ -DHAVE_CONFIG_H -I.
-I../../../../gcc-2.95.2/libstdc++/src -I.. -nostdinc++
-I../../../../gcc-2.95.2/libstdc++ -I../../../../gcc-2.95.2/libstdc++/stl
-I../libio -I../../../../gcc-2.95.2/libstdc++/libio
-I../../../../gcc-2.95.2/libstdc++/config/cpu/sparc/sparc32
-I../../../../gcc-2.95.2/libstdc++/config/solaris/solaris2.5
-I/usr/local/g++-v3/include -D_GNU_SOURCE -fno-implicit-templates -Wall
-Wno-format -W -Wwrite-strings -Winline -g -fhonor-std -g -O2 -fsquangle -c
-fPIC -DPIC ../../../../gcc-2.95.2/libstdc++/src/ios.cc -o .libs/ios.lo
In file included from ../bits/c++threads.h:44,
                 from ../../../../gcc-2.95.2/libstdc++/bits/std_fstream.h:41,
                 from ../../../../gcc-2.95.2/libstdc++/src/ios.cc:36:
/usr/include/pthread.h:31: conflicting types for `typedef long unsigned int
uint32_t'
../../../../gcc-2.95.2/libstdc++/config/cpu/sparc/sparc32/atomicity.h:26:
previous declaration as `typedef unsigned int uint32_t'
make[4]: *** [ios.lo] Error 1
make[4]: Leaving directory
`/usr/builds/gcc-build/sparc-sun-solaris2.5.1/libstdc++/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/builds/gcc-build/sparc-sun-solaris2.5.1/libstdc++'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/usr/builds/gcc-build/sparc-sun-solaris2.5.1/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/builds/gcc-build'
make: *** [bootstrap-lean] Error 2

[snip]

Any hints are appreciated.

regards
Juergen


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