All of lore.kernel.org
 help / color / mirror / Atom feed
* libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'`
@ 2011-06-24 21:41 Paul Menzel
  2011-06-24 23:30 ` Khem Raj
  2011-06-26  9:27 ` Simon Busch
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Menzel @ 2011-06-24 21:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Michael 'Mickey' Lauer, Klaus Kurzmann

[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'`
  2011-06-24 21:41 libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'` Paul Menzel
@ 2011-06-24 23:30 ` Khem Raj
  2011-06-26  9:27 ` Simon Busch
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2011-06-24 23:30 UTC (permalink / raw)
  To: openembedded-devel

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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'`
  2011-06-24 21:41 libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'` Paul Menzel
  2011-06-24 23:30 ` Khem Raj
@ 2011-06-26  9:27 ` Simon Busch
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Busch @ 2011-06-26  9:27 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-26  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 21:41 libgisi: task compile fails with `posix-ext.vapi:7.5-7.30: error: `Posix' already contains a definition for `INET_ADDRSTRLEN'` Paul Menzel
2011-06-24 23:30 ` Khem Raj
2011-06-26  9:27 ` Simon Busch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.