I'm having trouble compiling Amanda on HPUX 11. I've
tried the hints in the archive and 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
<command line>: warning: "__STDC_EXT__" redefined
<command line>: 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
Do you have any idea what might be wrong?
Robert.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com