Amanda-Users

Re: Amanda on a Cobalt Raq-4 web server?

2008-04-25 08:42:57
Subject: Re: Amanda on a Cobalt Raq-4 web server?
From: Craig Dewick <cdewick AT lios.apana.org DOT au>
Date: Fri, 25 Apr 2008 22:38:09 +1000 (EST)

Hi everyone,

Ok I've had another go at compiling Amanda (2.5.2p1 is the source version I have in use on other systems at present) on my Cobalt Raq-4i system, and it's aborted when compiling dgram.c like this:

---- start ----

source='dgram.c' object='dgram.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 dgram.lo dgram.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 dgram.c -Wp,-MD,.deps/dgram.TPlo -fPIC -DPIC -o .libs/dgram.o

gram.c: In function `dgram_bind':
dgram.c:83: structure has no member named `ss_family'
dgram.c: In function `dgram_send_addr':
dgram.c:167: structure has no member named `ss_family'
gmake[1]: *** [dgram.lo] Error 1
gmake[1]: Leaving directory `/home/root/azwan/amanda-2.5.2p1/common-src'
gmake: *** [all-recursive] Error 1

---- stop ----

Looks like it could be a coding error, but it might be something triggered by the specific version of Linux that the Cobalt server is running, or the version of gcc provided with it.

If it helps, this is the configure script I'm using on the system to set up things prior to running 'make':

sh ./configure --with-user=amanda --with-group=sys --with-amandahosts \
        --with-tmpdir=/var/amanda/tmp --with-config=ORBnet --without-server \
        --with-debugging=/var/amanda/debug --with-shared --with-db=text \
        --with-debug-days=28 --with-gnutar=/bin/tar --without-ipv6

Regards,

Craig.

--
Post by Craig Dewick (tm). Web @ "http://lios.apana.org.au/~cdewick";.
Email 2 "cdewick AT lios.apana.org DOT au". SunShack @ "http://www.sunshack.org";
Galleries @ "http://www.sunshack.org/gallery2";. Also lots of tech data, etc.
Sun Microsystems webring at "http://n.webring.com/hub?ring=sunmicrosystemsu";.

<Prev in Thread] Current Thread [Next in Thread>