Hi all,

I'm trying to build MICO-2.3.11 in HP-UX 11.11, using GCC, and found the following problem during ./configure:

checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

I saw in config.log that this error occurs because configure is passing an invalid argument to ld command:

configure:1641: checking whether the C++ compiler (c++  ) works
configure:1657: c++ -o conftest    conftest.C  1>&5
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/var/tmp//cc2owOdc.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage:  /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
configure: failed program was:

#line 1652 "configure"
#include "confdefs.h"

The /usr/ccs dir contains the HP CC embedded compiler and also the ld command. I checked for another ld executable, but there's no one. The following packages were installed in the system:

-bash-3.2$ ls
Ignite-UX-11-11_C.7.1.93_HP-UX_B.11.00_32+64.depot make-3.81-hppa-11.11.depot bash-3.2-hppa-11.11.depot ncurses-5.5-hppa-11.11.depot
core                                                postgresql
gcc-4.1.1-hppa-11.11.depot readline-5.2-hppa-11.11.depot gettext-0.16.1-hppa-11.11.depot termcap-1.3.1-hppa-11.11.depot
libgcc-4.1.1-hppa-11.11.depot                       teste
libiconv-1.11-hppa-11.11.depot zlib-1.2.3-hppa-11.11.depot

Any tips about how to make this work?

Thanks in advance
--
--


   Joaquim Oliveira, MSc


     SOFTWARE ENGINEER

        

Fone: +55 (85) 3216.7971
Fax: +55 (85) 3216.7864
Skype: joaquim.oliveira


       ISO 9001 : 2000 - CMMI3

        


       www.atlantico.com.br <http://www.atlantico.com.br>

_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to