Hi,
 
I need some urgent help or advice to address a make error that I am getting during my compilation of syslog-ng on AIX machine using the --enable-static-linking option
 
I am using gcc3.3.2 versoin. Below was my configure options that I used
./configure --enable-mixed-linking --prefix=/opt/soe/local/syslog-ng-3.0.7
 
configure goes fine but the make breaks with the below error.
I first doubted flex for this but I do have that installed on my machine.
 
mv -f .deps/main.Tpo .deps/main.Po
gcc -std=gnu99  -g -O2 -Wall -D_LARGE_FILES=1  -L/usr/local/lib -o syslog-ng main.o libsyslog-ng.a -static   -lrt -lnsl -lfl -L/usr/local/lib -lglib-2.0 -lintl -liconv   -L/opt/soe/local/syslog-ng-3.0.7/eventlog/lib -levtlog     -ldl        globals.o
ld: 0711-340 SEVERE ERROR Symbol yyout in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yyin in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yyout in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yyin in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yyout in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yyout in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylineno in object libsyslog-ng.a[cfg-lex.o]
        A csect with multiple labels cannot be moved into the TOC.
ld: 0711-224 WARNING: Duplicate symbol: macros
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
 
Please provide your inputs.
 
Thanks & Reagrds,
Rakesh