Operating System - HP-UX
1755609 Members
3459 Online
108836 Solutions
New Discussion юеВ

Problem with gcc on 11.11

 
Andrew Kaplan
Super Advisor

Problem with gcc on 11.11

Hi there --

I downloaded and installed the gcc depot file on one of our 11.11 systems. When I try to compile a program from source, I get the following error message.

configure error: C compiler cannot create executables

I've enclosed a copy of the config.log file.
A Journey In The Quest Of Knowledge
2 REPLIES 2
H.Merijn Brand (procura
Honored Contributor

Re: Problem with gcc on 11.11

Did you include all the deps?

configure:3911: gcc -O -O conftest.c >&5
collect2: ld terminated with signal 10 [Bus error], core dumped
ld: Unsatisfied symbol "pthread_mutex_unlock" in file /opt/hp-gcc64-4.1.0/lib/gcc/hppa64-hp-hpux11.11/4.1.0/libgcc_eh.a[unwind-dw2-fde.o]
ld: Unsatisfied symbol "pthread_mutex_lock" in file /opt/hp-gcc64-4.1.0/lib/gcc/hppa64-hp-hpux11.11/4.1.0/libgcc_eh.a[unwind-dw2-fde.o]
configure:3914: $? = 1

It is missing some thread functions

I bet that compiler also depends on libintl and gettext

There are so many other (and maybe better) ports from gcc.

HP porting center:
http://hpux.connect.org.uk/ftp/hpux/Gnu/gcc-4.1.0/gcc-4.1.0-hppa-11.11.depot.gz
My site:
http://mirrors.develooper.com/hpux/gcc-4.0.3-11.11.sd.bz

And in my humble opinion: I would NOT use gcc-4.1.0 on HP-UX 11.11 in 64bit mode. Too many trouble left in the deep guts. 4.0.3 is still safe.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Andrew Kaplan
Super Advisor

Re: Problem with gcc on 11.11

Hi there --

I downloaded the 4.0.3 version of gcc and it worked without a problem. Thanks for the help.
A Journey In The Quest Of Knowledge