-bash3-3.00$ gcc -v Using built-in specs. Target: mips-sgi-irix6.5 Configured with: ../gcc-4.0.0/configure --cache-file=../configure.cache --prefix=/usr/gnu --bindir=/usr/gnu/bin --sbindir=/usr/gnu/sbin --libdir=/usr/gnu/lib32 --disable-nls --disable-multilib --disable-intl --with-gnu-as --with-as=/usr/gnu/bin/mips-sgi-irix6.5-as --with-gnu-ld --with-ld=/usr/gnu/bin/mips-sgi-irix6.5-ld --enable-languages=c,c++ Thread model: single gcc version 4.0.0 Problem: When linking the executable with -lC or -lpthreads the linker (GNU ld version 2.16 complains: /usr/lib/../lib32/libC.so: undefined reference to `_mpi_sgi_init' /usr/lib32/libpthread.so: undefined reference to `_mpi_sgi_init' This makes compiling a lot of programms impossible. , (Qt and Motif for example, but also gdb). Comandline: g++ -fno-exceptions -o sliders .obj/debug-shared/main.o .obj/debug-shared/slidersgroup.o .obj/debug-shared/window.o .obj/debug-shared/moc_slidersgroup.o .obj/debug-shared/moc_window.o -L/usr/compile/Trolltech/Qt/qt-x11-commercial-desktop-4.0.0/lib -L/usr/compile/Trolltech/Qt/qt-x11-commercial-desktop-4.0.0/lib -lQtGui_debug -lSM -lICE -lXext -lX11 -lm -lQtCore_debug -lC -lpthread
*** This bug has been marked as a duplicate of 1150 ***