<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>RE: [syslog-ng] syslog-ng 1.9.6 compile error</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>MANY thanks on the time-related fixes. The 1.9.6 compilations seemed to go great in that regard. But then it generated an error much further down in the compilation process. Maybe it's just something stupid that I've done(??). Your input would be appreciated. (The config and a chunk of the compilation output is pasted in below.)</FONT></P>
<P><FONT SIZE=2>THANKS for all of the great work on the new version.</FONT>
</P>
<P><FONT SIZE=2>Marvin</FONT>
</P>
<BR>
<P><FONT SIZE=2>./configure</FONT>
<BR><FONT SIZE=2>checking for a BSD-compatible install... ./install-sh -c</FONT>
<BR><FONT SIZE=2>checking whether build environment is sane... yes</FONT>
<BR><FONT SIZE=2>checking for gawk... no</FONT>
<BR><FONT SIZE=2>checking for mawk... no</FONT>
<BR><FONT SIZE=2>checking for nawk... nawk</FONT>
<BR><FONT SIZE=2>checking whether make sets $(MAKE)... yes</FONT>
<BR><FONT SIZE=2>checking for gcc... gcc</FONT>
<BR><FONT SIZE=2>checking for C compiler default output file name... a.out</FONT>
<BR><FONT SIZE=2>checking whether the C compiler works... yes</FONT>
<BR><FONT SIZE=2>checking whether we are cross compiling... no</FONT>
<BR><FONT SIZE=2>checking for suffix of executables...</FONT>
<BR><FONT SIZE=2>checking for suffix of object files... o</FONT>
<BR><FONT SIZE=2>checking whether we are using the GNU C compiler... yes</FONT>
<BR><FONT SIZE=2>checking whether gcc accepts -g... yes</FONT>
<BR><FONT SIZE=2>checking for gcc option to accept ANSI C... none needed</FONT>
<BR><FONT SIZE=2>checking for style of include used by make... GNU</FONT>
<BR><FONT SIZE=2>checking dependency style of gcc... gcc3</FONT>
<BR><FONT SIZE=2>checking for gcc option to accept ANSI C... none needed</FONT>
<BR><FONT SIZE=2>checking for bison... no</FONT>
<BR><FONT SIZE=2>checking for byacc... no</FONT>
<BR><FONT SIZE=2>checking for flex... no</FONT>
<BR><FONT SIZE=2>checking for lex... lex</FONT>
<BR><FONT SIZE=2>checking for yywrap in -lfl... no</FONT>
<BR><FONT SIZE=2>checking for yywrap in -ll... yes</FONT>
<BR><FONT SIZE=2>checking lex output file root... lex.yy</FONT>
<BR><FONT SIZE=2>checking whether yytext is a pointer... no</FONT>
<BR><FONT SIZE=2>checking whether make sets $(MAKE)... (cached) yes</FONT>
<BR><FONT SIZE=2>checking for ranlib... ranlib</FONT>
<BR><FONT SIZE=2>checking how to enable static linking for certain libraries... GNU or Solaris</FONT>
<BR><FONT SIZE=2>checking how to run the C preprocessor... gcc -E</FONT>
<BR><FONT SIZE=2>checking for egrep... egrep</FONT>
<BR><FONT SIZE=2>checking for ANSI C header files... yes</FONT>
<BR><FONT SIZE=2>checking for sys/types.h... yes</FONT>
<BR><FONT SIZE=2>checking for sys/stat.h... yes</FONT>
<BR><FONT SIZE=2>checking for stdlib.h... yes</FONT>
<BR><FONT SIZE=2>checking for string.h... yes</FONT>
<BR><FONT SIZE=2>checking for memory.h... yes</FONT>
<BR><FONT SIZE=2>checking for strings.h... yes</FONT>
<BR><FONT SIZE=2>checking for inttypes.h... yes</FONT>
<BR><FONT SIZE=2>checking for stdint.h... no</FONT>
<BR><FONT SIZE=2>checking for unistd.h... yes</FONT>
<BR><FONT SIZE=2>checking dmalloc.h usability... no</FONT>
<BR><FONT SIZE=2>checking dmalloc.h presence... no</FONT>
<BR><FONT SIZE=2>checking for dmalloc.h... no</FONT>
<BR><FONT SIZE=2>checking for strings.h... (cached) yes</FONT>
<BR><FONT SIZE=2>checking openssl/ssl.h usability... no</FONT>
<BR><FONT SIZE=2>checking openssl/ssl.h presence... no</FONT>
<BR><FONT SIZE=2>checking for openssl/ssl.h... no</FONT>
<BR><FONT SIZE=2>checking getopt.h usability... no</FONT>
<BR><FONT SIZE=2>checking getopt.h presence... no</FONT>
<BR><FONT SIZE=2>checking for getopt.h... no</FONT>
<BR><FONT SIZE=2>checking whether struct tm is in sys/time.h or time.h... time.h</FONT>
<BR><FONT SIZE=2>checking for struct tm.tm_gmtoff... no</FONT>
<BR><FONT SIZE=2>checking for door_create in -ldoor... yes</FONT>
<BR><FONT SIZE=2>checking for socket in -lsocket... yes</FONT>
<BR><FONT SIZE=2>checking for gethostbyname in -lnsl... yes</FONT>
<BR><FONT SIZE=2>checking for regexec in -lregex... no</FONT>
<BR><FONT SIZE=2>checking for strdup... yes</FONT>
<BR><FONT SIZE=2>checking for strtol... yes</FONT>
<BR><FONT SIZE=2>checking for inet_aton... no</FONT>
<BR><FONT SIZE=2>checking for inet_ntoa... yes</FONT>
<BR><FONT SIZE=2>checking for getopt_long... no</FONT>
<BR><FONT SIZE=2>checking for pkg-config... /usr/local/bin/pkg-config</FONT>
<BR><FONT SIZE=2>checking pkg-config is at least version 0.9.0... yes</FONT>
<BR><FONT SIZE=2>checking for GLIB_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include</FONT>
<BR><FONT SIZE=2>checking for GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -liconv</FONT>
<BR><FONT SIZE=2>checking for EVTLOG_CFLAGS... -I/usr/local/include/eventlog</FONT>
<BR><FONT SIZE=2>checking for EVTLOG_LIBS... -L/usr/local/lib -levtlog</FONT>
<BR><FONT SIZE=2>checking for static GLib libraries... yes</FONT>
<BR><FONT SIZE=2>configure: creating ./config.status</FONT>
<BR><FONT SIZE=2>config.status: creating dist.conf</FONT>
<BR><FONT SIZE=2>config.status: creating Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating src/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating doc/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating doc/docvars.xml</FONT>
<BR><FONT SIZE=2>config.status: creating contrib/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating tests/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating tests/unit/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating tests/functional/Makefile</FONT>
<BR><FONT SIZE=2>config.status: creating config.h</FONT>
<BR><FONT SIZE=2>config.status: executing depfiles commands</FONT>
<BR><FONT SIZE=2>secdevrsn01 # make</FONT>
<BR><FONT SIZE=2>make all-recursive</FONT>
<BR><FONT SIZE=2>Making all in src</FONT>
<BR><FONT SIZE=2>if 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 -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \</FONT></P>
<P><FONT SIZE=2> -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \</FONT>
<BR><FONT SIZE=2>then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \</FONT>
<BR><FONT SIZE=2>else rm -f ".deps/misc.Tpo"; exit 1; \</FONT>
<BR><FONT SIZE=2>fi</FONT>
</P>
<P><FONT SIZE=2>...... numerous successful compiles in here......</FONT>
</P>
<P><FONT SIZE=2>rm -f libsyslog-ng.a</FONT>
<BR><FONT SIZE=2>ar cru libsyslog-ng.a misc.o utils.o messages.o gsockaddr.o syslog-names.o macros.o logmsg.o cfg.o logpipe.o driver.o sgroup.o dgroup.o center.o filter.o logsource.o logreader.o logwriter.o affile.o afunix.o afinet.o afsocket.o afstreams.o afuser.o afprog.o afinter.o cfg-lex.o cfg-grammar.o fdwrite.o fdread.o memtrace.o templates.o children.o</FONT></P>
<P><FONT SIZE=2>ranlib libsyslog-ng.a</FONT>
<BR><FONT SIZE=2>if 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 -g -O2 -Wall -g -MT main.o -MD -MP -MF ".deps/main.Tpo" \</FONT></P>
<P><FONT SIZE=2> -c -o main.o `test -f 'main.c' || echo './'`main.c; \</FONT>
<BR><FONT SIZE=2>then mv -f ".deps/main.Tpo" ".deps/main.Po"; \</FONT>
<BR><FONT SIZE=2>else rm -f ".deps/main.Tpo"; exit 1; \</FONT>
<BR><FONT SIZE=2>fi</FONT>
<BR><FONT SIZE=2>gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lnsl -lsocket -ldoor -Wl,-Bstatic -ll -L/usr/local/lib -lglib-2.0 -liconv -L/usr/local/lib -levtlog -Wl,-Bdynamic</FONT></P>
<P><FONT SIZE=2>Undefined first referenced</FONT>
<BR><FONT SIZE=2> symbol in file</FONT>
<BR><FONT SIZE=2>LOG_FAC libsyslog-ng.a(filter.o)</FONT>
<BR><FONT SIZE=2>ld: fatal: Symbol referencing errors. No output written to syslog-ng</FONT>
<BR><FONT SIZE=2>collect2: ld returned 1 exit status</FONT>
<BR><FONT SIZE=2>*** Error code 1</FONT>
<BR><FONT SIZE=2>make: Fatal error: Command failed for target `syslog-ng'</FONT>
<BR><FONT SIZE=2>Current working directory /var/opt/packages/syslog-ng-1.9.6/src</FONT>
<BR><FONT SIZE=2>*** Error code 1</FONT>
<BR><FONT SIZE=2>make: Fatal error: Command failed for target `all-recursive'</FONT>
<BR><FONT SIZE=2>Current working directory /var/opt/packages/syslog-ng-1.9.6</FONT>
<BR><FONT SIZE=2>*** Error code 1</FONT>
<BR><FONT SIZE=2>make: Fatal error: Command failed for target `all'</FONT>
</P>
</BODY>
</HTML>