android 1.6 on fedora x86_64 build error

117 views
Skip to first unread message

hce hce

unread,
Jul 18, 2011, 7:19:11 AM7/18/11
to Android Building
Hi,

I'm receiving the following error building android donut (1.6).

/usr/bin/ld: out/host/linux-x86/obj/STATIC_LIBRARIES/
libutils_intermediates/libutils.a(Threads.o): undefined reference to
symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/
libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation

How can I fix this?

Thanks,
Flo

Ying Wang

unread,
Jul 18, 2011, 1:12:00 PM7/18/11
to android-...@googlegroups.com
You can try adding "-lpthread" to HOST_GLOBAL_LDFLAGS in donut/build/core/combo/linux-x86.mk.


--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

hce hce

unread,
Jul 18, 2011, 5:02:03 PM7/18/11
to android-...@googlegroups.com
Worked! Thanks!
Reply all
Reply to author
Forward
0 new messages