udev_124.bb: Fix build when DISTRO_FEATURES lacks "largefile".
authorGraham Gower <graham.gower@gmail.com>
Mon, 22 Nov 2010 23:37:37 +0000 (10:07 +1030)
committerKhem Raj <raj.khem@gmail.com>
Tue, 30 Nov 2010 00:07:32 +0000 (16:07 -0800)
commit72e7141e4e71b64843aec877672c45cc1f47eb9e
treed26678a10c22af7e5baa574155f6814ff9715717
parent9e79618b123ef41616ccae3e510ca8ee93aad9e0
udev_124.bb: Fix build when DISTRO_FEATURES lacks "largefile".

NOTE: make -e EXTRAS=extras/firmware/ extras/scsi_id/ extras/volume_id/ STRIP=echo libudevdir=/lib/udev libdir=/lib prefix=
  GENHDR   udev_version.h
  CC       udev_device.o
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdlib.h:25:0,
                 from udev_device.c:20:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
                 from udev_device.c:21:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from udev_device.c:21:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from udev_device.c:21:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t'
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token
udev_device.c: In function 'udev_device_event':
udev_device.c:272:4: warning: cast increases required alignment of target type
udev_device.c:272:4: warning: cast increases required alignment of target type
make: *** [udev_device.o] Error 1
FATAL: oe_runmake failed

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
recipes/udev/udev_124.bb