[syslog-ng] make fails with syslog-ng 2.0.6 --enable-source-spoof

David Rice david.l.rice at gmail.com
Mon Jan 7 18:21:12 CET 2008


Here's the complete output of the make, I've also added the -lwrap to the
LDFLAGS

bash-3.00# make
make  all-recursive
Making all in src
source='misc.c' object='misc.o' libtool=no \
depfile='.deps/misc.Po' tmpdepfile='.deps/misc.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f 'misc.c'
|| echo './'`misc.c
source='utils.c' object='utils.o' libtool=no \
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
utils.c' || echo './'`utils.c
source='messages.c' object='messages.o' libtool=no \
depfile='.deps/messages.Po' tmpdepfile='.deps/messages.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
messages.c' || echo './'`messages.c
messages.c: In function `msg_send_internal_message':
messages.c:58: warning: int format, pid_t arg (arg 3)
source='syslog-names.c' object='syslog-names.o' libtool=no \
depfile='.deps/syslog-names.Po' tmpdepfile='.deps/syslog-names.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
syslog-names.c' || echo './'`syslog-names.c
source='cfg.c' object='cfg.o' libtool=no \
depfile='.deps/cfg.Po' tmpdepfile='.deps/cfg.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f 'cfg.c'
|| echo './'`cfg.c
source='cfg-lex.c' object='cfg-lex.o' libtool=no \
depfile='.deps/cfg-lex.Po' tmpdepfile='.deps/cfg-lex.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
cfg-lex.c' || echo './'`cfg-lex.c
source='cfg-grammar.c' object='cfg-grammar.o' libtool=no \
depfile='.deps/cfg-grammar.Po' tmpdepfile='.deps/cfg-grammar.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
cfg-grammar.c' || echo './'`cfg-grammar.c
source='macros.c' object='macros.o' libtool=no \
depfile='.deps/macros.Po' tmpdepfile='.deps/macros.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
macros.c' || echo './'`macros.c
source='filter.c' object='filter.o' libtool=no \
depfile='.deps/filter.Po' tmpdepfile='.deps/filter.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
filter.c' || echo './'`filter.c
source='logmsg.c' object='logmsg.o' libtool=no \
depfile='.deps/logmsg.Po' tmpdepfile='.deps/logmsg.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
logmsg.c' || echo './'`logmsg.c
source='logpipe.c' object='logpipe.o' libtool=no \
depfile='.deps/logpipe.Po' tmpdepfile='.deps/logpipe.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
logpipe.c' || echo './'`logpipe.c
source='logsource.c' object='logsource.o' libtool=no \
depfile='.deps/logsource.Po' tmpdepfile='.deps/logsource.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
logsource.c' || echo './'`logsource.c
source='driver.c' object='driver.o' libtool=no \
depfile='.deps/driver.Po' tmpdepfile='.deps/driver.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
driver.c' || echo './'`driver.c
source='sgroup.c' object='sgroup.o' libtool=no \
depfile='.deps/sgroup.Po' tmpdepfile='.deps/sgroup.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
sgroup.c' || echo './'`sgroup.c
source='dgroup.c' object='dgroup.o' libtool=no \
depfile='.deps/dgroup.Po' tmpdepfile='.deps/dgroup.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
dgroup.c' || echo './'`dgroup.c
source='center.c' object='center.o' libtool=no \
depfile='.deps/center.Po' tmpdepfile='.deps/center.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
center.c' || echo './'`center.c
source='templates.c' object='templates.o' libtool=no \
depfile='.deps/templates.Po' tmpdepfile='.deps/templates.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
templates.c' || echo './'`templates.c
source='logreader.c' object='logreader.o' libtool=no \
depfile='.deps/logreader.Po' tmpdepfile='.deps/logreader.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
logreader.c' || echo './'`logreader.c
source='logwriter.c' object='logwriter.o' libtool=no \
depfile='.deps/logwriter.Po' tmpdepfile='.deps/logwriter.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
logwriter.c' || echo './'`logwriter.c
source='affile.c' object='affile.o' libtool=no \
depfile='.deps/affile.Po' tmpdepfile='.deps/affile.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
affile.c' || echo './'`affile.c
source='afstreams.c' object='afstreams.o' libtool=no \
depfile='.deps/afstreams.Po' tmpdepfile='.deps/afstreams.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afstreams.c' || echo './'`afstreams.c
source='afuser.c' object='afuser.o' libtool=no \
depfile='.deps/afuser.Po' tmpdepfile='.deps/afuser.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afuser.c' || echo './'`afuser.c
source='afprog.c' object='afprog.o' libtool=no \
depfile='.deps/afprog.Po' tmpdepfile='.deps/afprog.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afprog.c' || echo './'`afprog.c
source='afsocket.c' object='afsocket.o' libtool=no \
depfile='.deps/afsocket.Po' tmpdepfile='.deps/afsocket.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afsocket.c' || echo './'`afsocket.c
source='afunix.c' object='afunix.o' libtool=no \
depfile='.deps/afunix.Po' tmpdepfile='.deps/afunix.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afunix.c' || echo './'`afunix.c
source='afinet.c' object='afinet.o' libtool=no \
depfile='.deps/afinet.Po' tmpdepfile='.deps/afinet.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afinet.c' || echo './'`afinet.c
source='afinter.c' object='afinter.o' libtool=no \
depfile='.deps/afinter.Po' tmpdepfile='.deps/afinter.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
afinter.c' || echo './'`afinter.c
source='children.c' object='children.o' libtool=no \
depfile='.deps/children.Po' tmpdepfile='.deps/children.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
children.c' || echo './'`children.c
source='stats.c' object='stats.o' libtool=no \
depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
stats.c' || echo './'`stats.c
source='gsockaddr.c' object='gsockaddr.o' libtool=no \
depfile='.deps/gsockaddr.Po' tmpdepfile='.deps/gsockaddr.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
gsockaddr.c' || echo './'`gsockaddr.c
source='fdwrite.c' object='fdwrite.o' libtool=no \
depfile='.deps/fdwrite.Po' tmpdepfile='.deps/fdwrite.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
fdwrite.c' || echo './'`fdwrite.c
source='fdread.c' object='fdread.o' libtool=no \
depfile='.deps/fdread.Po' tmpdepfile='.deps/fdread.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
fdread.c' || echo './'`fdread.c
source='memtrace.c' object='memtrace.o' libtool=no \
depfile='.deps/memtrace.Po' tmpdepfile='.deps/memtrace.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
memtrace.c' || echo './'`memtrace.c
source='dnscache.c' object='dnscache.o' libtool=no \
depfile='.deps/dnscache.Po' tmpdepfile='.deps/dnscache.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f '
dnscache.c' || echo './'`dnscache.c
rm -f libsyslog-ng.a
ar cru libsyslog-ng.a misc.o utils.o  messages.o syslog-names.o cfg.o
cfg-lex.o cfg-grammar.o macros.o  filter.o logmsg.o logpipe.o  logsource.o
driver.o sgroup.o  dgroup.o center.o templates.o  logreader.o logwriter.o
affile.o  afstreams.o afuser.o afprog.o  afsocket.o afunix.o afinet.o
afinter.o children.o stats.o  gsockaddr.o fdwrite.o fdread.o  memtrace.o
dnscache.o
: libsyslog-ng.a
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=none /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/glib-2.0-I/usr/local/lib/glib-
2.0/include   -I/usr/local/include/eventlog    -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall -c `test -f 'main.c'
|| echo './'`main.c
gcc  -g -O2 -Wall   -o syslog-ng  main.o libsyslog-ng.a -lpthread -lresolv
-lnsl -lrt -lsocket -ldoor  -lfl -L/usr/local/lib -lglib-2.0 -liconv
-L/usr/local/lib -levtlog    -lwrap
Undefined                       first referenced
 symbol                             in file
libnet_clear_packet                 libsyslog-ng.a(afinet.o)
libnet_geterror                     libsyslog-ng.a(afinet.o)
libnet_toggle_checksum              libsyslog-ng.a(afinet.o)
libnet_build_udp                    libsyslog-ng.a(afinet.o)
libnet_init                         libsyslog-ng.a(afinet.o)
libnet_build_ipv4                   libsyslog-ng.a(afinet.o)
libnet_build_ipv6                   libsyslog-ng.a(afinet.o)
libnet_write                        libsyslog-ng.a(afinet.o)
ld: fatal: Symbol referencing 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 /export/home/ua03063/Syslog-ng/syslog-ng-2.0.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 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 /export/home/ua03063/Syslog-ng/syslog-ng-2.0.6
*** Error code 1
make: Fatal error: Command failed for target `all'

On Jan 7, 2008 9:18 AM, Balazs Scheidler <bazsi at balabit.hu> wrote:

>
> On Mon, 2008-01-07 at 08:19 -0700, David Rice wrote:
> > I'm having problems with the make when installing syslog-ng 2.0.6 on
> > Solaris 10 x86
>
> Probably the error is prior to the quoted output you made. The listing
> that you pasted here is only the consequence of a compilation error that
> happened earlier.
>
>
> --
> Bazsi
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20080107/0fc3a9a7/attachment-0001.htm 


More information about the syslog-ng mailing list