Subject: 2.0 and perl58 - won't compile
To: None <tech-pkg@NetBSD.org>
From: Carl Brewer <carl@bl.echidna.id.au>
List: tech-pkg
Date: 12/08/2004 07:36:51
Befiore I send-pr this, is anyone else seeing this problem when trying
to make perl58 ? :

`sh  cflags "optimize='-O2 -pthread -I/usr/include'" pp_sys.o` -DPIC 
-fPIC pp_sys.c
           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -pthread -I/usr/include  -Wall
pp_sys.c: In function `Perl_pp_gprotoent':
pp_sys.c:4888: warning: implicit declaration of function `getprotobyname_r'
pp_sys.c:4896: warning: implicit declaration of function 
`getprotobynumber_r'
pp_sys.c:4903: warning: implicit declaration of function `getprotoent_r'
pp_sys.c: In function `Perl_pp_gservent':
pp_sys.c:4980: warning: implicit declaration of function `getservbyname_r'
pp_sys.c:4996: warning: implicit declaration of function `getservbyport_r'
pp_sys.c:5003: warning: implicit declaration of function `getservent_r'
pp_sys.c: In function `Perl_pp_sprotoent':
pp_sys.c:5076: warning: implicit declaration of function `setprotoent_r'
pp_sys.c:5076: error: structure has no member named `_protoent_data'
pp_sys.c: In function `Perl_pp_sservent':
pp_sys.c:5087: warning: implicit declaration of function `setservent_r'
pp_sys.c:5087: error: structure has no member named `_servent_data'
pp_sys.c: In function `Perl_pp_eprotoent':
pp_sys.c:5122: warning: implicit declaration of function `endprotoent_r'
pp_sys.c:5122: error: structure has no member named `_protoent_data'
pp_sys.c: In function `Perl_pp_eservent':
pp_sys.c:5134: warning: implicit declaration of function `endservent_r'
pp_sys.c:5134: error: structure has no member named `_servent_data'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58/work/perl-5.8.5
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl58


: {102} uname -a
NetBSD  2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004 
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC 
i386

This is with a CVS update from about 5 minutes ago. Is my 2.0 install
broken, or is it perl58?


thanks

Carl