Which compiler are you using? You need to use some version of gcc or egcs
because
the default HP-UX compiler doesn't speak ANSI.

-Anne

At 11:31 AM 11/18/99 -0500, David Thompson wrote:
>I'm trying to configure ssh for the first time on HP-UX 10.20, but I get
an error:
>
>107 > setenv CFLAGS '-Aa'
>108 > uname -srvm
>HP-UX B.10.20 A 9000/889
>109 > ./configure
>loading cache ./config.cache
>checking host system type... hppa1.1-hp-hpux10.20
>checking cached information... ok
>checking for gcc... no
>checking for cc... cc
>checking whether the C compiler (cc -Aa ) works... yes
>checking whether the C compiler (cc -Aa ) is a cross-compiler... no
>checking whether we are using GNU C... no
>checking for POSIXized ISC... no
>checking for HPUX tcb auth option... no
>checking for keyserv... yes
>checking that the compiler works... no
>configure: error: Could not compile and run even a trivial ANSI C program
- check CC.
>
>I searched the archives, and I found one other reference to this problem.
In that post from 1995, it said to "setenv CFLAGS '-Aa'".  However, this
doesn't help.  Can anyone lend a hand here?
>
>Thanks,
>
>-Dave
>
>Dave Thompson
>The Monet Group
>[EMAIL PROTECTED]
>
>
>
>
--
Anne Carasik
Consulting Engineer
SSH Communications Security Inc.
Email: [EMAIL PROTECTED]
#include <standarddisclaimer.h>

Reply via email to