Subject: Re: lang/perl58-thread not building on 2.0_BETA?
To: None <tech-pkg@netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: tech-pkg
Date: 05/07/2004 12:56:06
For the archives, I've had it pointed out to me that
lib/25427 covers this.  If I have some time later, I may look into it.

+j

On Fri, May 07, 2004 at 10:44:42AM -0700, Jeff Rizzo wrote:
> unthreaded perl58 builds fine, but:
> 
> `sh  cflags "optimize='-O2'" pp_sys.o` -DPIC -fPIC pp_sys.c
>           CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2  -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.
> 
> -- 
> Jeff Rizzo                                         http://boogers.sf.ca.us/~riz

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz