gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in this function) for pkgsrc dragonfly-2010Q3 pidgin

Siju George sgeorge.ml at gmail.com
Mon Nov 8 00:45:33 PST 2010


Hi,

Compiling for pidgin on 2.9 dragonfly-2010Q3 I get the following error

===============
===> Building for gupnp-igd-0.1.7
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
Making all in libgupnp-igd
gmake[2]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
echo "#include \"glib-object.h\"" >> gupnp-simple-igd-marshal.c.tmp
echo "#include \"gupnp-simple-igd-marshal.h\"" >> gupnp-simple-igd-marshal.c.tmp
glib-genmarshal --body --prefix=_gupnp_simple_igd_marshal
. /gupnp-simple-igd-marshal.list >> gupnp-simple-igd-marshal.c.tmp
mv gupnp-simple-igd-marshal.c.tmp gupnp-simple-igd-marshal.c
glib-genmarshal --header --prefix=_gupnp_simple_igd_marshal
. /gupnp-simple-igd-marshal.list > gupnp-simple-igd-marshal.h.tmp
mv gupnp-simple-igd-marshal.h.tmp gupnp-simple-igd-marshal.h
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
  CC     gupnp-simple-igd.lo
gupnp-simple-igd.c: In function 'validate_ip_address':
gupnp-simple-igd.c:287: error: 'AF_INET' undeclared (first use in this function)
gupnp-simple-igd.c:287: error: (Each undeclared identifier is reported only once
gupnp-simple-igd.c:287: error: for each function it appears in.)
gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in
this function)
gmake[3]: *** [gupnp-simple-igd.lo] Error 1
gmake[3]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/gupnp-igd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/gupnp-igd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/farsight2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/chat/pidgin
dfly-vmsrv#

==========================

What could be the problem?

thanks

--Siju





More information about the Users mailing list