#40 Compilation on AIX 5.3.0.0-05 with gcc 4.1 fail

open
nobody
None
5
2007-03-15
2007-03-15
Robert
No

g++ --version
g++ (GCC) 4.1.0

/tmp/tripwire-2.4.1.1 # ./configure --enable-static
/tmp/tripwire-2.4.1.1 # make
.
.
.

g++ -O -pipe -Wall -Wno-non-virtual-dtor -static -L../../lib -o twprint stdtwprint.o twprint.o twprintcmdline.o twprinterrors.o twprintmain.o twprintstrings.o -ltripwire -lcryptlib
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.o]
A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.o]
A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.o]
A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.o]
A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.o]
A csect with multiple labels cannot be moved into the TOC.
ld: 0711-340 SEVERE ERROR Symbol yylval in object ../../lib/libtripwire.a[yyparse.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.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

Many thanks for your response in advance!
Robert

Discussion

  • Ron Forrester
    Ron Forrester
    2007-03-31

    Logged In: YES
    user_id=64576
    Originator: NO

    What happens if you don't throw --enable-static ??