Operating System - HP-UX
1757083 Members
1952 Online
108858 Solutions
New Discussion юеВ

Re: C compiler cannot create executables

 
ralf klausch
Advisor

C compiler cannot create executables

Hello,

when I compile a source I get the following error message:
configure: error: installation or configuration problem: C compiler cannot create executables.

I work under HP-UX 11.00 (GR Patches March 2000)

Any ideas? Thanks in advance

Ralf Klausch
6 REPLIES 6
Antoanetta Naghiu
Esteemed Contributor

Re: C compiler cannot create executables

Which Compiler do you use and which specific compiler patches do you have installed? Run what cc, which cc, what c, which c. For different aCC, you need diferent level of patches. Come back with details.
ralf klausch
Advisor

Re: C compiler cannot create executables

I work with the cc compiler. how can I check the version ? I only have the GR Patches installt. Which patches are for the cc-compiler ?
Vincente Fernandes
Valued Contributor

Re: C compiler cannot create executables

cc is the HP-UX C complier(which require ANSI C complier software). To check version use "-V" option while compiling a program. Also "swlist -l product/fileset" will give you details about the compiler and versions.
Now regarding the installation and configuration problem you may have to reinstall the c complier. Also go the below link and look out for any C compiler patches.
http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslSrchHPUXpatches/sid=806c899c039d031988?OS=HP-UX.
Vincente.
ralf klausch_1
New Member

Re: C compiler cannot create executables

I'm very sorry but I cannot access the patch-site. error: Could Not View or Download Patch Your request cannot be carried out due to an invalid parameter entry. (Error 7232). Could you send me the list of patches manually ? And when I type cc -V I don't get any result.
Thanks in advance
Andreas Voss
Honored Contributor

Re: C compiler cannot create executables

Hi,

to get version try:
what /usr/bin/cc
or
what /usr/ccs/lbin/ccom

Cheers

Andrew
ralf klausch_1
New Member

Re: C compiler cannot create executables

I get the following output:
# what /usr/ccs/lbin/ccom
/usr/ccs/lbin/ccom:
HP92453-01 A.11.00.00 HP C (Bundled) Compiler
HP-UX SLLIC/OPTIMIZER UX.11.00.82 (ROSE): 08/31/97
Ucode Code Generator - UX11.00.09 (PACG_UX11.ROSE_970909)
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38