make fails while building Perl 5.8.2 on HPUX 11.11

[email protected] ("Vinnie Lima") Mon, 1 Dec 2003 14:22:42 -0500
Newsgroups perl.64bit
Message-ID <OF74030C65.43B9ADF1-ON85256DEF.006A6FDB-85256DEF.006A9641@com>
--=_alternative 006A963E85256DEF_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

"make" fails during compilation of perl 5.8.2 on hpux 11i (11.11) using:

nmcmadam:/opt/patches/perl-5.8.2> gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/specs
Configured with: ./configure --enable-languages=c,c++ 
--enable-threads=posix --disable-nls --with-gnu-as --with-gnu-ld 
--with-as=/usr/local/pa64/hppa64-hp-hpux11.11/bin/as 
--with-ld=/usr/local/pa64/hppa64-hp-hpux11.11/bin/ld 
--host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --prefix=/opt/gcc
Thread model: posix
gcc version 3.3.2


and

nmcmadam:/opt/patches/perl-5.8.2> make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


Configure options:

sh ./Configure -Dprefix=/opt/perl -Dcc=gcc

Make fails at:

CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O -Wall
In file included from pp_sys.c:36:
/usr/include/shadow.h:42: error: conflicting types for `getspnam'
/usr/include/prot.h:650: error: previous declaration of `getspnam'
make: *** [pp_sys.o] Error 1


Any suggestions?

Vinnie Lima
[email protected]


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------

--=_alternative 006A963E85256DEF_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">&quot;make&quot; fails during compilation
of perl 5.8.2 on hpux 11i (11.11) using:</font>
<br>
<br><font size=2 face="sans-serif">nmcmadam:/opt/patches/perl-5.8.2&gt;
gcc -v</font>
<br><font size=2 face="sans-serif">Reading specs from /opt/gcc/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/specs</font>
<br><font size=2 face="sans-serif">Configured with: ./configure --enable-languages=c,c++
--enable-threads=posix --disable-nls --with-gnu-as --with-gnu-ld --with-as=/usr/local/pa64/hppa64-hp-hpux11.11/bin/as
--with-ld=/usr/local/pa64/hppa64-hp-hpux11.11/bin/ld --host=hppa64-hp-hpux11.11
--target=hppa64-hp-hpux11.11 --prefix=/opt/gcc</font>
<br><font size=2 face="sans-serif">Thread model: posix</font>
<br><font size=2 face="sans-serif">gcc version 3.3.2</font>
<br>
<br>
<br><font size=2 face="sans-serif">and</font>
<br>
<br><font size=2 face="sans-serif">nmcmadam:/opt/patches/perl-5.8.2&gt;
make -v</font>
<br><font size=2 face="sans-serif">GNU Make 3.80</font>
<br><font size=2 face="sans-serif">Copyright (C) 2002 Free Software Foundation,
Inc.</font>
<br><font size=2 face="sans-serif">This is free software; see the source
for copying conditions.</font>
<br><font size=2 face="sans-serif">There is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A</font>
<br><font size=2 face="sans-serif">PARTICULAR PURPOSE.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Configure options:</font>
<br>
<br><font size=2 face="sans-serif">sh ./Configure -Dprefix=/opt/perl -Dcc=gcc</font>
<br>
<br><font size=2 face="sans-serif">Make fails at:</font>
<br>
<br><font size=2 face="sans-serif">CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE
-mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O -Wall</font>
<br><font size=2 face="sans-serif">In file included from pp_sys.c:36:</font>
<br><font size=2 face="sans-serif">/usr/include/shadow.h:42: error: conflicting
types for `getspnam'</font>
<br><font size=2 face="sans-serif">/usr/include/prot.h:650: error: previous
declaration of `getspnam'</font>
<br><font size=2 face="sans-serif">make: *** [pp_sys.o] Error 1</font>
<br>
<br>
<br><font size=2 face="sans-serif">Any suggestions?</font>
<br>
<br><font size=2 face="sans-serif">Vinnie Lima</font>
<br><font size=2 face="sans-serif">[email protected]<br>
<br>
<br>
----------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.<br>
----------------------------------------------------------------------------------------<br>
</font>
--=_alternative 006A963E85256DEF_=--