[oe-issues] [Bug 2185] New: glib-2.0 configure fails on MIPS and x86
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Tue May 1 09:13:15 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2185
Summary: glib-2.0 configure fails on MIPS and x86
Product: Openembedded
Version: unspecified
Platform: MIPS
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: jake at cogini.com
QAContact: tinderbox-oe at gmx.net
Configure for glib-2.0_2.12.11 fails on the check for a compatible
printf, i.e.
| checking for C99 vsnprintf... no
| checking whether printf supports positional parameters... no
| configure: error:
| *** Your C library's printf doesn't appear to have the features that
| *** GLib needs, but you specified --enable-included-printf=no.
It appears that this is caused by the fact that the AC_TRY_RUN macro doesn't
handle cross compiling, as there are a lot of "warning: AC_RUN_IFELSE called
without default to allow cross compiling" warnings earlier. So the proper
variables are not getting set.
I added the following lines to site/common-glibc, which allowed the compile to
complete successfully.
# glib-2.0
ac_cv_func_vsnprintf_c99=${ac_cv_func_vsnprintf_c99=yes}
ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
The same errors occur on x86 with Angstrom and generic distros,
and MIPS with Angstrom distro, with both bitbake 1.6 and 1.8.
So it seems to be a generic problem.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list