Compilation problem on HPUX

nukala krishna hari_nv2001 at
Wed Aug 29 12:52:33 EDT 2007

Hi Ken,

        Thanks for the help. When i looked into config.log, I saw the below lines.

configure:1275: loading cache ./config.cache
configure:1388: checking for gcc
configure:1404: found /usr/local/bin/gcc
configure:1414: result: gcc
configure:1658: checking for C compiler version
configure:1661: gcc --version </dev/null >&5
gcc (GCC) 4.0.2
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
configure:1664: $? = 0
configure:1666: gcc -v </dev/null >&5
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure
Thread model: single
gcc version 4.0.2
configure:1669: $? = 0
configure:1671: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1674: $? = 1
configure:1700: checking for C compiler default output
configure:1703: gcc    conftest.c  >&5
/usr/ccs/bin/ld: Can't open unix98.o
/usr/ccs/bin/ld: No such file or directory
collect2: ld returned 1 exit status
configure:1706: $? = 1
configure: failed program was:
#line 1677 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
main ()
  return 0;
configure:1733: error: C compiler cannot create executables

Here the log says that, it is looking for unix98.o. But my machine is having unix95.o in /usr/lib directory. I don't have unix98.o in my machine. Can't I build using unix95.o? If I can, does it results to any side effects?


----- Original Message ----
From: Ken Raeburn <raeburn at>
To: nukala krishna <hari_nv2001 at>
Cc: Kerberos dev team <krbdev at>
Sent: Wednesday, 29 August, 2007 8:16:03 PM
Subject: Re: Compilation problem on HPUX

On Aug 29, 2007, at 04:56, nukala krishna wrote:
>         I am facing a problem to compile a Kerberos V5 Release 1.4  
> on HP-UX platform. I got the below error.
> -bash-3.00$ ./configure
> configure: loading cache ./config.cache
> checking for gcc... gcc
> checking for C compiler default output... configure: error: C  
> compiler cannot create executables
>     I am new to Kerberos. Can anyone help me regarding this? My  
> machine is HP-UX  B.11.00 U 9000/785 .

It may be that gcc is present but incorrectly installed, or that  
other tools (assembler, linker, libraries) are missing.  Check  
config.log; it reports what the script was trying to do, and the  
errors that were reported.


      Get the freedom to save as many mails as you wish. To know how, go to

More information about the krbdev mailing list