Now that I seem to have sorted out Amanda on the server host, I've turned
my attention to building/installing Amanda on my Cobalt raq-4i server
appliance.
Nothing untoward happened when running 'configure' with this script:
sh ./configure --with-user=amanda --with-group=sys --with-amandahosts \
--with-tmpdir=/amanda/tmp --with-config=ORBnet --without-server \
--with-debugging=/amanda/debug --with-shared --with-db=db \
--with-debug-days=28 --with-gnutar=/bin/tar
However the build failed with some significant errors. I've attached the
compiler output from running 'make' on the raq-4i in the file called
'errf' so you can look at the errors and see what might be wrong.
The system type information returned by 'uname -a' on the raq-4i is:
Linux ziri.apana.org.au 2.2.16C37_III #1 Sat Apr 12 14:54:32 PDT 2003 i586
unknown
and before you comment on the kernel version, that's the most up to date
Linux kernel that's available for the raq-4i unless I totally replace the
standard Linux with a more recent OS offering. 8-)
Craig.
Making all in gnulib
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake all-am
gmake[2]: Entering directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/gnulib'
Making all in config
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake all-am
gmake[2]: Entering directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/config'
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/config'
Making all in common-src
gmake[1]: Entering directory `/home/root/azwan/amanda-2.5.2p1/common-src'
source='bsd-security.c' object='bsd-security.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../config -I../gnulib -Wall -W -Wparentheses -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Wformat -Wsign-compare
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c -o bsd-security.lo bsd-security.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../gnulib -Wall -W -Wparentheses
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat
-Wsign-compare -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c bsd-security.c
-Wp,-MD,.deps/bsd-security.TPlo -fPIC -DPIC -o .libs/bsd-security.o
In file included from bsd-security.c:33:
util.h:45: parse error before `in_port_t'
util.h:46: warning: function declaration isn't a prototype
util.h:47: parse error before `in_port_t'
util.h:48: warning: function declaration isn't a prototype
In file included from bsd-security.c:35:
dgram.h:51: parse error before `in_port_t'
dgram.h:51: warning: function declaration isn't a prototype
In file included from security-util.h:35,
from bsd-security.c:39:
stream.h:40: parse error before `*'
stream.h:40: warning: function declaration isn't a prototype
stream.h:43: parse error before `in_port_t'
stream.h:47: warning: function declaration isn't a prototype
stream.h:49: parse error before `in_port_t'
stream.h:53: warning: function declaration isn't a prototype
In file included from bsd-security.c:39:
security-util.h:136: parse error before `in_port_t'
security-util.h:136: warning: no semicolon at end of struct or union
security-util.h:139: parse error before `}'
security-util.h:253: parse error before `in_port_t'
security-util.h:253: warning: function declaration isn't a prototype
bsd-security.c: In function `bsd_connect':
bsd-security.c:132: `in_port_t' undeclared (first use in this function)
bsd-security.c:132: (Each undeclared identifier is reported only once
bsd-security.c:132: for each function it appears in.)
bsd-security.c:132: parse error before `port'
bsd-security.c:223: `port' undeclared (first use in this function)
bsd-security.c:252: parse error before `10080'
bsd-security.c:254: parse error before `ntohs'
bsd-security.c: In function `bsd_stream_server':
bsd-security.c:364: dereferencing pointer to incomplete type
bsd-security.c:365: dereferencing pointer to incomplete type
bsd-security.c:366: dereferencing pointer to incomplete type
bsd-security.c:366: dereferencing pointer to incomplete type
bsd-security.c:368: dereferencing pointer to incomplete type
bsd-security.c:374: dereferencing pointer to incomplete type
bsd-security.c:375: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_accept':
bsd-security.c:393: dereferencing pointer to incomplete type
bsd-security.c:393: dereferencing pointer to incomplete type
bsd-security.c:394: dereferencing pointer to incomplete type
bsd-security.c:395: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_client':
bsd-security.c:418: dereferencing pointer to incomplete type
bsd-security.c:419: dereferencing pointer to incomplete type
bsd-security.c:420: dereferencing pointer to incomplete type
bsd-security.c:420: `in_port_t' undeclared (first use in this function)
bsd-security.c:420: parse error before `id'
bsd-security.c:422: dereferencing pointer to incomplete type
bsd-security.c:429: dereferencing pointer to incomplete type
bsd-security.c:430: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_close':
bsd-security.c:448: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:449: dereferencing pointer to incomplete type
bsd-security.c:450: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c:451: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_id':
bsd-security.c:479: dereferencing pointer to incomplete type
bsd-security.c:480: warning: control reaches end of non-void function
bsd-security.c: In function `bsd_stream_read':
bsd-security.c:497: dereferencing pointer to incomplete type
bsd-security.c:498: dereferencing pointer to incomplete type
bsd-security.c:500: dereferencing pointer to incomplete type
bsd-security.c:500: dereferencing pointer to incomplete type
bsd-security.c:501: dereferencing pointer to incomplete type
bsd-security.c:502: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_read_sync':
bsd-security.c:520: dereferencing pointer to incomplete type
bsd-security.c:523: dereferencing pointer to incomplete type
bsd-security.c:523: dereferencing pointer to incomplete type
bsd-security.c:525: dereferencing pointer to incomplete type
bsd-security.c:526: dereferencing pointer to incomplete type
bsd-security.c:527: dereferencing pointer to incomplete type
bsd-security.c: In function `stream_read_sync_callback':
bsd-security.c:544: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:551: dereferencing pointer to incomplete type
bsd-security.c:554: dereferencing pointer to incomplete type
bsd-security.c:555: dereferencing pointer to incomplete type
bsd-security.c: In function `bsd_stream_read_cancel':
bsd-security.c:569: dereferencing pointer to incomplete type
bsd-security.c:570: dereferencing pointer to incomplete type
bsd-security.c:571: dereferencing pointer to incomplete type
bsd-security.c: In function `stream_read_callback':
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:592: dereferencing pointer to incomplete type
bsd-security.c:596: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
bsd-security.c:598: dereferencing pointer to incomplete type
gmake[1]: *** [bsd-security.lo] Error 1
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/common-src'
gmake: *** [all-recursive] Error 1