* [Buildroot] [Bug 9341] New: avahi-utils does not compile with uClibc + libglib2
@ 2016-10-10 15:34 bugzilla at busybox.net
2016-10-11 9:42 ` [Buildroot] [Bug 9341] " bugzilla at busybox.net
2017-07-15 9:33 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2016-10-10 15:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9341
Bug ID: 9341
Summary: avahi-utils does not compile with uClibc + libglib2
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: johan.oudinet at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 6746
--> https://bugs.busybox.net/attachment.cgi?id=6746&action=edit
rpi2_avahi_dbus_libglib2_defconfig
When compiling the avahi package in both buildroot 2016.08 and master (from
Today), I get the following error message:
------8<------8<------8<------8<------8<------8<------
Making all in avahi-utils
CC avahi_browse-avahi-browse.o
CC avahi_browse-sigint.o
CC avahi_resolve-avahi-resolve.o
CC avahi_resolve-sigint.o
CC avahi_publish-avahi-publish.o
CC avahi_set_host_name-avahi-set-host-name.o
CC avahi_publish-sigint.o
CC avahi_set_host_name-sigint.o
CCLD avahi-set-host-name
CCLD avahi-resolve
CCLD avahi-publish
CCLD avahi-browse
/home/johan/Documents/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/5.4.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld:
avahi_set_host_name-avahi-set-host-name.o: undefined reference to symbol
'libintl_dgettext'
/home/johan/Documents/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libintl.so.8:
error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:632: recipe for target 'avahi-set-host-name' failed
------8<------8<------8<------8<------8<------8<------
To reproduce this bug, start from the defconfig for RPI 2
(raspberrypi2_defconfig), then select dbus, libglib2, avahi, and avahi-daemon
(or use the attached defconfig).
Note, a workaround is to also select BR2_TOOLCHAIN_BUILDROOT_LOCALE. So,
avahi.mk adds libintl since BR2_NEEDS_GETTEXT_IF_LOCALE is defined.
I don't know how to solve this issue properly.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 9341] avahi-utils does not compile with uClibc + libglib2
2016-10-10 15:34 [Buildroot] [Bug 9341] New: avahi-utils does not compile with uClibc + libglib2 bugzilla at busybox.net
@ 2016-10-11 9:42 ` bugzilla at busybox.net
2017-07-15 9:33 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2016-10-11 9:42 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9341
--- Comment #1 from Johan Oudinet <johan.oudinet@gmail.com> ---
Created attachment 6751
--> https://bugs.busybox.net/attachment.cgi?id=6751&action=edit
Add libintl if libglib2 is enabled
I may have a solution (see attached patch).
It does fix the compilation error in my case but I'm not sure it doesn't
compile with libintl too often.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 9341] avahi-utils does not compile with uClibc + libglib2
2016-10-10 15:34 [Buildroot] [Bug 9341] New: avahi-utils does not compile with uClibc + libglib2 bugzilla at busybox.net
2016-10-11 9:42 ` [Buildroot] [Bug 9341] " bugzilla at busybox.net
@ 2017-07-15 9:33 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2017-07-15 9:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9341
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I believe this issue has been resolved by the recent gettext reworked, merged
in master since early July. Now, all 3 C libraries have a gettext
implementation built-in, which allows to avoid a lot of those issues.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-15 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10 15:34 [Buildroot] [Bug 9341] New: avahi-utils does not compile with uClibc + libglib2 bugzilla at busybox.net
2016-10-11 9:42 ` [Buildroot] [Bug 9341] " bugzilla at busybox.net
2017-07-15 9:33 ` bugzilla at busybox.net
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.