[oe-commits] Graham Gower : busybox-config.inc: Fix build when DISTRO_FEATURES lacks " largefile".

git version control git at git.openembedded.org
Sun Nov 28 10:06:13 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 40d081740d35a454181a6389f1b1f85a0c9ce8e1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=40d081740d35a454181a6389f1b1f85a0c9ce8e1

Author: Graham Gower <graham.gower at gmail.com>
Date:   Tue Nov 23 10:25:08 2010 +1030

busybox-config.inc: Fix build when DISTRO_FEATURES lacks "largefile".

mipsel-oe-linux-uclibc-gcc -march=mips32 -Wp,-MD,util-linux/.fdisk.o.d   -std=gnu99 -Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG  -D"BB_VER=KBUILD_STR(1.17.3)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os   -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdisk)"  -D"KBUIL
D_MODNAME=KBUILD_STR(fdisk)" -c -o util-linux/fdisk.o util-linux/fdisk.c
util-linux/fdisk.c: In function 'seek_sector':
util-linux/fdisk.c:522:2: error: 'off64_t' undeclared (first use in this function)
util-linux/fdisk.c:522:2: note: each undeclared identifier is reported only once for each function it appears in
util-linux/fdisk.c:522:10: error: expected ';' before 'off'
util-linux/fdisk.c:523:2: warning: implicit declaration of function 'lseek64'
util-linux/fdisk.c:523:22: error: 'off' undeclared (first use in this function)
util-linux/fdisk.c:519:22: warning: unused parameter 'secno'
make[1]: *** [util-linux/fdisk.o] Error 1
make[1]: Leaving directory `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/busybox-1.17.3-r38.1/busybox-1.17.3'
make: *** [util-linux] Error 2
make: *** Waiting for unfinished jobs....

Signed-off-by: Graham Gower <graham.gower at gmail.com>
Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/busybox/busybox-config.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/busybox/busybox-config.inc b/recipes/busybox/busybox-config.inc
index 26ccec4..a333a4f 100644
--- a/recipes/busybox/busybox-config.inc
+++ b/recipes/busybox/busybox-config.inc
@@ -13,7 +13,7 @@ def features_to_busybox_settings(d):
 	distro_features = bb.data.getVar('DISTRO_FEATURES', d).split()
 	machine_features = bb.data.getVar('MACHINE_FEATURES', d).split()
 	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IPV6', cnf, rem)
-	busybox_cfg('largefile', distro_features, 'CONFIG_LFS', cnf, rem)
+	busybox_cfg('largefile', distro_features, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem)
 	busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
 	busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
 	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)





More information about the Openembedded-commits mailing list