Operating System - HP-UX
1822532 Members
2560 Online
109642 Solutions
New Discussion юеВ

Re: Problem with gcc on 11.00

 
Sonison James
Frequent Advisor

Problem with gcc on 11.00

Hello,

I am trying to compile a simple hello world application using gcc 3.2 on 11.00. I get the following error when I run the application:
/usr/lib/dld.sl: Unresolved symbol: pthread_once (code) from /usr/local/lib/gcc
-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libgcc_s.sl

Thanks and regards
Sonison James
2 REPLIES 2
twang
Honored Contributor

Re: Problem with gcc on 11.00

In the begining of this year, I have seen this similar thread in this forum, you may take a look at this:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd10d31ec5e34d711abdc0090277a778c,00.html
Sonison James
Frequent Advisor

Re: Problem with gcc on 11.00

Hi Twang,

Thanks for the link, but it didn't really solve my problem. When I link the hello world program with pthread it does not crash. I cannot understand why this needs to be done. Is there some patch that I need to apply?

Thanks and regards
Sonison James