perl
Russ Allbery
rra at stanford.edu
Fri Dec 17 00:27:09 UTC 1999
rmarion <rmarion at ca.ibm.com> writes:
> When I run make, I get this message:
> gcc -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o
> newsfeeds.o
> ng.o perl.o proc.o rc.o site.o status.o tcl.o timer.o wip.o
> ../storage/libstor
> age.a ../lib/libinn.a ../lib/perl.o
> -L/usr/local/lib/perl5/5.00502/aix/CORE -bE
>> perl.exp -L/usr/local/lib
> /usr/local/lib/perl5/5.00502/aix/auto/DynaLoader/Dyna
> Loader.a -L/usr/local/lib/perl5/5.00502/aix/CORE -lperl -ldbm -ldl -lld -lm
> -lc
> -lPW -lbsd -lnsl -lnsl
> collect2: ld returned 255 exit status
> ld: 0706-005 Cannot find or open file: libgcc.a
> ld:open(): A file or directory in the path name does not exist.
> ld: 0706-005 Cannot find or open file: libgcc.a
> ld:open(): A file or directory in the path name does not exist.
> gcc: file path prefix `/usr/local/lib/gcc-lib/E:perl.exp/2.8.1/' never used
Your version of Perl is reporting an odd prefered link line. Maybe you'd
originally built Perl with IBM's compiler instead of gcc? If so, you may
want to try building INN with that compiler as well. Alternately, edit
Makefile.global after running configure and remove the string
"-bE:perl.exp" from the Perl flags setting. Then run:
ln -s /usr/local/lib/perl5/5.00502/aix/CORE/perl.exp innd/perl.exp
ln -s /usr/local/lib/perl5/5.00502/aix/CORE/perl.exp nnrpd/perl.exp
and recompile. You'll get a bunch of warnings from AIX's linker about
unused symbols, but the compile should work.
AIX uses a very odd linking mechanism.
--
Russ Allbery (rra at stanford.edu) <URL:http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list