libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'`
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.
Thanks,
Paul
Quoted 28 lines · Paul Menzel
Dear OE folks,
task compile of libgisi
c993ee694ea98597d619a1ffae397d3416233354fails with the following error usingminimalforMACHINE = "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)
Quoted 2 lines
Please forward that to the appropriate people.
may be it should not be including posix-ext and posix pkgs simulteneously
Quoted 11 lines
Thanks,
Paul
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 19 lines · Paul Menzel
Dear OE folks,
task compile of libgisi
c993ee694ea98597d619a1ffae397d3416233354fails with the following error usingminimalforMACHINE = "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;
Quoted 8 lines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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