Me again-
I'm still having compile problems, and I'm starting to get really
frustrated. Well, at least more than usual. We have a few 5.1 boxes
in the server room as well as a few 4.3.3 boxes, and all of them
attempt to be as similar to eachother as possible. It would seem that
Perl 5.8.4 compiles just fine on our 4.3.3 machines, but seems to fail
on our 5.1 machines. The odd thing is, we left one of our machines
alone (a rather critical one) during these upgrades, and that one
compiles it just fine! The only perceivable difference is that the
working 5.1 box is at maintaince level 3 while the others are at 6
(and the 4.3.3 machines are at 11). Based on the errors I keep
getting, and where it seems to succeed, I want to say it's either an
'ld' problem or a GCC problem. I've tried rolling back the GCC
versions and switching between AIX's and GNU's 'ld' on our testing 5.1
box, as well as use UCLA's version of 3.3.3, all to no avail, same
error (as below). I'm now attempting to compile the newest version of
GCC in the hopes that that may take care of the problem, but asside
from that I have no idea!
HELP!!!! :-)
-Steve
krippner@rincewind.beloit.edu (Steve) wrote in message news:<932c6aad.0407201123.5b28cc8e@posting.google. com>...
> Hey there-
>
> We're attempting to get Perl 5.8.4 installed on our AIX machines, and
> I've hit a wall. We're using mostly GNU utilities, (GCC, ld, ar,
> etc.) running AIX 5.1 and 4.3.3. The configure works just fine, as
> does the make minitest. The error I get is this:
>
> make[1]: Entering directory `/usr/local/src/perl-5.8.4/ext/B'
> make[1]: Leaving directory `/usr/local/src/perl-5.8.4/ext/B'
> make[1]: Entering directory `/usr/local/src/perl-5.8.4/ext/B'
> make[2]: Entering directory `/usr/local/src/perl-5.8.4/ext/B/C'
> rm -f ../../../lib/auto/B/C/C.so
> LD_RUN_PATH="" gcc -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bI:../../../perl.exp
> -Wl,-bE:C.exp -Wl,-bnoentry -lc -L/usr/local/lib C.o -o
> ../../../lib/auto/B/C/C.so
> /lib/crt0.o(.pr+0x88): : undefined reference to `.main'
> collect2: ld returned 1 exit status
> make[2]: *** [../../../lib/auto/B/C/C.so] Error 1
> make[2]: Leaving directory `/usr/local/src/perl-5.8.4/ext/B/C'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/usr/local/src/perl-5.8.4/ext/B'
> make: *** [lib/auto/B/B.so] Error 2
> bash-2.05b#
>
>
> It looks like it's an LD problem, but I have absolutely no idea what
> could be wrong. If anyone has any ideas, please let me know!
>
> Thanks!
> -Steve