make error on AIX 6.1
# make make all-recursive Making all in lib "Makefile", line 679: make: 1254-055 Dependency line needs colon or double colon operator. make: 1254-058 Fatal errors encountered -- cannot continue. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ---- Line 679 in lib/Makefile is- ps: ps-am I've installed the RPM and syslog-ng core dumps, so I figured trying to build from source would be a better option. Any help in getting this compiled would be appreciated! Thanks, Frank
The last email was for version 3.2.4. Just tried running a make on 3.3.0beta2 and received this error: # make make all-recursive Making all in lib "Makefile", line 1033: make: 1254-055 Dependency line needs colon or double colon operator. make: 1254-058 Fatal errors encountered -- cannot continue. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Thanks, Frank From: Frank Collette <FCollette@trustmark.com> To: syslog-ng@lists.balabit.hu Date: 09/28/2011 10:15 AM Subject: [syslog-ng] make error on AIX 6.1 Sent by: syslog-ng-bounces@lists.balabit.hu # make make all-recursive Making all in lib "Makefile", line 679: make: 1254-055 Dependency line needs colon or double colon operator. make: 1254-058 Fatal errors encountered -- cannot continue. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ---- Line 679 in lib/Makefile is- ps: ps-am I've installed the RPM and syslog-ng core dumps, so I figured trying to build from source would be a better option. Any help in getting this compiled would be appreciated! Thanks, Frank ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Frank Collette <FCollette@trustmark.com> writes:
The last email was for version 3.2.4.
Just tried running a make on 3.3.0beta2 and received this error:
I believe you will need GNU make (usually called gmake) to compile syslog-ng. The make that comes with AIX isn't supported by the build system, as far as I remember. Hope that helps! -- |8]
That did it! Still failed with 3.3.0beta2 but that's to be expected in a beta. End errors while using gmake with 3.3.0beta2 were as follows (Mainly for anyone that's interested) ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2' gmake: *** [all] Error 2 Thanks, Frank E. Collette IV Technical Services Systems Administrator II Trustmark National Bank Office: 601-208-7517 Fax: 601-208-6105 fcollette@trustmark.com From: Gergely Nagy <algernon@balabit.hu> To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: 09/28/2011 10:47 AM Subject: Re: [syslog-ng] make error on AIX 6.1 Sent by: syslog-ng-bounces@lists.balabit.hu Frank Collette <FCollette@trustmark.com> writes:
The last email was for version 3.2.4.
Just tried running a make on 3.3.0beta2 and received this error:
I believe you will need GNU make (usually called gmake) to compile syslog-ng. The make that comes with AIX isn't supported by the build system, as far as I remember. Hope that helps! -- |8] ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Frank Collette <FCollette@trustmark.com> writes:
That did it! Still failed with 3.3.0beta2 but that's to be expected in a beta. End errors while using gmake with 3.3.0beta2 were as follows (Mainly for anyone that's interested)
ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status
Could you paste the lines above this? Would love to see the ld or gcc commandline that ended up in this error message. -- |8]
# gmake gmake all-recursive gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2' Making all in lib gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake all-recursive gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' Making all in ivykis gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake all-recursive gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' Making all in lib gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in modules gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules' Making all in misc gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/misc' gmake[6]: Nothing to be done for `all'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/misc' gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[6]: Nothing to be done for `all-am'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -pthread -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath /usr/local/lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo cfg.lo cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo logreader.lo logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo mainloop.lo memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo serialize.lo sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall -L/opt/freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -L/opt/freeware/lib -levtlog -ldl -Wl,--whole-archive -L../lib/ivykis/lib -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive libtool: link: rm -fr .libs/libsyslog-ng.exp libtool: link: /usr/bin/nm -B -BCpg .libs/afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o | awk '{ if ((($ 2 == "T") || ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != ".")) { print $ 3 } }' | sort -u > .libs/libsyslog-ng.exp libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 .libs/afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/libivykis-modules.a -lc -Wl,-bnoentry -pthread -Wl,-brtl -Wl,-bexpall -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/libsyslog-ng.exp -Wl,-bernotok ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2' gmake: *** [all] Error 2 Thanks, Frank E. Collette IV Technical Services Systems Administrator II Trustmark National Bank Office: 601-208-7517 Fax: 601-208-6105 fcollette@trustmark.com From: Gergely Nagy <algernon@balabit.hu> To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: 09/28/2011 11:39 AM Subject: Re: [syslog-ng] make error on AIX 6.1 Sent by: syslog-ng-bounces@lists.balabit.hu Frank Collette <FCollette@trustmark.com> writes:
That did it! Still failed with 3.3.0beta2 but that's to be expected in a beta. End errors while using gmake with 3.3.0beta2 were as follows (Mainly for anyone that's interested)
ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status
Could you paste the lines above this? Would love to see the ld or gcc commandline that ended up in this error message. -- |8] ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
On Wed, Sep 28, 2011 at 12:09:27PM -0500, Frank Collette wrote:
# gmake gmake all-recursive gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2' Making all in lib gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake all-recursive gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' Making all in ivykis gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake all-recursive gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' Making all in lib gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in modules gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in misc gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Nothing to be done for `all'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[6]: Nothing to be done for `all-am'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -pthread -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath /usr/local/ lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo cfg.lo cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo logreader.lo logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo mainloop.lo memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo serialize.lo sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall -L/opt/ freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -L/opt/ freeware/lib -levtlog -ldl -Wl,--whole-archive -L../lib/ivykis/lib -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive libtool: link: rm -fr .libs/libsyslog-ng.exp libtool: link: /usr/bin/nm -B -BCpg .libs/afinter.o .libs/alarms.o .libs/ apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/ dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/ filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/ gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/ logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/ logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o .libs/ memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/ pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/ templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o .libs /pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o | awk '{ if ((($ 2 == "T") || ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) ! = ".")) { print $ 3 } }' | sort -u > .libs/libsyslog-ng.exp libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 .libs/ afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o .libs/ center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/ logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o .libs /mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/ sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/ cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/ block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o .libs/ rewrite-expr-grammar.o -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/ powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0 /../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/ syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/ ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/ libivykis-modules.a -lc -Wl,-bnoentry -pthread -Wl,-brtl -Wl,-bexpall -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/ libsyslog-ng.exp -Wl,-bernotok ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2' gmake: *** [all] Error 2 Hi,
The --whole-archive/--no-whole-archive arguments are not supported by AIX's ld. They are set by configure, because they are needed on other platforms. Try to remove all occurences of them from configure.in and regenrate it. You'll need Autoconf 2.67 for it or try to remove them from configure itself. Regards, -- Pal Tamas/Folti folti@balabit.hu
Having issues with 3.2.4 on a different aix lpar. Compiles fine but when I try to start it, get a Segfault and a 0 byte core file. Fun stuff! Thanks, Frank E. Collette IV Technical Services Systems Administrator II Trustmark National Bank Office: 601-208-7517 Fax: 601-208-6105 fcollette@trustmark.com From: Pal Tamas <folti@balabit.hu> To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: 09/29/2011 03:08 AM Subject: Re: [syslog-ng] make error on AIX 6.1 Sent by: syslog-ng-bounces@lists.balabit.hu On Wed, Sep 28, 2011 at 12:09:27PM -0500, Frank Collette wrote:
# gmake gmake all-recursive gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2' Making all in lib gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake all-recursive gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' Making all in ivykis gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake all-recursive gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' Making all in lib gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in modules gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in misc gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Nothing to be done for `all'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[6]: Nothing to be done for `all-am'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -pthread -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath /usr/local/ lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo cfg.lo cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo logreader.lo logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo mainloop.lo memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo serialize.lo sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall -L/opt/ freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -L/opt/ freeware/lib -levtlog -ldl -Wl,--whole-archive -L../lib/ivykis/lib -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive libtool: link: rm -fr .libs/libsyslog-ng.exp libtool: link: /usr/bin/nm -B -BCpg .libs/afinter.o .libs/alarms.o .libs/ apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/ dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/ filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/ gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/ logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/ logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o .libs/ memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/ pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/ templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o .libs /pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o | awk '{ if ((($ 2 == "T") || ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) ! = ".")) { print $ 3 } }' | sort -u > .libs/libsyslog-ng.exp libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 .libs/ afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o .libs/ center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/ logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o .libs /mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/ sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/ cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/ block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o .libs/ rewrite-expr-grammar.o -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/
powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0
/../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/ syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/ ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/ libivykis-modules.a -lc -Wl,-bnoentry -pthread -Wl,-brtl -Wl,-bexpall -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/ libsyslog-ng.exp -Wl,-bernotok ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2' gmake: *** [all] Error 2 Hi,
The --whole-archive/--no-whole-archive arguments are not supported by AIX's ld. They are set by configure, because they are needed on other platforms. Try to remove all occurences of them from configure.in and regenrate it. You'll need Autoconf 2.67 for it or try to remove them from configure itself. Regards, -- Pal Tamas/Folti folti@balabit.hu ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Since 3.3.1 was released, I've decided to try it. I removed the references to --whole-archive and --no-whole-archive as stated before, but now get the following while running gmake: ld: 0711-317 ERROR: Undefined symbol: .evt_ctx_free ld: 0711-317 ERROR: Undefined symbol: .evt_ctx_init ld: 0711-317 ERROR: Undefined symbol: .evt_rec_init ld: 0711-317 ERROR: Undefined symbol: .evt_rec_add_tag ld: 0711-317 ERROR: Undefined symbol: .evt_rec_add_tagsv ld: 0711-317 ERROR: Undefined symbol: .evt_tag_str ld: 0711-317 ERROR: Undefined symbol: .evt_tag_printf ld: 0711-317 ERROR: Undefined symbol: .evt_tag_int ld: 0711-317 ERROR: Undefined symbol: .evt_tag_errno ld: 0711-317 ERROR: Undefined symbol: .evt_format ld: 0711-317 ERROR: Undefined symbol: .evt_rec_get_syslog_pri ld: 0711-317 ERROR: Undefined symbol: .evt_rec_free ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/jxnmksysb/syslog-ng/syslog-ng-3.3.1/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/jxnmksysb/syslog-ng/syslog-ng-3.3.1/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/jxnmksysb/syslog-ng/syslog-ng-3.3.1/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/jxnmksysb/syslog-ng/syslog-ng-3.3.1' gmake: *** [all] Error 2 Thanks, Frank From: Pal Tamas <folti@balabit.hu> To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: 09/29/2011 03:08 AM Subject: Re: [syslog-ng] make error on AIX 6.1 Sent by: syslog-ng-bounces@lists.balabit.hu On Wed, Sep 28, 2011 at 12:09:27PM -0500, Frank Collette wrote:
# gmake gmake all-recursive gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2' Making all in lib gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake all-recursive gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' Making all in ivykis gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake all-recursive gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' Making all in lib gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ lib' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib /test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/ test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib' Making all in modules gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in . gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' gmake[7]: Nothing to be done for `all-am'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in man3 gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/man3' Making all in test gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[7]: Nothing to be done for `all'. gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules/test' gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules' Making all in misc gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Nothing to be done for `all'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ misc' gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[6]: Nothing to be done for `all-am'. gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis' gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -pthread -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath /usr/local/ lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo cfg.lo cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo logreader.lo logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo mainloop.lo memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo serialize.lo sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall -L/opt/ freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -L/opt/ freeware/lib -levtlog -ldl -Wl,--whole-archive -L../lib/ivykis/lib -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive libtool: link: rm -fr .libs/libsyslog-ng.exp libtool: link: /usr/bin/nm -B -BCpg .libs/afinter.o .libs/alarms.o .libs/ apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/ dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/ filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/ gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/ logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/ logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o .libs/ memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/ pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/ templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o .libs /pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o | awk '{ if ((($ 2 == "T") || ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) ! = ".")) { print $ 3 } }' | sort -u > .libs/libsyslog-ng.exp libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 .libs/ afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o .libs/ center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/ logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o .libs /mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/ sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/ cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/ block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o .libs/ rewrite-expr-grammar.o -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/
powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0
/../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/ syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/ ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/ modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/ libivykis-modules.a -lc -Wl,-bnoentry -pthread -Wl,-brtl -Wl,-bexpall -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/ libsyslog-ng.exp -Wl,-bernotok ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -- flag is not recognized. ld: 0706-027 The -n flag is ignored. collect2: ld returned 255 exit status gmake[4]: *** [libsyslog-ng.la] Error 1 gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2' gmake: *** [all] Error 2 Hi,
The --whole-archive/--no-whole-archive arguments are not supported by AIX's ld. They are set by configure, because they are needed on other platforms. Try to remove all occurences of them from configure.in and regenrate it. You'll need Autoconf 2.67 for it or try to remove them from configure itself. Regards, -- Pal Tamas/Folti folti@balabit.hu ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
On Thu, 2011-10-06 at 14:51 -0500, Frank Collette wrote:
Since 3.3.1 was released, I've decided to try it.
I removed the references to --whole-archive and --no-whole-archive as stated before, but now get the following while running gmake:
ld: 0711-317 ERROR: Undefined symbol: .evt_ctx_free ld: 0711-317 ERROR: Undefined symbol: .evt_ctx_init ld: 0711-317 ERROR: Undefined symbol: .evt_rec_init ld: 0711-317 ERROR: Undefined symbol: .evt_rec_add_tag ld: 0711-317 ERROR: Undefined symbol: .evt_rec_add_tagsv ld: 0711-317 ERROR: Undefined symbol: .evt_tag_str ld: 0711-317 ERROR: Undefined symbol: .evt_tag_printf ld: 0711-317 ERROR: Undefined symbol: .evt_tag_int ld: 0711-317 ERROR: Undefined symbol: .evt_tag_errno ld: 0711-317 ERROR: Undefined symbol: .evt_format ld: 0711-317 ERROR: Undefined symbol: .evt_rec_get_syslog_pri ld: 0711-317 ERROR: Undefined symbol: .evt_rec_free ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
these symbols are defined by eventlog, which wasn't detected or for some reason it failed to link properly. Can you check if eventlog was properly detected and the link command line contained it? AIX ld is not simple to get on with, extremely fragile. We do compile AIX binaries from PE though (OSE core + external modules), and I can't remember any patches that are not on the OSE tree to make that possible. Must be the compile environment differences. But as I said, AIX is one of the most time-consuming platforms to get things right. -- Bazsi
participants (4)
-
Balazs Scheidler
-
Frank Collette
-
Gergely Nagy
-
Pal Tamas