[syslog-ng] 2.0.9 Solaris 10 x86 compilation error: loggen/yylex issue

Marvin.Nipper at Stream.com Marvin.Nipper at Stream.com
Fri Apr 4 17:50:31 CEST 2008


I see in the archives that someone else, in a prior version, had
encountered the problem of not being able to get a good compile on Solaris
10, but I never saw any resolution to that issue.  I'm having the same
problem now with 2.0.9.  The last request (from bazsi, in the email of Wed
Mar 12 11:08:36 CET 2008) was to check the cfg-lex.c file, to ensure that
it was not zero length.  I checked mine, and it is 56023 in size (slightly
larger than the one used with my successful 2.0.5 compilation).

In short, I guess I'm just looking for some input/guidance as to what may
not be "quite right" in 2.0.9, that would make it no longer compile on my
server (where 2.0.5 obviously did compile).

Any and all help appreciated!  Obviously, I'll gladly feed you any files
or information that would assist in problem solving.  Below, is the
portion of the make output at the point where things fall apart.

As further input, I'm using libnet (for source-spoofing) and obviously
using the most current EventLog (that hasn't changed since my 2.0.5
compilation).  I'm using the glib components delivered with Solaris 10
(again, as was done in 2.0.5).

THANKS for your input and help!

Portion of the make that failed.......
gcc  -g -O2 -Wall   -o loggen  loggen.o  -lpthread -lresolv -lnsl -lrt
-lsocket -ldoor  -lfl -lglib-2.0   -L/usr/local/lib -levtlog   -lsocket
-lnsl -lnet
Undefined                       first referenced
 symbol                             in file
yylex
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../libfl.so
ld: fatal: Symbol referencing errors. No output written to loggen
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `loggen'
Current working directory /var/opt/packages/syslog-ng-2.0.9/tests/loggen
*** 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='unit functional loggen'; 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 /var/opt/packages/syslog-ng-2.0.9/tests
*** 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 solbuild tgzbuild'; 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 /var/opt/packages/syslog-ng-2.0.9
*** Error code 1
make: Fatal error: Command failed for target `all'

Marvin Nipper
Director of Security
Stream
mailto:marvin.nipper at stream.com
PGP Key ID: 0x8EE28551 (DSS/DH)
8C5D 403A D107 0A95 672B  B637 BCF1 919A 8EE2 8551

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20080404/0ba01ac8/attachment.htm 


More information about the syslog-ng mailing list