pthread problem in gcc-3.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed Redhat-9 and it has gcc-3.2.2 packaged.  I tried to compile
a third party software that requires pthread to be configured in gcc. I
got this error message while checking libgcc.a

$ gcc -print-libgcc-file-name
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc.a
$ nm /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc.a | grep pthread
nm: _fixtfdi.oS: no symbols
nm: _fixunstfdi.oS: no symbols
nm: _floatditf.oS: no symbols
nm: _trampoline.oS: no symbols
nm: __main.oS: no symbols
nm: _exit.oS: no symbols
nm: _ctors.oS: no symbols

I did the same thing on another Linux box with Redhat-7/gcc-3.2.1.  The
check went fine and I could successfully compile the software.

Does anybody have ideas on what's going on?

BTW.  Here is my gcc configuration,
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


Thanks,

Bing
b.shi@xxxxxxxxxxx



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux