I get the following when I try to build amanda on a Ultra Sparc running
SUNOS 10. It's probably something simple that I'm just overlooking. My
configure command was "./configure --with-user=amanda --with-group=staff
--without-server"
Thanks
bash-3.00$ make
Making all in config
make all-am
Making all in common-src
if /bin/bash ../libtool --tag=CC --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 -MT alloc.lo -MD -MP -MF ".deps/alloc.Tpo" -c -o alloc.lo alloc.c; \
then mv -f ".deps/alloc.Tpo" ".deps/alloc.Plo"; else rm -f
".deps/alloc.Tpo"; exit 1; fi 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 -MT alloc.lo -MD -MP
-MF .deps/alloc.Tpo -c alloc.c -fPIC -DPIC -o .libs/alloc.o In file
included from /usr/include/wait.h:14,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/nclude/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token In
file included from /usr/include/sys/procset.h:24,
from /usr/include/wait.h:15,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/wait.h:16,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from amanda.h:182,
from alloc.c:33:
/usr/include/wait.h:26: error: parse error before "siginfo_t"
In file included from amanda.h:238,
from alloc.c:33:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `alloc.lo'
Current working directory /home/amanda/amanda-2.5.0/common-src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='config common-src tape-src client-src dumper-src server-src
changer-src restore-src recover-src man docs example'; for subdir
in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
__________________________________________________________
Message transport security by GatewayDefender.com
11:11:09 AM ET - 4/4/2006
|