pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bootstrap fails on Solaris 10/x86: conflicting types for 'gai_strerror'




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?


 - Hubert


Home | Main Index | Thread Index | Old Index