[oe] libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'`

Khem Raj raj.khem at gmail.com
Fri Jun 24 23:30:44 UTC 2011


On 06/24/2011 02:41 PM, Paul Menzel wrote:
> Dear OE folks,
>
>
> task compile of libgisi c993ee694ea98597d619a1ffae397d3416233354 fails
> with the following error using `minimal` for `MACHINE = "beagleboard"`.
>
>
>          /oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/bin/valac -C --basedir .. --vapidir ../data --vapidir ../vapi --pkg glib-2.0 --pkg gio-2.0 --pkg libgisi --pkg posix --pkg posix-ext --header gisicomm.h --library gisicomm-0.0 gisicomm.vala
>          posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'
>              const int INET_ADDRSTRLEN;
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^
>          posix.vapi:476.2-476.34: note: previous definition of `INET_ADDRSTRLEN' was here
>                  public const int INET_ADDRSTRLEN;
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>          posix-ext.vapi:8.5-8.31: error: `Posix' already contains a definition for `INET6_ADDRSTRLEN'
>              const int INET6_ADDRSTRLEN;
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>          posix.vapi:478.2-478.35: note: previous definition of `INET6_ADDRSTRLEN' was here
>                  public const int INET6_ADDRSTRLEN;
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>          posix-ext.vapi:4.2-4.25: error: `Posix' already contains a definition for `inet_ntop'
>                  unowned string inet_ntop (int af, void* src, uint8[] dst);
>                  ^^^^^^^^^^^^^^^^^^^^^^^^
>          posix.vapi:485.2-485.25: note: previous definition of `inet_ntop' was here
>                  unowned string inet_ntop (int af, void* src, uint8[] dst);
>                  ^^^^^^^^^^^^^^^^^^^^^^^^
>          Compilation failed: 3 error(s), 0 warning(s)
>
> Please forward that to the appropriate people.
>

may be it should not be including posix-ext and posix pkgs simulteneously

>
> Thanks,
>
> Paul
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list