Sorry had to repost it again, as I wasn’t
registered.
Thanks
Maunir Shah
630-285-5875 - desk
630-550-6266 - cell
From:
Sent: Wednesday, June 07, 2006
12:05 PM
To: 'syslog-ng@lists.balabit.hu'
Subject: Syslog-ng-1.9.11 for
Solaris 10
We have a created a zone in Solaris 10 but I’m
installing this software on the parent server or the global zone and I was able
to compile libol-0.3.18 just fine. But I’m running into issues
while I do a “make” for Syslog-ng-1.9.11 and attach is the error
output, which I can’t seem to find any solutions on the web. Any
help would be appreciated….
ke-nms06:root:#make
make all-recursive
Making all in src
if gcc -DHAVE_CONFIG_H -I. -
-c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \
then mv -f ".deps/misc.Tpo"
".deps/misc.Po"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -
-c -o utils.o `test -f 'utils.c' || echo
'./'`utils.c; \
then mv -f ".deps/utils.Tpo"
".deps/utils.Po"; \
else rm -f ".deps/utils.Tpo"; exit 1; \
fi
--------more successful output--------------
if gcc -DHAVE_CONFIG_H -I. -
-c -o afunix.o `test -f 'afunix.c' || echo
'./'`afunix.c; \
then mv -f ".deps/afunix.Tpo" ".deps/afunix.Po";
\
else rm -f ".deps/afunix.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -
-c -o afinet.o `test -f 'afinet.c' || echo
'./'`afinet.c; \
then mv -f ".deps/afinet.Tpo"
".deps/afinet.Po"; \
else rm -f ".deps/afinet.Tpo"; exit 1; \
fi
afinet.c: In function `afinet_resolve_name':
afinet.c:81: warning: implicit declaration of function
`memset'
afinet.c: In function `afinet_setup_socket':
afinet.c:156: error: `SOL_IP' undeclared (first use in this
function)
afinet.c:156: error: (Each undeclared identifier is reported
only once
afinet.c:156: error: for each function it appears in.)
afinet.c:181: error: request for member `_S6_un' in
something not a structure or union
afinet.c:188: error: `SOL_IPV6' undeclared (first use in
this function)
*** Error code 1
make: Fatal error: Command failed for target `afinet.o'
Current working directory /usr/dist/syslog-ng-1.9.11/src
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src tests doc contrib'; 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)
\
|| case "$amf" in *=*) exit 1;; *k*)
fail=yes;; *) exit 1;; esac; \
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'
Current working directory /usr/dist/syslog-ng-1.9.11
*** Error code 1
make: Fatal error: Command failed for target `all'
ke-nms06:root:#
Maunir Shah
630-285-5875 - desk
630-550-6266 - cell