Operating System - HP-UX
1833464 Members
2776 Online
110052 Solutions
New Discussion

C compiler cannot create executables.

 
Brian Watkins
Frequent Advisor

C compiler cannot create executables.

When trying to compile and install a 3rd party vendor's application, I receive the message, "C compiler cannot create executables."


Here is the output of config.log:

***** Begin config.log *****
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:553: checking host system type
configure:604: checking /dev/kmem group
configure:617: checking for gcc
configure:730: checking whether the C compiler (c89 ) works
configure:746: c89 -o conftest -D_HPUX_SOURCE conftest.c 1>&5
cc: Can't find the process "1404".
configure: failed program was:

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

main(){return(0);}

***** End of config.log *****


I am running the ANSI/C Developer's bundle (version 11.11.02) with PHSS_24830 (General ANSI/C patch for 11.11.02), PHSS_22535 (ld/linker patch) along with December 2003 Gold and Quality patch sets.

I have tried working with the application vendor, and their response is to upgrade to 11.11.04, BUT we were able to successfully install another instance of this application (same version of the app) on the same system only 6 days ago....so I don't think that c89 just suddenly decided to break on me.

If anyone has any ideas/suggestions as to what/where else I can find some additional info that could point me in the right direction, I would greatly appreciate it! :)

Thanks in advance,
Brian
4 REPLIES 4
Mark Grant
Honored Contributor

Re: C compiler cannot create executables.

You will find the exact error in "config.log" in the directory you tried the compile in.
Never preceed any demonstration with anything more predictive than "watch this"
Brian Watkins
Frequent Advisor

Re: C compiler cannot create executables.

Mark,

I've checked the config.log (it's in my original post). The only error is the "cc: Can't find the process "1404"." message.

The compiler is just trying to verify that it can generate a working executable (conftest) by creating a .c file (conftest.c) that consists of the following: main(){return(0);}

This is when it reports the error, but "cc: Can't find the process "1404"." just isn't making any sense to me.....

I must be missing something blatanly obvious and/or stupid here :P
Mark Grant
Honored Contributor

Re: C compiler cannot create executables.

Sorry Brian, I should have read this more carefully. One thing you could try is to compile that snippet of code yourself, using the same compiler. If it works, you can edit the configure script to remove the test.

I wouldn't recommend this of course but I have done it several times to various bits of software with no obvious bad things happening.
Never preceed any demonstration with anything more predictive than "watch this"
Brian Watkins
Frequent Advisor

Re: C compiler cannot create executables.

Mark,

I tried compiling the small piece of test code manually as well and got the same result, "cc: Can't find process "1404".

At this point I'm baffled. I guess I'll just have to consult with St. Dogbert (see attachment) and/or scowl menacingly at the application vendor...

Thanks again for the suggestions :)