- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with Gcc4.2.1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
12-19-2007 12:13 AM
12-19-2007 12:13 AM
Problem with Gcc4.2.1
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD
When I run the command gcc, it gives me the following error.
# gcc
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_mutex_lock' in load module '/opt/hp-gcc64/bin/gcc'.
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_mutex_unlock' in load module '/opt/hp-gcc64/bin/gcc'.
Killed
Any ideas as to why is it so?
TIA
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 01:02 AM
12-19-2007 01:02 AM
Re: Problem with Gcc4.2.1
Get a newer libc patch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 01:24 AM
12-19-2007 01:24 AM
Re: Problem with Gcc4.2.1
I'm using HP 11.11
# uname -a
HP-UX bsohpux1 B.11.11 U 9000/800 2413721259 unlimited-user license
and the patches installed are
PHCO_22958
PHCO_23263
PHCO_24173
PHCO_24402 -- libc cumulative header
file patch
PHCO_25311
PHCO_25526
PHCO_25568
PHCO_25831
PHCO_26951
PHCO_27035
PHCO_27036
PHCO_27038
PHCO_27064
PHCO_27100
PHCO_27101
PHCO_27103
PHCO_27185
PHCO_27758
PHCO_27909
PHCO_28160
PHCO_28169
PHCO_28176
PHCO_28192
PHCO_28193
PHCO_28194
PHCO_28998
PHCO_29379
PHCO_30514
PHCO_30598
PHCO_31878
PHCO_33213
PHCO_33214
PHCO_33215
PHCO_33216
PHKL_23290
PHKL_23292
PHKL_23293
PHKL_23294
PHKL_23295
PHKL_23296
PHKL_23297
PHKL_23298
PHKL_23299
PHKL_23300
PHKL_23301
PHKL_23302
PHKL_23303
PHKL_23304
PHKL_23305
PHKL_23306
PHKL_23307
PHKL_23308
PHKL_23309
PHKL_23310
PHKL_23311
PHKL_23312
PHKL_23314
PHKL_23315
PHKL_23316
PHKL_23625
PHKL_23666
PHKL_23810
PHKL_23957
PHKL_24278
PHKL_25506
PHKL_26269
PHKL_26425
PHKL_26743
PHKL_27096
PHKL_27154
PHKL_27155
PHKL_27177
PHKL_27219
PHKL_27757
PHKL_28025
PHKL_28197
PHKL_28569
PHKL_28839
PHKL_29076
PHKL_29300
PHKL_29529
PHKL_29539
PHKL_29567
PHKL_29651
PHKL_29700
PHKL_30100
PHKL_30105
PHKL_30197
PHKL_30257
PHKL_30446
PHKL_30512
PHKL_30992
PHKL_31227
PHKL_31241
PHKL_32089
PHKL_32090
PHKL_32647
PHKL_33338
PHKL_33339
PHKL_33425
PHNE_23288
PHNE_23289
PHNE_23502
PHNE_28799
PHNE_30463
PHNE_32396
PHSS_22898
PHSS_25983
PHSS_26492
PHSS_26493
PHSS_32939
PHSS_33033
Do you think I still need a newer libc patch, if so I would appreciate if you could point me to one.
I'm a newbie to HP-UX and would really appreciate any help.
TIA
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 01:28 AM
12-19-2007 01:28 AM
Re: Problem with Gcc4.2.1
Even if you get everything working, you can expect runtime errors somewhere down the line.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 02:03 AM
12-19-2007 02:03 AM
Re: Problem with Gcc4.2.1
Thanks for the update, in that case I guess its better for me to go back to gcc 3.4.
I read that 2 versions of gcc can coexist, but I would like to remove the 4.*. Do you see any problems in there?
Have a good one
Cheers
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 02:12 AM
12-19-2007 02:12 AM
Re: Problem with Gcc4.2.1
To find out what libc patch you have, use:
$ what /usr/lib/pa20_64/libc.2
>Do you think I still need a newer libc patch
Yes because you have the problem.
>if so I would appreciate if you could point
PHCO_34275 should work. The recommended one is PHCO_35743.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 03:53 AM
12-19-2007 03:53 AM
Re: Problem with Gcc4.2.1
Really appreciate your help.
Cheers
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 04:00 AM
12-19-2007 04:00 AM
Re: Problem with Gcc4.2.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 12:54 PM
12-19-2007 12:54 PM
Re: Problem with Gcc4.2.1
http://forums11.itrc.hp.com/service/forums/helptips.do?#33
http://forums11.itrc.hp.com/service/forums/helptips.do?#41