* [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly
@ 2009-08-02 14:48 bugzilla at busybox.net
2009-08-02 14:59 ` [Buildroot] [Bug 529] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-08-02 14:48 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=529
Host: Ubuntu 9.0.4 Server 32 Bit
Target: i686
Build: i686
Summary: util-linux doesn't find headers and include libs
correctly
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: d.albano at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created an attachment (id=561)
--> (https://bugs.busybox.net/attachment.cgi?id=561)
my config
Hi,
util-linux search for libintl, needs some headers, like zlib.h and blkid.h. The
last one is in e2fsprogs package, i'll open a bug for that attaching a patch to
add header export to staging dir.
Actually, to let to util-linux to compile, i've applied this little hack
diff --git a/package/util-linux/util-linux.mk
b/package/util-linux/util-linux.mk
index 7f0d740..db3af41 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -49,12 +49,14 @@ $(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
)
touch $(UTIL-LINUX_DIR)/.configured
-$(UTIL-LINUX_BINARY): $(UTIL-LINUX_DIR)/.configured
+$(UTIL-LINUX_BINARY): e2fsprogs-staging-headers $(UTIL-LINUX_DIR)/.configured
$(MAKE) \
-C $(UTIL-LINUX_DIR) \
ARCH=$(ARCH) \
CC=$(TARGET_CC) \
OPT="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS) -lintl" \
HAVE_SLANG="NO"
I've added -lintl to ldflags force linking, without it, after fixing headers
error, compilation fails with:
/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
-O3 -pipe -O3 --sysroot
/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/
--sysroot /home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/
-o mkfs mkfs.o
mkfs.o: In function `main':
mkfs.c:(.text+0x59): undefined reference to `libintl_bindtextdomain'
mkfs.c:(.text+0x65): undefined reference to `libintl_textdomain'
mkfs.c:(.text+0x187): undefined reference to `libintl_gettext'
mkfs.c:(.text+0x264): undefined reference to `libintl_gettext'
mkfs.c:(.text+0x29f): undefined reference to `libintl_gettext'
mkfs.c:(.text+0x2d0): undefined reference to `libintl_gettext'
collect2: ld returned 1 exit status
make[3]: *** [mkfs] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/home/daniele/Development/OPBXA/buildroot-git/build_i686/util-linux-2.13-pre7/disk-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/daniele/Development/OPBXA/buildroot-git/build_i686/util-linux-2.13-pre7'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/daniele/Development/OPBXA/buildroot-git/build_i686/util-linux-2.13-pre7'
make: ***
[/home/daniele/Development/OPBXA/buildroot-git/build_i686/util-linux-2.13-pre7/misc-utils/chkdupexe]
Error 2
I've attached my config
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 529] util-linux doesn't find headers and include libs correctly
2009-08-02 14:48 [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly bugzilla at busybox.net
@ 2009-08-02 14:59 ` bugzilla at busybox.net
2009-08-02 16:16 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-08-02 14:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=529
Daniele Salvatore Albano <d.albano@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |531
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 529] util-linux doesn't find headers and include libs correctly
2009-08-02 14:48 [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly bugzilla at busybox.net
2009-08-02 14:59 ` [Buildroot] [Bug 529] " bugzilla at busybox.net
@ 2009-08-02 16:16 ` bugzilla at busybox.net
2009-08-30 20:09 ` bugzilla at busybox.net
2011-09-18 14:13 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-08-02 16:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=529
Daniele Salvatore Albano <d.albano@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 529] util-linux doesn't find headers and include libs correctly
2009-08-02 14:48 [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly bugzilla at busybox.net
2009-08-02 14:59 ` [Buildroot] [Bug 529] " bugzilla at busybox.net
2009-08-02 16:16 ` bugzilla at busybox.net
@ 2009-08-30 20:09 ` bugzilla at busybox.net
2011-09-18 14:13 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-08-30 20:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=529
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2009-08-30 20:09:07 UTC ---
Fixed in git (014df317d47c17c8)
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 529] util-linux doesn't find headers and include libs correctly
2009-08-02 14:48 [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly bugzilla at busybox.net
` (2 preceding siblings ...)
2009-08-30 20:09 ` bugzilla at busybox.net
@ 2011-09-18 14:13 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2011-09-18 14:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=529
Bug 529 depends on bug 531, which changed state.
Bug 531 Summary: let e2fsprogs package to export headers to staging dir if needed
https://bugs.busybox.net/show_bug.cgi?id=531
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-18 14:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02 14:48 [Buildroot] [Bug 529] New: util-linux doesn't find headers and include libs correctly bugzilla at busybox.net
2009-08-02 14:59 ` [Buildroot] [Bug 529] " bugzilla at busybox.net
2009-08-02 16:16 ` bugzilla at busybox.net
2009-08-30 20:09 ` bugzilla at busybox.net
2011-09-18 14:13 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox