Operating System - HP-UX
1834213 Members
2610 Online
110066 Solutions
New Discussion

Compiling Amanda backup on HPUX 11

 
Robert Early_3
Advisor

Compiling Amanda backup on HPUX 11

I'm having trouble compiling Amanda 2.4.2 on HPUX 11. I've
installed gcc, binutils, flex, readline, etc. but I'm still getting the following compile error:

Making all in common-src
gcc -DHAVE_CONFIG_H -I. -I. -I../config
-I./../regex-src -D_FILE_OFFSET_BITS=64
-D__STDC_EXT__ -I/opt/readline/include
-D_FILE_OFFSET_BITS=64 -g -O2 -c memmove.c
: warning: "__STDC_EXT__" redefined
: warning: this is the location of the
previous definition
In file included from memmove.c:31:
amanda.h:799: warning: conflicting types for built-in
function `fprintf'
amanda.h:916: warning: conflicting types for built-in
function `printf'
In file included from memmove.c:51:
../regex-src/fake/memmove.c: In function `memmove':
../regex-src/fake/memmove.c:13: argument `dst' doesn't
match prototype
cc1: prototype declaration
../regex-src/fake/memmove.c:13: argument `src' doesn't
match prototype
cc1: prototype declaration
*** Error exit code 1

I've posted the question to the Amanda-users list but haven't got a reply.

Do you have any idea what might be wrong?