[oe] minimal-uclibc: freesmartphone/libfsobasics_git.bb: do_compile() failed: utilities.c:35:25: error: sys/eventfd.h: No such file or directory (was: utilities.c:35:22: fatal error: execinfo.h: No such file or directory)

Khem Raj raj.khem at gmail.com
Wed Sep 22 14:52:25 UTC 2010


On Wed, Sep 22, 2010 at 2:11 AM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Dear Frederik,
>
>
> Am Dienstag, den 21.09.2010, 07:17 +0200 schrieb Frederik Sdun:
>
> […]
>
>> fso is quit untested with none GNU libcs and we partly depend on it. I
>> wrote a short patch which add a --enable-no-gnuism switch for configure,
>> but want to talk to Michael, before commiting it. Could you test it and
>> report more gnuism in our code?
>
> thank you for your patch. It partly reduced the problem. It now chokes
> on `eventfd.h`. Unfortunately I do not know anything about if there are
> any non glibc equivalents.
>
>        […]
>        | kobjectnotifier.c:188: warning: passing argument 2 of 'bind' from incompatible pointer type
>        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/sys/socket.h:115: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_nl *'
>        |   CC     libinitexit.lo
>        |   CC     logger.lo
>        |   CC     netlinknotifier.lo
>        | netlinknotifier.c: In function 'fso_framework_base_netlink_notifier_construct':
>        | netlinknotifier.c:206: warning: passing argument 4 of 'g_hash_table_new_full' from incompatible pointer type
>        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/glib-2.0/glib/ghash.h:62: note: expected 'GDestroyNotify' but argument is of type 'void (*)(struct GList *)'
>        | netlinknotifier.c: In function '_lambda0_':
>        | netlinknotifier.c:260: warning: assignment discards qualifiers from pointer target type
>        | netlinknotifier.c: In function 'fso_framework_base_netlink_notifier_handleNetlinkMessage':
>        | netlinknotifier.c:296: warning: assignment makes pointer from integer without a cast
>        | netlinknotifier.c: In function 'fso_framework_base_netlink_notifier_handleMessage':
>        | netlinknotifier.c:344: warning: cast to pointer from integer of different size
>        | netlinknotifier.c: In function '_fso_framework_base_netlink_notifier_addMatch':
>        | netlinknotifier.c:366: warning: cast to pointer from integer of different size
>        | netlinknotifier.c:372: warning: cast to pointer from integer of different size
>        |   CC     netlinkutils.lo
>        |   CC     overlay.lo
>        |   CC     process.lo
>        |   CC     smartkeyfile.lo
>        |   CC     syncasync.lo
>        |   CC     threading.lo
>        | threading.c: In function 'fso_framework_threading_callDelegateOnMainThread':
>        | threading.c:451: warning: passing argument 4 of 'g_idle_add_full' from incompatible pointer type
>        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/glib-2.0/glib/gmain.h:291: note: expected 'GDestroyNotify' but argument is of type 'void (*)(struct Block3Data *)'
>        | threading.c:455: warning: passing argument 4 of 'g_idle_add_full' from incompatible pointer type
>        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/glib-2.0/glib/gmain.h:291: note: expected 'GDestroyNotify' but argument is of type 'void (*)(struct Block3Data *)'
>        | threading.c:458: warning: passing argument 4 of 'g_idle_add_full' from incompatible pointer type
>        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/glib-2.0/glib/gmain.h:291: note: expected 'GDestroyNotify' but argument is of type 'void (*)(struct Block3Data *)'
>        |   CC     types.lo
>        |   CC     utilities.lo
>        | utilities.c:35:25: error: sys/eventfd.h: No such file or directory


eventfd is unimplemented in uclibc.


>        | make[3]: *** [utilities.lo] Error 1
>        | make[3]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/libfsobasics-1_0.9.10+gitr0+2f8221fea7c667d2ee46ff6b8dace2d53b8860cc-r2.0/git/libfsobasics/fsobasics'
>        | make[2]: *** [all] Error 2
>        | make[2]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/libfsobasics-1_0.9.10+gitr0+2f8221fea7c667d2ee46ff6b8dace2d53b8860cc-r2.0/git/libfsobasics/fsobasics'
>        | make[1]: *** [all-recursive] Error 1
>        | make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/libfsobasics-1_0.9.10+gitr0+2f8221fea7c667d2ee46ff6b8dace2d53b8860cc-r2.0/git/libfsobasics'
>        | make: *** [all] Error 2
>        | FATAL: oe_runmake failed
>        | ERROR: Function do_compile failed
>
> I am attaching the patch file to include your patch into OE easily for testing.
>
>
> Thanks,
>
> Paul
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>



-- 
-Khem




More information about the Openembedded-devel mailing list