This is the mail archive of the gcc@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]

Error while Building gcc 2.95.3 on AIX 4.3


Hi,
Following error thrown when I was trying to build gcc 2.95.3
------------
/usr/local/gcc_build/obj/gcc/xgcc -B/usr/local/gcc_build/obj/gcc/ -B/usr/local/gcc-2.95.3/rs6000-ibm-aix4.3.3.0/bin/ -g -O2 -fno-implicit-templates -Wl,-unix -shared -o libstdc++.so.2.10.0 `cat piclist` -lm
ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: nix
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [libstdc++.so.2.10.0] Error 1
make[2]: Leaving directory `/usr/local/gcc_build/obj/rs6000-ibm-aix4.3.3.0/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/local/gcc_build/obj'
make: *** [bootstrap] Error 2
-----------


I am working on AIX 4.3.3.0
The configuration options used to build gcc 2.95.3 are
--prefix=/usr/local/gcc-2.95.3
--enable-shared
--enable-threads=posix
--enable-version-specific-runtime-libs
--enable-languages=c++
--with-ld=/usr/bin/ld
--with-as=/usr/bin/as

What can be the reason of the error and how should I relolve it?

Thanks,
Abhijit.


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