From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 2809] New: failed to compile libglib2
Date: Sun, 14 Nov 2010 21:20:56 +0000 (UTC) [thread overview]
Message-ID: <bug-2809-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=2809
Summary: failed to compile libglib2
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: oilehus at yahoo.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I turned on libglib2, I got the following comipler error
libtool: compile:
/local/home/src/buildroot-2010.11-rc1/output/staging/usr/bin/i386-unknown-linux-uclibc-gcc
--sysroot=/local/home/src/buildroot-2010.11-rc1/output/staging -DHAVE_CONFIG_H
-I. -I.. -I.. -I../glib -I../glib -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC
-DG_DISABLE_SINGLE_INCLUDES -pthread -pipe -Os -mtune=i386 -march=i386
-I/local/home/src/buildroot-2010.11-rc1/output/staging/usr/include
-I/local/home/src/buildroot-2010.11-rc1/output/staging/include -Wall -MT
gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fPIC -DPIC -o
.libs/gatomic.o
gatomic.c:885: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
gatomic.c: In function 'g_atomic_int_exchange_and_add':
gatomic.c:906: warning: implicit declaration of function 'g_mutex_lock'
gatomic.c:906: error: 'g_atomic_mutex' undeclared (first use in this function)
gatomic.c:906: error: (Each undeclared identifier is reported only once
gatomic.c:906: error: for each function it appears in.)
gatomic.c:909: warning: implicit declaration of function 'g_mutex_unlock'
gatomic.c: In function 'g_atomic_int_add':
gatomic.c:928: error: 'g_atomic_mutex' undeclared (first use in this function)
gatomic.c: In function 'g_atomic_int_compare_and_exchange':
gatomic.c:954: error: 'g_atomic_mutex' undeclared (first use in this function)
gatomic.c: In function 'g_atomic_pointer_compare_and_exchange':
gatomic.c:988: error: 'g_atomic_mutex' undeclared (first use in this function)
gatomic.c: In function '_g_atomic_thread_init':
gatomic.c:1155: error: 'g_atomic_mutex' undeclared (first use in this function)
gatomic.c:1155: warning: implicit declaration of function 'g_mutex_new'
make[5]: *** [gatomic.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/garray.Tpo .deps/garray.Plo
make[5]: Leaving directory
`/local/home/src/buildroot-2010.11-rc1/output/build/libglib2-2.26.0/glib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/local/home/src/buildroot-2010.11-rc1/output/build/libglib2-2.26.0/glib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/local/home/src/buildroot-2010.11-rc1/output/build/libglib2-2.26.0/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/local/home/src/buildroot-2010.11-rc1/output/build/libglib2-2.26.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/local/home/src/buildroot-2010.11-rc1/output/build/libglib2-2.26.0'
--
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.
next reply other threads:[~2010-11-14 21:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-14 21:20 bugzilla at busybox.net [this message]
2010-11-14 22:52 ` [Buildroot] [Bug 2809] failed to compile libglib2 bugzilla at busybox.net
2010-11-15 3:44 ` bugzilla at busybox.net
2010-11-15 5:38 ` bugzilla at busybox.net
2010-11-17 6:28 ` bugzilla at busybox.net
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=bug-2809-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox