Hello there,

Ran ./configure  --with-user=bin --with-group=sys

seemingly successfully, then "# make clean" but when 
I ran "# make" I saw some errors that prevented the
build from completing.

humm, I suppose I should ask if there is a newer version
I should be building. I replaced 2.2.6 with 2.4.1p1 which
was built some time ago for a different amanda server on
site. The newer version ran successfully but apparently
doesn't have the chunksize that allows larger dumps to
go via the spool area and we ended up with several large/slow
direct to tape dumps.

By the way, this exact source compliled cleanly and is running
on the SGI amanda servers, my error is something specific to
my Sun machine or my parameters.

[newton] /tmp/amanda.new 23> make
Making all in config
Making all in common-src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config 
-I./../regex-src  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2 -c alloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -c alloc.c -o 
alloc.o
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from amanda.h:105,
                 from alloc.c:33:
/usr/include/sys/model.h:35: parse error before `/'
In file included from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from amanda.h:105,
                 from alloc.c:33:
/usr/include/sys/stream.h:92: parse error before `}'
/usr/include/sys/stream.h:92: warning: data definition has no type or storage class
/usr/include/sys/stream.h:216: parse error before `queue_t'
/usr/include/sys/stream.h:216: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:218: warning: data definition has no type or storage class
/usr/include/sys/stream.h:220: parse error before `}'
/usr/include/sys/stream.h:274: parse error before `queue_t'
/usr/include/sys/stream.h:274: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:275: warning: data definition has no type or storage class
/usr/include/sys/stream.h:425: parse error before `mblk_t'
/usr/include/sys/stream.h:425: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:427: parse error before `}'
/usr/include/sys/stream.h:463: parse error before `mblk_t'
/usr/include/sys/stream.h:463: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:466: parse error before `}'
/usr/include/sys/stream.h:479: field `copyreq' has incomplete type
/usr/include/sys/stream.h:480: field `copyresp' has incomplete type
*** Error code 1
make: Fatal error: Command failed for target `alloc.lo'
Current working directory /tmp/amanda.new/common-src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Any and all advice welcomed.

                                                thanks,

                                                Brian

---
   Brian R Cuttler                 [EMAIL PROTECTED]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773

Reply via email to