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

Simon Busch morphis at gravedo.de
Sun Jun 26 09:27:48 UTC 2011


On 24.06.2011 23:41, 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)

We need to bump libgisi SRCREV to the latest one:

SRCREV = "ee474b2bf7a10b244d52f5333b195609003762cf"

As with the latest changes to libgisi the mentioned posix-ext is removed 
and it's using only posix as dependency.

Will provide a patch to fix this later.

regards,
Simon




More information about the Openembedded-devel mailing list