All of lore.kernel.org
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 1/2] busybox-config.inc: Fix build when DISTRO_FEATURES lacks "largefile".
Date: Tue, 23 Nov 2010 10:07:08 +1030	[thread overview]
Message-ID: <4CEAFEA4.8020005@gmail.com> (raw)


  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@gmail.com>
---
 recipes/busybox/busybox-config.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/busybox/busybox-config.inc b/recipes/busybox/busybox-config.inc
index 26ccec4..723ec0e 100644
--- a/recipes/busybox/busybox-config.inc
+++ b/recipes/busybox/busybox-config.inc
@@ -14,6 +14,7 @@ def features_to_busybox_settings(d):
 	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)
-- 
1.7.1




                 reply	other threads:[~2010-11-22 23:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CEAFEA4.8020005@gmail.com \
    --to=graham.gower@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.