This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with compiling with gcc on HP-UX 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

However if I link with pthread then I do not get this crash. Why do I need
to link with pthread ? Is there some patch that I need to install ?

Thanks and regards

Sonison James



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]