emirsonm has asked for the wisdom of the Perl Monks concerning the following question:
Hello
I try to compile perl-5.28.2 on AIX 7.1 TL 5 using gcc-8.3.0, I try for 32bit and 64 bit, always same error:
I use Configure with the options:
For 64 bit:
export OBJECT_MODE=64
./Configure -d -Dcc='gcc -maix64 -L/opt/freeware/lib64' -Duseshrplib -Dusethreads -Dprefix=/usr/opt/perl5_64
For 32 bit:
./Configure -d -Dcc='gcc' -Duseshrplib -Dusethreads -Dprefix=/usr/opt/perl5_32
When execute make I see the next error
For 32 bit
gcc -maix32 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:../../perl.exp -Wl,-bnoentry -lc -lm -bE:B.exp B.o -o ../../lib/auto/B/B.so
gcc: error: unrecognized command line option '-bE:B.exp'
make: 1254-004 The error code from the last command is 1.
Stop.
/tmp/test/perl-5.28.2/ext/B/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- B.bs ../../lib/auto/B/B.bs 644
rm -f ../../lib/auto/B/B.so
gcc -maix32 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:../../perl.exp -Wl,-bnoentry -lc -lm -bE:B.exp B.o -o ../../lib/auto/B/B.so
gcc: error: unrecognized command line option '-bE:B.exp'
make: 1254-004 The error code from the last command is 1.
Stop.
Unsuccessful make(ext/B): code=512 at make_ext.pl line 570.
make: 1254-004 The error code from the last command is 25.
Stop.
Regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error Compile perl on AIX 7.1
by syphilis (Archbishop) on Feb 02, 2020 at 23:52 UTC | |
by emirsonm (Initiate) on Feb 03, 2020 at 02:46 UTC | |
by syphilis (Archbishop) on Feb 03, 2020 at 04:12 UTC |