HP's default compiler isn't ANSI compliant.  (ie it will not compile a program with 
function prototypes)
Essentially the normal cc compiler that comes with either HPUX 9.0x or 10.20 is 
worthless.  You either need to purchase HP's fullblown ANSI cc compiler or use GCC 
compiler.

If you have already purchased and are using the ANSI cc version I would check the 
installation and write a simple little c or c++ program and make sure it can compile 
it first.

Hope this helps,
Chris

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]
begin:vcard 
n:Hoekstra;Chris
tel;fax:(630) 540-5047
tel;work:(630) 540-5050
x-mozilla-html:TRUE
url:http://www.dimension.net/security
org:<B><IMG SRC="http://jabba.dimension.net/images/logo.gif"></B>
adr:;;;Barlett;Il.;60103;U.S.A.
version:2.1
email;internet:[EMAIL PROTECTED]
title:<B>Network and Security Engineer</B><BR>Security Group
fn:Christopher Hoekstra
end:vcard

Reply via email to