[syslog-ng]Syslog-ng on Sol10 Compile problems...
Smith, James
syslog-ng@lists.balabit.hu
Thu, 24 Mar 2005 10:20:53 -0500
ok, I admit, I'm not great at compiling. Has anyone had any issues with
getting syslog-ng to compile on Solaris10? I'm getting the following, but
am not sure how to go about solving the issue. I'm compiling on an E3500
with gcc3.4.2, libol-0.3.15, and syslog-ng-1.6.6
gcc -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -o syslog-ng
main.o sources.o center.o filters.o destinations.o log.o cfgfile.o
cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o
afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o
syslog-names.o macros.o -lpthread -lnsl -lsocket -ldoor -lresolv
/usr/local/lib/libol.a -lsocket -lnsl -lxnet -Wl,-Bstatic -ll
-Wl,-Bdynamic
ld: fatal: library -ll: not found
ld: fatal: File processing errors. No output written to syslog-ng
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `syslog-ng'
Current working directory /tmp/syslog-ng-1.6.6/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='. tests'; 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 /tmp/syslog-ng-1.6.6/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/syslog-ng-1.6.6/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 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'