DragonFly users List (threaded) for 2010-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in this function) for pkgsrc dragonfly-2010Q3 pidgin
Some extra info on the issue, since I just ran into the same problem
building 'empathy':
6:28:00 alex-laptop:/usr/pkgsrc/net/gupnp-igd dragonfly-2010Q3
# grep -R socket\.h *
Binary file work/.buildlink/lib/libdbus-1.a matches
Binary file work/.buildlink/lib/libproxy.so.0 matches
Binary file work/.buildlink/lib/libproxy.a matches
Binary file work/.buildlink/lib/libproxy.so.0.0.0 matches
Binary file work/.buildlink/lib/libproxy.so matches
work/.buildlink/.buildlink_glib2_done:/usr/pkg/include/glib/glib-2.0/gio/gsocket.h
work/.buildlink/.buildlink_libsoup24_done:/usr/pkg/include/libsoup-2.4/libsoup/soup-socket.h
work/.buildlink/include/gcrypt.h:# include <sys/socket.h>
work/.buildlink/include/libsoup-2.4/libsoup/soup-portability.h:#include
<sys/socket.h>
work/.buildlink/include/libsoup-2.4/libsoup/soup-enum-types.h:/*
enumerations from "soup-socket.h" */
work/.buildlink/include/libsoup-2.4/libsoup/soup.h:#include
<libsoup/soup-socket.h>
work/.buildlink/include/glib/glib-2.0/gio/gsocketconnection.h:#include
<gio/gsocket.h>
work/.buildlink/include/glib/glib-2.0/gio/gio.h:#include <gio/gsocket.h>
work/.buildlink/include/python2.6/pyconfig.h:/* struct sockaddr_storage
(sys/socket.h) */
work/.buildlink/include/python2.6/pyconfig.h:/* Define to 1 if you have
the <sys/socket.h> header file. */
work/.buildlink/include/python2.6/pyconfig.h:/* Define to `int' if
<sys/socket.h> does not define. *
On 11/08/10 08:41, Siju George wrote:
> 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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]