icu, webkit-gtk do_compile failed
Shakthi Kannan
shakthimaan at gmail.com
Thu Oct 4 15:54:21 CEST 2007
Hi,
Using OM2007.2 on Debian Etch (x86). I was updating my build
environment today using:
make update-makefile && make setup update openmoko-devel-image
and after 6 hours, I got stuck with webkit-gtk compile fail error:
=== BEGIN ERROR ===
moko/build/tmp/staging/i686-linux/lib -Wl,-O1 -licui18n -licuuc
-licudata -lpthread -lm
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `operator delete(void*)@GLIBCXX_3.4'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `__gxx_personality_v0 at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `__cxa_end_cleanup at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__si_class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `__cxa_pure_virtual at CXXABI_1.3'
| collect2: ld returned 1 exit status
| make[2]: *** [../testkjs] Error 1
| make[2]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25808-r1/WebKitBuilds/Debug/JavaScriptCore/kjs'
| make[1]: *** [sub-JavaScriptCore-kjs-testkjs-pro-make_default-ordered] Error 2
| make[1]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25808-r1/WebKitBuilds/Debug'
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25808-r1/temp/log.do_compile.18025
NOTE: package webkit-gtk-0.0+svnr25808-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package webkit-gtk-0.0+svnr25808: failed
ERROR: Build of
/home/shaks/moko/openembedded/packages/webkit/webkit-gtk_svn.bb
do_compile failed
ERROR: Task 1517
(/home/shaks/moko/openembedded/packages/webkit/webkit-gtk_svn.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 2709 tasks of which 2083 didn't need to
be rerun and 1 failed.
ERROR: '/home/shaks/moko/openembedded/packages/webkit/webkit-gtk_svn.bb' failed
make: *** [openmoko-devel-image] Error 1
=== END ===
I then did :
make update-makefile && make setup && make update
make clean-package-webkit-gtk
make openmoko-devel-image
But, again hit the same error.
As suggested by "CM" at #openmoko, I tried to clean glibc, icu,
webkit-gtk and build again:
make update-makefile && make setup && make update
make clean-package-glibc clean-package-icu clean-package-webkit-gtk
make openmoko-devel-image
But, hit the following error:
=== BEGIN ERROR ===
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__class_type_info at CXXABI_1.3'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `__gxx_personality_v0 at CXXABI_1.3'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `__cxa_end_cleanup at CXXABI_1.3'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `vtable for
__cxxabiv1::__si_class_type_info at CXXABI_1.3'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info at CXXABI_1.3'
/home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `__cxa_pure_virtual at CXXABI_1.3'
collect2: ld returned 1 exit status
make[3]: *** [makeconv] Error 1
make[3]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source/tools/makeconv'
make[2]: *** [all-recursive] Error 2
make[2]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source/tools'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source'
FATAL: oe_runmake failed
=== END ==
I tried to rebuild package icu-native, and it built fine:
make rebuilt-package-icu-native
I tried to build openmoko-devel-image now, and it failed at:
=== BEGIN ERROR ===
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `operator delete(void*)@GLIBCXX_3.4'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `__gxx_personality_v0 at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `__cxa_end_cleanup at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicutu.so:
undefined reference to `vtable for
__cxxabiv1::__si_class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info at CXXABI_1.3'
| /home/shaks/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libicui18n.so:
undefined reference to `__cxa_pure_virtual at CXXABI_1.3'
| collect2: ld returned 1 exit status
| make[3]: *** [makeconv] Error 1
| make[3]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source/tools/makeconv'
| make[2]: *** [all-recursive] Error 2
| make[2]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source/tools'
| make[1]: *** [all-recursive] Error 2
| make[1]: Leaving directory
`/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/icu/source'
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/shaks/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/icu-3.6-r1/temp/log.do_compile.9319
NOTE: package icu-3.6-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package icu-3.6: failed
ERROR: Build of /home/shaks/moko/openembedded/packages/icu/icu_3.6.bb
do_compile failed
ERROR: Task 2941
(/home/shaks/moko/openembedded/packages/icu/icu_3.6.bb, do_compile)
failed
NOTE: Tasks Summary: Attempted 2695 tasks of which 2678 didn't need to
be rerun and 1 failed.
ERROR: '/home/shaks/moko/openembedded/packages/icu/icu_3.6.bb' failed
make: *** [openmoko-devel-image] Error 1
=== END ===
Appreciate any inputs on how I can resolve this, and build the image.
Thanks!
SK
P.S.: Sorry for the long post. Needed to give as much info as possible.
--
Shakthi Kannan
http://www.shakthimaan.com
More information about the openmoko-devel
mailing list