GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't find library or mismatched ABI for -lgcc
Operating System - HP-UX
1847176
Members
5437
Online
110263
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 04:03 PM
07-03-2003 04:03 PM
Can't find library or mismatched ABI for -lgcc
I've been trying to build xerces2.2 on HP-UX 11i with gcc3.3(configured with HP linker) and got the following errors.
ld: Can't find library or mismatched ABI for -lgcc
Fatal error.
collect2: ld returned 1 exit status
Originally, I tried various kinds of gccs on HP and each version has its own problems primarily because of the differences between HP linker and GNU linker.
At first try, I had the binary version of gcc3.2-prelease(configured with HP linker) from HP site installed, but it made problems like missed(or mismatched) header files, so I got a different one(configured with gnu-ld) at http://www.cmve.net/~merijn/ and it also made errors like when building oracle sample codes.
Finally, I made my own gcc 3.3. from sources and it's configured with HP linker.
When I type in 'gcc -v', it shows the following.
Reading specs from /usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3/specs
Configured with: ../configure --enable-languages=c,c++ --enable-libstdcxx-v3 --prefix=/usr/local/pa20_64 --with-local-pre
fix=/usr/local/pa20_64 --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disabl
e-chekcing --disable-shared --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11
Thread model: single
gcc version 3.3
I guess the compiler makes all this stuff.
Please help me if anyone has any idea.
Thanks.
ld: Can't find library or mismatched ABI for -lgcc
Fatal error.
collect2: ld returned 1 exit status
Originally, I tried various kinds of gccs on HP and each version has its own problems primarily because of the differences between HP linker and GNU linker.
At first try, I had the binary version of gcc3.2-prelease(configured with HP linker) from HP site installed, but it made problems like missed(or mismatched) header files, so I got a different one(configured with gnu-ld) at http://www.cmve.net/~merijn/ and it also made errors like when building oracle sample codes.
Finally, I made my own gcc 3.3. from sources and it's configured with HP linker.
When I type in 'gcc -v', it shows the following.
Reading specs from /usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.11/3.3/specs
Configured with: ../configure --enable-languages=c,c++ --enable-libstdcxx-v3 --prefix=/usr/local/pa20_64 --with-local-pre
fix=/usr/local/pa20_64 --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disabl
e-chekcing --disable-shared --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11
Thread model: single
gcc version 3.3
I guess the compiler makes all this stuff.
Please help me if anyone has any idea.
Thanks.
newbie for HP-seeker for free-of-charge stuffs.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP