<font size=2 face="sans-serif">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!</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif"><br>
Frank E. Collette IV</font>
<br><font size=2 face="sans-serif">Technical Services<br>
Systems Administrator II<br>
Trustmark National Bank<br>
Office: 601-208-7517</font>
<br><font size=2 face="sans-serif">Fax: 601-208-6105</font>
<br><font size=2 face="sans-serif">fcollette@trustmark.com</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Pal Tamas <folti@balabit.hu></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Syslog-ng users' and
developers' mailing list <syslog-ng@lists.balabit.hu></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/29/2011 03:08 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [syslog-ng]
make error on AIX 6.1</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">syslog-ng-bounces@lists.balabit.hu</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On Wed, Sep 28, 2011 at 12:09:27PM -0500, Frank Collette
wrote:<br>
> # gmake<br>
> gmake all-recursive<br>
> gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2'<br>
> Making all in lib<br>
> gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> gmake all-recursive<br>
> gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> Making all in ivykis<br>
> gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> gmake all-recursive<br>
> gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> Making all in lib<br>
> gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> lib'<br>
> Making all in .<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> lib'<br>
> gmake[7]: Nothing to be done for `all-am'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib'<br>
> Making all in man3<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib<br>
> /man3'<br>
> gmake[7]: Nothing to be done for `all'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/<br>
> man3'<br>
> Making all in test<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib<br>
> /test'<br>
> gmake[7]: Nothing to be done for `all'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/<br>
> test'<br>
> gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib'<br>
> Making all in modules<br>
> gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules'<br>
> Making all in .<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules'<br>
> gmake[7]: Nothing to be done for `all-am'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules'<br>
> Making all in man3<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules/man3'<br>
> gmake[7]: Nothing to be done for `all'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules/man3'<br>
> Making all in test<br>
> gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules/test'<br>
> gmake[7]: Nothing to be done for `all'.<br>
> gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules/test'<br>
> gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules'<br>
> Making all in misc<br>
> gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> misc'<br>
> gmake[6]: Nothing to be done for `all'.<br>
> gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> misc'<br>
> gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> gmake[6]: Nothing to be done for `all-am'.<br>
> gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
> gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g
-O2 -Wall -pthread<br>
> -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath
/usr/local/<br>
> lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo
cfg.lo<br>
> cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo<br>
> dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo<br>
> gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo<br>
> logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo
logreader.lo<br>
> logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo
mainloop.lo<br>
> memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo<br>
> persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo
serialize.lo<br>
> sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo<br>
> timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo<br>
> filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo<br>
> parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall
-L/opt/<br>
> freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl
-L/opt/<br>
> freeware/lib -levtlog -ldl -Wl,--whole-archive
-L../lib/ivykis/lib<br>
> -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive<br>
> libtool: link: rm -fr .libs/libsyslog-ng.exp<br>
> libtool: link: /usr/bin/nm -B -BCpg .libs/afinter.o .libs/alarms.o
.libs/<br>
> apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o<br>
> .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o
.libs/<br>
> dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/<br>
> filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o
.libs/<br>
> gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o<br>
> .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o
.libs/<br>
> logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o
.libs/<br>
> logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o
.libs/<br>
> memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o<br>
> .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/<br>
> pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o<br>
> .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o
.libs/<br>
> templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o<br>
> .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o
.libs<br>
> /pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o
|<br>
> awk '{ if ((($ 2 == "T") || ($ 2 == "D") || ($
2 == "B")) && (substr($ 3,1,1) !<br>
> = ".")) { print $ 3 } }' | sort -u > .libs/libsyslog-ng.exp<br>
> libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 .libs/<br>
> afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o
.libs/<br>
> center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o<br>
> .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o<br>
> .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o<br>
> .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o
.libs/<br>
> logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o<br>
> .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o<br>
> .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o
.libs<br>
> /mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o<br>
> .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o<br>
> .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o
.libs/<br>
> sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o<br>
> .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o
.libs/<br>
> cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/<br>
> block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o
.libs/<br>
> rewrite-expr-grammar.o -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/<br>
> powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0<br>
> /../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0<br>
> -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/<br>
> syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/<br>
> ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
> modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/<br>
> libivykis-modules.a -lc -Wl,-bnoentry -pthread -Wl,-brtl -Wl,-bexpall<br>
> -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/<br>
> libsyslog-ng.exp -Wl,-bernotok<br>
> ld: 0706-012 The -- flag is not recognized.<br>
> ld: 0706-012 The -w flag is not recognized.<br>
> ld: 0706-012 The -h flag is not recognized.<br>
> ld: 0706-012 The -- flag is not recognized.<br>
> ld: 0706-027 The -n flag is ignored.<br>
> collect2: ld returned 255 exit status<br>
> gmake[4]: *** [libsyslog-ng.la] Error 1<br>
> gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> gmake[3]: *** [all-recursive] Error 1<br>
> gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> gmake[2]: *** [all] Error 2<br>
> gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
> gmake[1]: *** [all-recursive] Error 1<br>
> gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2'<br>
> gmake: *** [all] Error 2<br>
Hi,<br>
<br>
The --whole-archive/--no-whole-archive arguments are not supported by<br>
AIX's ld. They are set by configure, because they are needed on other<br>
platforms. Try to remove all occurences of them from configure.in and<br>
regenrate it. You'll need Autoconf 2.67 for it or try to remove them<br>
from configure itself.<br>
<br>
Regards,<br>
-- <br>
Pal Tamas/Folti<br>
folti@balabit.hu<br>
<br>
______________________________________________________________________________<br>
Member info: </font></tt><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><tt><font size=2>https://lists.balabit.hu/mailman/listinfo/syslog-ng</font></tt></a><tt><font size=2><br>
Documentation: </font></tt><a href="http://www.balabit.com/support/documentation/?product=syslog-ng"><tt><font size=2>http://www.balabit.com/support/documentation/?product=syslog-ng</font></tt></a><tt><font size=2><br>
FAQ: </font></tt><a href="http://www.balabit.com/wiki/syslog-ng-faq"><tt><font size=2>http://www.balabit.com/wiki/syslog-ng-faq</font></tt></a><tt><font size=2><br>
<br>
</font></tt>
<br>