[syslog-ng] unable to compile on AIX
Balazs Scheidler
bazsi at balabit.hu
Thu Dec 27 00:13:25 CET 2007
On Wed, 2007-12-26 at 21:31 +0530, Anant Athavale wrote:
> Dear List:
>
> I am unable to compile syslog-ng on AIX 5.3.
>
> I am using the following command to configure.
>
> configure EVTLOG_LIBS=-L/usr/local/lib
> EVTLOG_CFLAGS=-I/usr/local/include/eventlog --enable-static-linking
> --prefix=/usr/local/syslog-ng
>
> When I run make, I get the following error:
>
> Sorry for another post. I am giving the complete error here.
>
> -----------------------------------------------------------------------
>
> Making all in src
> gcc -g -O2 -Wall -L/usr/local/lib -o syslog-ng main.o
> libsyslog-ng.a -static -lnsl -lrt -lfl -L/opt/freeware/lib -lglib-2.0
> -lintl -liconv -L/usr/local/lib
> 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 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 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.
> collect2: ld returned 12 exit status
> make: 1254-004 The error code from the last command is 1.
>
You need the libfl.a library from GNU flex. Please install that first.
--
Bazsi
More information about the syslog-ng
mailing list