[rancid] Erro with Rancid on solaris 10.
Fabio Santos
fabizs at yahoo.com
Wed Jun 1 17:42:10 UTC 2016
Hi all,
I'm trying to compile the rancid 3.4.1 on solaris 10 sparc, but i'm experience some erros, see:
bash-3.2#make
Making allin .
Making allin include
/usr/ccs/bin/make all-am
Making allin etc
Making allin lib
Making allin bin
gcc-DHAVE_CONFIG_H -I. -I../include -g-O0 -D__EXTENSIONS__ -MT par.o -MD -MP -MF .deps/par.Tpo -c -o par.o par.c
par.c: Infunction `asprintf':
par.c:141:error: syntax error before '{' token
par.c:143:error: storage class specified for parameter `optind'
par.c:147:error: parameter `cmd' is initialized
par.c:148:error: parameter `args' is initialized
par.c:152:error: syntax error before "if"
par.c:434:error: parameter `len' is initialized
par.c:437:error: syntax error before "while"
par.c:487: error:parameter `len' is initialized
par.c:487:error: redefinition of parameter 'len'
par.c:434:error: previous definition of 'len' was here
par.c:488:error: parameter `tick' is initialized
par.c:489:error: redefinition of parameter 'ptr'
par.c:435:error: previous definition of 'ptr' was here
par.c:494:error: syntax error before "if"
par.c:700:error: storage class specified for parameter `cmd_num'
par.c:700:error: parameter `cmd_num' is initialized
par.c:703:error: syntax error before "sigprocmask"
par.c:728:error: redefinition of parameter 't'
par.c:144:error: previous definition of 't' was here
par.c:731:error: syntax error before "if"
par.c:801:error: parameter `argn' is initialized
par.c:802:error: conflicting types for 'b'
par.c:490:error: previous definition of 'b' was here
par.c:803:error: conflicting types for 'c'
par.c:490:error: previous definition of 'c' was here
par.c:805:error: parameter `nargs' is initialized
par.c:806:error: parameter `quotes' is initialized
par.c:808:error: syntax error before "if"
par.c:932:error: redefinition of parameter 'buf'
par.c:491:error: previous definition of 'buf' was here
par.c:934:error: syntax error before "if"
par.c:1065:error: syntax error before "if"
par.c:1108:error: redefinition of parameter 'status'
par.c:727:error: previous definition of 'status' was here
par.c:1109:error: redefinition of parameter 't'
par.c:728:error: previous definition of 't' was here
par.c:1112:error: syntax error before "if"
par.c:1184:error: redefinition of parameter 'status'
par.c:1108:error: previous definition of 'status' was here
par.c:1185:error: redefinition of parameter 't'
par.c:1109:error: previous definition of 't' was here
par.c:1188:error: syntax error before "if"
par.c:1259:error: redefinition of parameter 'status'
par.c:1184:error: previous definition of 'status' was here
par.c:1261:error: syntax error before "if"
par.c:1345:error: redefinition of parameter 't'
par.c:1185:error: previous definition of 't' was here
par.c:1348:error: syntax error before "sigprocmask"
*** Errorcode 1
make: Fatalerror: Command failed for target `par.o'
Currentworking directory /tmp/rancid-3.4.1/bin
*** Errorcode 1
Thefollowing command caused the error:
fail=; \
if(target_option=k; case ${target_option-} in ?) ;; *) echo"am__make_running_with_option: internal error: invalid" "target option '${target_option-}'specified" >&2; exit1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if{ if test -z ''; then false; elif test -n ''; then true; elif test -n '' && test -n '';then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n'"$MAKEFLAGS" | sed"s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt() { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; forflg in $sane_makeflags; do test$skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I)strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O)strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l)strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT])skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no;\
target=`echoall-recursive | sed s/-recursive//`; \
case"all-recursive" in \
distclean-* | maintainer-clean-*) list='.include etc lib bin man share' ;; \
*) list='. include etc lib bin man share' ;;\
esac; \
for subdirin $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = ".";then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(CDPATH="${ZSH_VERSION+.}:"&& cd $subdir && /usr/ccs/bin/make $local_target) \
|| eval $failcom; \
done; \
if test"$dot_seen" = "no"; then \
/usr/ccs/bin/make "$target-am" || exit 1; \
fi; test -z"$fail"
make: Fatalerror: Command failed for target `all-recursive'
bash-3.2#
someone had same problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160601/0cfb7b8d/attachment.html>
More information about the Rancid-discuss
mailing list