[syslog-ng] make error on AIX 6.1

Frank Collette FCollette at trustmark.com
Thu Sep 29 15:15:31 CEST 2011


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 at trustmark.com



From:   Pal Tamas <folti at balabit.hu>
To:     Syslog-ng users' and developers' mailing list 
<syslog-ng at 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 at 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 at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110929/aeadeeb1/attachment.htm 


More information about the syslog-ng mailing list