On Wed, Mar 20, 2002 at 11:29:18AM -0500, Kaan Saldiraner wrote:
> Hello Everbody,
> 
> I have a HP-UX 10.20.
> The configure works fine but when i do the "make" I get the errors 
> below... Whats going on?
> 
> Thanks
> 
> --------------------
> cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -Ae -c alloc.c

> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro 
>compiler

> (Bundled) cc: "amanda.h", line 359: error 1705: Function prototypes are an ANSI

HP was slow to adopt the ansi standard for the C language.
I mean it is only 14 years old (about 6 when 10.20 came out).

Anyway, amanda is written to ansi c standards.  Your compiler is not.
For some HP compilers an option can be given to make them recognize ansi conventions.
I suspect that is what the "-Ae" option above is "trying" to do.
Check your documentation for the C compiler to see if it has an ansi option.
I recall it as "-aA".  In that case, find where -Ae is being defined (probably CFLAGS
in some Makefile, and redefine it as "-whatever".

You may also have an "acc" program on your system.  This is the "pro" compiler to
which they refer.  If you have that, redefine CC to be acc rather than cc.  Best to
do this during the configure run (ex. CC=<pathto>/acc ./configure <config options>".
Before rerunning configure, remember to do a "make distclean".

HTH

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to