The HP C compiler sux. If you want to run open-source you will have to get
the gcc compiler anyway. I've even had trouble with HP's purchased compiler.
Usually, I wind up with both. The HP compiler for legacy code and the gcc
compiler for new code and open-source builds.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Anne
> Carasik
> Sent: Thursday, November 18, 1999 10:11 AM
> To: David Thompson; '[EMAIL PROTECTED]'
> Subject: Re: Can't configure ssh 1.2.27 on HP-UX 10.20
>
>
> 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>
>