Build fails with perl5.00405 on RH 5.2
Unknown News Administrator
news at hammer.msfc.nasa.gov
Mon Sep 13 18:56:24 UTC 1999
rra at stanford.edu (Russ Allbery) writes:
>Jan-Erik Eriksson <jee at alcom.aland.fi> writes:
>> Using the --with-perl on inn-2.2.1 (RedHat 5.2, perl5.00405) will cause
>> make to fail. It seems the perl header files or the definitions of the
>> perl macros in the inn source have changed.
>Thanks for the patch; it was committed. FYI, this problem should now be
>fixed in a more thorough fashion in the development branch; I've included
>ppport.h from Devel::PPPort in INN and the embedded Perl linkage now uses
>it to ensure all the right things get defined.
It looks like this patch breaks things on Solaris 2.6. Here's what it
looks like with Sun's Workshop Compilers 5.0:
cc -I../include -fast -xO2 -xchip=ultra -I/opt/gnu/lib/perl5/5.00502/sun4-solaris/CORE -c art.c
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
"cc.c", line 2085: undefined symbol: na
"cc.c", line 2085: 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
"cc.c", line 2111: undefined symbol: na
"cc.c", line 2111: 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
"cc.c", line 2119: 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
"cc.c", line 2123: 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
"cc.c", line 2124: 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
"cc.c", line 2128: 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
"cc.c", line 2129: 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
"cc.c", line 2130: 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
"cc.c", line 2133: 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
"cc.c", line 2134: 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
"cc.c", line 2135: 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
"cc.c", line 2136: 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
"cc.c", line 2164: undefined symbol: na
"cc.c", line 2164: 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
"cc.c", line 2201: undefined symbol: na
"cc.c", line 2201: 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
cc: acomp failed for cc.c
Same thing, but with gcc 2.8.1:
gcc -I../include -O -I/opt/gnu/lib/perl5/5.00502/sun4-solaris/CORE -c cc.c
cc.c: In function `XS_INN_havehist':
cc.c:2069: `na' undeclared (first use in this function)
cc.c:2069: (Each undeclared identifier is reported only once
cc.c:2069: for each function it appears in.)
cc.c: In function `XS_INN_cancel':
cc.c:2085: `na' undeclared (first use in this function)
cc.c: In function `XS_INN_addhist':
cc.c:2111: `na' undeclared (first use in this function)
cc.c: In function `XS_INN_newsgroup':
cc.c:2164: `na' undeclared (first use in this function)
cc.c: In function `XS_INN_filesfor':
cc.c:2201: `na' undeclared (first use in this function)
This is with inn-STABLE_2_2-1999-09-12_03-02, and this perl:
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos drum 5.6 generic_105181-12 sun4u sparc sunw,ultra-1 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-fast -xO4 -xdepend -xchip=ultra', gccversion=
cppflags='-I/opt/db/include'
ccflags ='-I/opt/db/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-L/opt/db/lib'
libpth=/opt/db/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/opt/db/lib'
Characteristics of this binary (from libperl):
Built under solaris
Compiled at Apr 1 1999 10:44:22
@INC:
/opt/gnu/lib/perl5/5.00502/sun4-solaris
/opt/gnu/lib/perl5/5.00502
/opt/gnu/lib/perl5/site_perl/5.005/sun4-solaris
/opt/gnu/lib/perl5/site_perl/5.005
.
--
J. Porter Clark, d/b/a
+--+
|oo| The Unknown News Administrator
| | news at news.msfc.nasa.gov
`^^'
More information about the inn-bugs
mailing list