Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mod_perl compiling fun

2 views
Skip to first unread message

John Farnsworth

unread,
Apr 17, 2003, 6:30:26 PM4/17/03
to
I've done this before, and i've run into this exact problem. But I can't
seem to figure out where i'm getting these stupid compiler options from.
I fixed all the options for perl
/usr/freeware/lib/perl5/irix-n32/Config.pm, but these woffs for MIPSPro
seem to be coming from nowhere.

# gmake
(cd ./apaci && PERL5LIB=/u03/tardists/apache/mod_perl-1.27/lib: gmake)
gmake[1]: Entering directory `/u03/tardists/apache/mod_perl-1.27/apaci'
rm -f libperl.so
gcc -mabi=n32 -mips3 -IPA -mabi=n32 -shared -L/usr/freeware/lib32
-L/usr/lib32 -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo
perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo
ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo
Table.lo -mabi=n32
-Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32
-L/usr/freeware/lib32 -L/usr/lib32
/usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a
-L/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -lperl -lm
cc: unrecognized option `-woff1009,1110,1174,1184,1552'
cc: unrecognized option `-n32'
cc: ./ldtmpa00UbT/DynaLoader.a(DynaLoader.o).B: linker input file unused
because linking not done
ld32: FATAL 11: Object file format error
(./ldtmpa00UbT/DynaLoader.a(DynaLoader.o).o): file is empty.
collect2: ld returned 4 exit status
gmake[1]: *** [libperl.so] Error 1
gmake[1]: Leaving directory `/u03/tardists/apache/mod_perl-1.27/apaci'
gmake: *** [apxs_libperl] Error 2

Anyone have any thoughts?

Scott Henry

unread,
Apr 17, 2003, 7:59:47 PM4/17/03
to
>>>>> "J" == John Farnsworth <s...@darkness.nu> writes:

J> I've done this before, and i've run into this exact problem. But I can't
J> seem to figure out where i'm getting these stupid compiler options from.
J> I fixed all the options for perl
J> /usr/freeware/lib/perl5/irix-n32/Config.pm, but these woffs for MIPSPro
J> seem to be coming from nowhere.

grep through config.sh and Policy.sh, is my first thought.

J> # gmake
J> (cd ./apaci && PERL5LIB=/u03/tardists/apache/mod_perl-1.27/lib: gmake)
J> gmake[1]: Entering directory `/u03/tardists/apache/mod_perl-1.27/apaci'
J> rm -f libperl.so
J> gcc -mabi=n32 -mips3 -IPA -mabi=n32 -shared -L/usr/freeware/lib32
J> -L/usr/lib32 -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo
J> perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo
J> ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo
J> Table.lo -mabi=n32
J> -Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32
J> -L/usr/freeware/lib32 -L/usr/lib32
J> /usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a
J> -L/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -lperl -lm
J> cc: unrecognized option `-woff1009,1110,1174,1184,1552'
J> cc: unrecognized option `-n32'
J> cc: ./ldtmpa00UbT/DynaLoader.a(DynaLoader.o).B: linker input file unused
J> because linking not done
J> ld32: FATAL 11: Object file format error
J> (./ldtmpa00UbT/DynaLoader.a(DynaLoader.o).o): file is empty.
J> collect2: ld returned 4 exit status
J> gmake[1]: *** [libperl.so] Error 1
J> gmake[1]: Leaving directory `/u03/tardists/apache/mod_perl-1.27/apaci'
J> gmake: *** [apxs_libperl] Error 2

J> Anyone have any thoughts?

--
Scott Henry <sco...@sgi.com> / Help! My disclaimer is missing!
IRIX/Linux MTS, / http://reality.sgiweb.org/scotth/
Silicon Graphics, Inc / SGI-One step ahead

[Note: aaan...@sgi.com and zedw...@sgi.com aren't for humans ]

John Farnsworth

unread,
Apr 17, 2003, 8:34:04 PM4/17/03
to Scott Henry
[root@challenger irix-n32]# pwd
/usr/freeware/lib/perl5/5.6.1/irix-n32
[root@challenger irix-n32]# grep woff *
[root@challenger irix-n32]#

Dunno, it seems to be getting it from Dynaloader.a somehow. Not sure if
that's possible though.

0 new messages