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 -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT tlstransport.o -MD -MP -MF ".deps/tlstransport.Tpo" -c -o tlstransport.o tlstransport.c; \ then mv -f ".deps/tlstransport.Tpo" ".deps/tlstransport.Po"; else rm -f ".deps/tlstransport.Tpo"; exit 1; fi rm -f libsyslog-ng.a ar cru libsyslog-ng.a misc.o utils.o messages.o syslog-names.o cfg.o filter.o logmsg.o logstamp.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 gsocket.o logtransport.o logproto.o memtrace.o dnscache.o serialize.o apphook.o radix.o logpatterns.o cfg-lex.o cfg-grammar.o timeutils.o alarms.o logparser.o logprocess.o logmpx.o logrewrite.o logmatcher.o gprocess.o globals.o control.o compat.o logqueue.o afsql.o tlscontext.o tlstransport.o ranlib libsyslog-ng.a 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 -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi gcc -g -O2 -Wall -o syslog-ng main.o libsyslog-ng.a -lpthread -ldoor -lsocket -lrt -lnsl -ll -L/usr/local/lib -lglib-2.0 -liconv -L/usr/local/lib -levtlog -lsocket -lnsl -lnet -lresolv -lpthread Undefined first referenced symbol in file g_option_group_add_entries libsyslog-ng.a(messages.o) g_mapped_file_get_contents libsyslog-ng.a(timeutils.o) g_return_if_fail_warning libsyslog-ng.a(templates.o) g_option_error_quark libsyslog-ng.a(gprocess.o) g_mapped_file_free libsyslog-ng.a(timeutils.o) g_option_context_add_group libsyslog-ng.a(messages.o) g_option_context_add_main_entries main.o g_assert_warning libsyslog-ng.a(cfg.o) g_mapped_file_get_length libsyslog-ng.a(timeutils.o) g_mapped_file_new libsyslog-ng.a(timeutils.o) g_strv_length libsyslog-ng.a(radix.o) g_option_context_parse main.o g_option_context_new main.o g_option_context_free main.o g_option_group_new libsyslog-ng.a(messages.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 /var/crash/syslog-ng/syslog-ng-3.0.3/src *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='src tests doc contrib debian tgz2build'; 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) \ || eval $failcom; \ 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/crash/syslog-ng/syslog-ng-3.0.3 *** Error code 1 make: Fatal error: Command failed for target `all'