I have many HPUX 11.0 systems running amanda clients.
Try getting gcc and binutils depots from:
http://hpux.cs.utah.edu/
you may also need flex and bison to compile amanda.
-Todd
On Tue, 24 Apr 2001, Andrew Robinson wrote:
> I'm guessing that the compiler bundled with HPUX 11 is intended for
> rebuilding kernels and nothing more. I tried downloading the gcc software
> depot off one of the HP contributed sites, but I could not even compile a
> "Hello World!" with that.
>
> Here's a list of the things I've tried:
>
> 1. Looking for a pre-build amanda client for HPUX 11. Could not find one on
> the contrib sites.
> 2. Building a client with the native C compiler. Didn't work for the
> reasons given in this discussion.
> 3. Downloading the pre-compiled gnu c compiler for HPUX 11 from the HP
> contrib site. It would not compile anything.
> 4. Building the gnu c compiler from source using the native c compiler.
> Didn't work.
>
> Henk tells me he is successfully using an HP 10.20 client on a HP 11
> system. I thought I had tried that, but I cannot remember. I'll give that
> another try.
>
> Let me pose my question a different way. Has anyone successfully build and
> successfully implemented an Amanda client for HPUX 11?
>
> Thanks!
>
> Andrew Robinson
>
>
> At 04:36 PM 4/24/01 +0200, Henk Martijn wrote:
> >The following happens when you want to use the HPUX bundled compiler on
> >both 10.20 and 11:
> >
> >configure runs OK,
> >
> >but first use of cc gives following:
> >
> >-DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
> >-D_FILE_OFFSET_BITS=64 - D_FILE_OFFSET_BITS=64 -Ae -c alloc.c (Bundled)
> >cc: warning 480: The -A option is available only with the C/ANSI C pro
> >duct; ignored. (Bundled) cc: "amanda.h", line 506: error 1000: Unexpected
> >symbol: "*". (Bundled) cc: "amanda.h", line 709: error 1000: Unexpected
> >symbol: "uid_t". (Bundled) cc: "amanda.h", line 709: error 1000:
> >Unexpected symbol: "gid". (Bundled) cc: "amanda.h", line 359: error 1705:
> >Function prototypes are an ANSI feature.......
> >
> >The bundled HPUX C compiler is not even ANSI C compatible!
> >/Henk
> >
> >Henk Martijn
> >ACREO AB
> >Electrum 236 Tel: +46 8 632 7795
> >S-164 40 Kista Fax: +46 8 750 5430
> >Sweden e-mail: [EMAIL PROTECTED]
> >
> >
> > >>> Alexandre Oliva <[EMAIL PROTECTED]> 09:47:37 2001-04-24 >>>
> >On Apr 24, 2001, "Henk Martijn" <[EMAIL PROTECTED]> wrote:
> >
> > > The compiler that comes with HPUX is very limited
> >
> >Amanda should be buildable with a K&R C compiler, which the compiler
> >that comes with HP-UX is.
>
>
> ************************************************************************
> * Andrew W. Robinson | Voice: +1 (504)-889-2784 *
> * Computerized Processes Unlimited, Inc. | FAX: +1 (504)-889-2799 *
> * 4200 S. I-10 Service Rd., Suite 205 | E-Mail: [EMAIL PROTECTED] *
> * Metairie, LA 70001 | WWW: http://www.cpu.com *
> * "Consulting System Integrators" *
> ************************************************************************
>