RE: Syslog-ng-1.9.11 for Solaris 10
Sorry had to repost it again, as I wasn't registered. Thanks Maunir Shah 630-285-5875 - desk 630-550-6266 - cell ________________________________ From: Shah, Maunir 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. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \ -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. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \ -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. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afunix.o -MD -MP -MF ".deps/afunix.Tpo" \ -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. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \ -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 ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ********************************************************************************
On Wed, 2006-06-07 at 12:56 -0500, Shah, Maunir wrote:
-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)
I have already fixed this in the latest snapshots, alternatively you could disable ipv6 support by using --disable-ipv6 configure option. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Shah, Maunir