<font size=2 face="sans-serif">Having issues with 3.2.4 on a different
aix lpar. &nbsp;Compiles fine but when I try to start it, get a Segfault
and a 0 byte core file. &nbsp;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: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Pal Tamas &lt;folti@balabit.hu&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Syslog-ng users' and
developers' mailing list &lt;syslog-ng@lists.balabit.hu&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">09/29/2011 03:08 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</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: &nbsp; &nbsp;
&nbsp; &nbsp;</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>
&gt; # gmake<br>
&gt; gmake &nbsp;all-recursive<br>
&gt; gmake[1]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2'<br>
&gt; Making all in lib<br>
&gt; gmake[2]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; gmake &nbsp;all-recursive<br>
&gt; gmake[3]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; Making all in ivykis<br>
&gt; gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; gmake &nbsp;all-recursive<br>
&gt; gmake[5]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; Making all in lib<br>
&gt; gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; lib'<br>
&gt; Making all in .<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; lib'<br>
&gt; gmake[7]: Nothing to be done for `all-am'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib'<br>
&gt; Making all in man3<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib<br>
&gt; /man3'<br>
&gt; gmake[7]: Nothing to be done for `all'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/<br>
&gt; man3'<br>
&gt; Making all in test<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib<br>
&gt; /test'<br>
&gt; gmake[7]: Nothing to be done for `all'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib/<br>
&gt; test'<br>
&gt; gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/lib'<br>
&gt; Making all in modules<br>
&gt; gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules'<br>
&gt; Making all in .<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules'<br>
&gt; gmake[7]: Nothing to be done for `all-am'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules'<br>
&gt; Making all in man3<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules/man3'<br>
&gt; gmake[7]: Nothing to be done for `all'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules/man3'<br>
&gt; Making all in test<br>
&gt; gmake[7]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules/test'<br>
&gt; gmake[7]: Nothing to be done for `all'.<br>
&gt; gmake[7]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules/test'<br>
&gt; gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules'<br>
&gt; Making all in misc<br>
&gt; gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; misc'<br>
&gt; gmake[6]: Nothing to be done for `all'.<br>
&gt; gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; misc'<br>
&gt; gmake[6]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; gmake[6]: Nothing to be done for `all-am'.<br>
&gt; gmake[6]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; gmake[5]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis'<br>
&gt; gmake[4]: Entering directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; /bin/sh ../libtool --tag=CC &nbsp; --mode=link gcc -std=gnu99 &nbsp;-g
-O2 -Wall -pthread<br>
&gt; -D_LARGE_FILES=1 -no-undefined -Wl,-brtl -o libsyslog-ng.la -rpath
/usr/local/<br>
&gt; lib afinter.lo alarms.lo apphook.lo block-ref-parser.lo center.lo
cfg.lo<br>
&gt; cfg-lexer.lo cfg-parser.lo children.lo compat.lo control.lo dgroup.lo<br>
&gt; dnscache.lo driver.lo filter.lo filter-expr-parser.lo globals.lo gprocess.lo<br>
&gt; gsockaddr.lo gsocket.lo logmatcher.lo logmpx.lo logmsg.lo logparser.lo<br>
&gt; logpipe.lo logprocess.lo logproto.lo logqueue.lo logqueue-fifo.lo
logreader.lo<br>
&gt; logrewrite.lo logsource.lo logstamp.lo logtransport.lo logwriter.lo
mainloop.lo<br>
&gt; memtrace.lo messages.lo misc.lo msg-format.lo nvtable.lo parser-expr-parser.lo<br>
&gt; persist-state.lo plugin.lo pragma-parser.lo rewrite-expr-parser.lo
serialize.lo<br>
&gt; sgroup.lo stats.lo str-format.lo syslog-names.lo tags.lo templates.lo<br>
&gt; timeutils.lo utils.lo value-pairs.lo cfg-lex.lo cfg-grammar.lo<br>
&gt; filter-expr-grammar.lo block-ref-grammar.lo pragma-grammar.lo<br>
&gt; parser-expr-grammar.lo rewrite-expr-grammar.lo -lrt -lnsl -Wl,-bexpall
-L/opt/<br>
&gt; freeware/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl
&nbsp; -L/opt/<br>
&gt; freeware/lib -levtlog &nbsp; &nbsp; &nbsp; -ldl -Wl,--whole-archive
-L../lib/ivykis/lib<br>
&gt; -livykis -L../lib/ivykis/modules -livykis-modules -Wl,--no-whole-archive<br>
&gt; libtool: link: rm -fr &nbsp;.libs/libsyslog-ng.exp<br>
&gt; libtool: link: /usr/bin/nm -B -BCpg &nbsp;.libs/afinter.o .libs/alarms.o
.libs/<br>
&gt; apphook.o .libs/block-ref-parser.o .libs/center.o .libs/cfg.o .libs/cfg-lexer.o<br>
&gt; .libs/cfg-parser.o .libs/children.o .libs/compat.o .libs/control.o
.libs/<br>
&gt; dgroup.o .libs/dnscache.o .libs/driver.o .libs/filter.o .libs/<br>
&gt; filter-expr-parser.o .libs/globals.o .libs/gprocess.o .libs/gsockaddr.o
.libs/<br>
&gt; gsocket.o .libs/logmatcher.o .libs/logmpx.o .libs/logmsg.o .libs/logparser.o<br>
&gt; .libs/logpipe.o .libs/logprocess.o .libs/logproto.o .libs/logqueue.o
.libs/<br>
&gt; logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o .libs/logsource.o
.libs/<br>
&gt; logstamp.o .libs/logtransport.o .libs/logwriter.o .libs/mainloop.o
.libs/<br>
&gt; memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o .libs/nvtable.o<br>
&gt; .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o .libs/<br>
&gt; pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o .libs/sgroup.o<br>
&gt; .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o
.libs/<br>
&gt; templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o .libs/cfg-lex.o<br>
&gt; .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/block-ref-grammar.o
.libs<br>
&gt; /pragma-grammar.o .libs/parser-expr-grammar.o .libs/rewrite-expr-grammar.o
&nbsp; |<br>
&gt; awk '{ if ((($ 2 == &quot;T&quot;) || ($ 2 == &quot;D&quot;) || ($
2 == &quot;B&quot;)) &amp;&amp; (substr($ 3,1,1) !<br>
&gt; = &quot;.&quot;)) { print $ 3 } }' | sort -u &gt; .libs/libsyslog-ng.exp<br>
&gt; libtool: link: gcc -std=gnu99 -shared -o .libs/libsyslog-ng.so.0 &nbsp;.libs/<br>
&gt; afinter.o .libs/alarms.o .libs/apphook.o .libs/block-ref-parser.o
.libs/<br>
&gt; center.o .libs/cfg.o .libs/cfg-lexer.o .libs/cfg-parser.o .libs/children.o<br>
&gt; .libs/compat.o .libs/control.o .libs/dgroup.o .libs/dnscache.o .libs/driver.o<br>
&gt; .libs/filter.o .libs/filter-expr-parser.o .libs/globals.o .libs/gprocess.o<br>
&gt; .libs/gsockaddr.o .libs/gsocket.o .libs/logmatcher.o .libs/logmpx.o
.libs/<br>
&gt; logmsg.o .libs/logparser.o .libs/logpipe.o .libs/logprocess.o .libs/logproto.o<br>
&gt; .libs/logqueue.o .libs/logqueue-fifo.o .libs/logreader.o .libs/logrewrite.o<br>
&gt; .libs/logsource.o .libs/logstamp.o .libs/logtransport.o .libs/logwriter.o
.libs<br>
&gt; /mainloop.o .libs/memtrace.o .libs/messages.o .libs/misc.o .libs/msg-format.o<br>
&gt; .libs/nvtable.o .libs/parser-expr-parser.o .libs/persist-state.o .libs/plugin.o<br>
&gt; .libs/pragma-parser.o .libs/rewrite-expr-parser.o .libs/serialize.o
.libs/<br>
&gt; sgroup.o .libs/stats.o .libs/str-format.o .libs/syslog-names.o .libs/tags.o<br>
&gt; .libs/templates.o .libs/timeutils.o .libs/utils.o .libs/value-pairs.o
.libs/<br>
&gt; cfg-lex.o .libs/cfg-grammar.o .libs/filter-expr-grammar.o .libs/<br>
&gt; block-ref-grammar.o .libs/pragma-grammar.o .libs/parser-expr-grammar.o
.libs/<br>
&gt; rewrite-expr-grammar.o &nbsp; -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/<br>
&gt; powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0<br>
&gt; /../../..:/usr/lib:/lib -lrt -lnsl -L/opt/freeware/lib -lgmodule-2.0<br>
&gt; -lgthread-2.0 -lpthread -lglib-2.0 -lintl -levtlog -ldl -L/home/b005fec/<br>
&gt; syslog-ng-3.3.0beta2/lib/ivykis/lib /home/b005fec/syslog-ng-3.3.0beta2/lib/<br>
&gt; ivykis/lib/.libs/libivykis.a -L/home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/<br>
&gt; modules /home/b005fec/syslog-ng-3.3.0beta2/lib/ivykis/modules/.libs/<br>
&gt; libivykis-modules.a -lc -Wl,-bnoentry &nbsp;-pthread -Wl,-brtl -Wl,-bexpall<br>
&gt; -Wl,--whole-archive -Wl,--no-whole-archive &nbsp; -pthread -Wl,-bE:.libs/<br>
&gt; libsyslog-ng.exp -Wl,-bernotok<br>
&gt; ld: 0706-012 The -- flag is not recognized.<br>
&gt; ld: 0706-012 The -w flag is not recognized.<br>
&gt; ld: 0706-012 The -h flag is not recognized.<br>
&gt; ld: 0706-012 The -- flag is not recognized.<br>
&gt; ld: 0706-027 The -n flag is ignored.<br>
&gt; collect2: ld returned 255 exit status<br>
&gt; gmake[4]: *** [libsyslog-ng.la] Error 1<br>
&gt; gmake[4]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; gmake[3]: *** [all-recursive] Error 1<br>
&gt; gmake[3]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; gmake[2]: *** [all] Error 2<br>
&gt; gmake[2]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2/lib'<br>
&gt; gmake[1]: *** [all-recursive] Error 1<br>
&gt; gmake[1]: Leaving directory `/home/b005fec/syslog-ng-3.3.0beta2'<br>
&gt; 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>