pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bootstrap fails on Solaris 10/x86: conflicting types for 'gai_strerror'
Hi!
> trying to bootstrap latest pkgsrc (tarball from ftp.netbsd.org) on Solaris
> 10/x86, I get:
>
> ...
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -c getaddrinfo.c
> In file included from getaddrinfo.c:41:
> ./nbcompat/netdb.h:178: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:329: error: previous declaration of 'gai_strerror' was
> here
> ./nbcompat/netdb.h:178: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:329: error: previous declaration of 'gai_strerror' was
> here
> *** Error code 1
>
> The command I ran was:
>
> pkgbase=$HOME/pkg1
> sh bootstrap/bootstrap \
> --prefix=${pkgbase} \
> --pkgdbdir=${pkgbase}/var/db/pkg \
> --varbase ${pkgbase}/var \
> --ignore-user-check
>
> Is this a known problem?
This *was* a known problem. This morning, bootstrapping a fresh pkgsrc
worked under Solaris 10 again for the first time in a few days. But
building libnbcompat standalone still seems to be a problem.
Jörn
--
Joern Clausen
joernc%gmail.com@localhost
http://www.oe-files.de/oefiles/
http://thebloeg.blogspot.com/
Home |
Main Index |
Thread Index |
Old Index