This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with compiling with gcc on HP-UX 11.00
- From: "Sonison James" <sonison_james at persistent dot co dot in>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 10 Aug 2003 03:54:00 +0530 (IST)
- Subject: 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