Build fails with perl5.00405 on RH 5.2
rra at stanford.edu
Tue Sep 14 14:17:45 UTC 1999
Unknown News Administrator <news at hammer.msfc.nasa.gov> writes:
> cc -I../include -fast -xO2 -xchip=ultra -I/opt/gnu/lib/perl5/5.00502/sun4-solaris/CORE -c cc.c
> "cc.c", line 2069: undefined symbol: na
> "cc.c", line 2069: warning: argument #2 is incompatible with prototype:
> prototype: pointer to uint : "/opt/gnu/lib/perl5/5.00502/sun4-solaris/CORE/proto.h", line 528
> argument : pointer to int
Okay, I really don't understand this. Line 2069 in cc.c is dXSARGS, which
should be a very standard Perl thing. I don't see anything in the
5.005_02 header files that should be causing this problem. Line 528 of
VIRTUAL char* sv_2pv _((SV* sv, STRLEN* lp));
which indicates the mismatch has something to do with SvPV() and that
somewhere STRLEN is being declared as an int rather than an unsigned int,
but I have no idea where that could be....
Hurm. Oh, joy. STRLEN is MEM_SIZE, which is defined to be Size_t, which
in turn is defined in Perl's config.h. I wonder if we're getting another
include file conflict. It's using "" to include config.h rather than <>,
so it should pick up config.h from Perl's include directory rather than
ours, though. But that reminds me that if I reorder include directives to
put Perl's include directory first, that's going to break our config.h.
So I can't keep that change. Feh.
I don't have Perl compiled with threading.
Russ Allbery (rra at stanford.edu) <URL:http://www.eyrie.org/~eagle/>
More information about the inn-bugs