meta-oe: midori build fails with linker error
Hi,
last night I tried to build midori and get complaining linker:
| [ 72/114] cc_link: _build_/default/extensions/history-list_13.o -> _build_/default/extensions/libhistory-list.so
| [ 73/114] cc_link: _build_/default/extensions/statusbar-features_14.o -> _build_/default/extensions/libstatusbar-features.so
| [ 74/114] cc_link: _build_/default/extensions/feed-panel/main_15.o _build_/default/extensions/feed-panel/feed-rss_15.o _build_/default/extensions/feed-panel/feed-atom_15.o _build_/default/extensions/feed-panel/feed-parse_15.o _build_/default/extensions/feed-panel/feed-panel_15.o -> _build_/default/extensions/libfeed-panel.so
| [ 75/114] cc_link: _build_/default/extensions/colorful-tabs_16.o -> _build_/default/extensions/libcolorful-tabs.so
| /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a- angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld:
default/midori/libmidori-core.a(sokoke_1.o): undefined reference to symbol 'JSContextGetGlobalObject'
| /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a- angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld: note:
'JSContextGetGlobalObject' is defined in DSO /home/Superandy/tmp/oe-core- eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker command line
| /home/Superandy/tmp/oe-core- eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read
symbols: Invalid operation
| collect2: ld returned 1 exit status
| Waf: Leaving directory `/home/Superandy/tmp/oe-core-eglibc/work/armv7a- angstrom-linux-gnueabi/midori-0.3.6-r1/midori-0.3.6/_build_'
| Build failed: -> task failed (err #1):
| {task: cc_link main_2.o -> midori}
| make: *** [all] Error 1
| + die 'oe_runmake failed'
| + bbfatal 'oe_runmake failed'
| + echo 'ERROR: oe_runmake failed'
| ERROR: oe_runmake failed
| + exit 1
| ERROR: Function 'do_compile' failed (see /home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/midori-0.3.6- r1/temp/log.do_compile.18897 for further information)
NOTE: package midori-0.3.6-r1: task do_compile: Failed
ERROR: Task 393 (/home/Superandy/data/oe-core/sources/meta-openembedded/meta- oe/recipes-connectivity/midori/midori_0.3.6.bb, do_compile) failed with exit code '1'
Right now I haven't much time to take care - any ideas / volunteers?
Andreas
On Wednesday, August 31, 2011 08:25:16 AM Andreas Müller wrote:
[...]
Quoted 11 lines
angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld: note:
'JSContextGetGlobalObject' is defined in DSO/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker command line|
/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read
symbols: Invalid operation| collect2: ld returned 1 exit status
we are not alone [1]...
Andreas
Quoted 12 lines · Andreas Müller
On Wednesday, August 31, 2011 08:25:16 AM Andreas Müller wrote:
[...]Quoted 10 lines
angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld: note:
'JSContextGetGlobalObject' is defined in DSO/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker command line|
/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read
symbols: Invalid operation
Quoted 7 lines
Quoted 1 line
| collect2: ld returned 1 exit status
we are not alone [1]...
Andreas
Hi,
LDFLAGS_append = " -ljavascriptcoregtk-1.0 "
should do the work.
Best regards,
Bernhard
--
Scanned by MailScanner.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-09-11 08:50, Bernhard Guillon schreef:
Quoted 21 lines · Andreas Müller
Quoted 18 lines
On Wednesday, August 31, 2011 08:25:16 AM Andreas Müller wrote: [...]
Quoted 6 lines
angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld:
note: 'JSContextGetGlobalObject' is defined in DSO/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker command lineQuoted 6 lines
|
/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read symbols: Invalid operation
| collect2: ld returned 1 exit status
we are not alone [1]...
Andreas
Quoted 8 lines
Quoted 2 lines
Hi,
LDFLAGS_append= " -ljavascriptcoregtk-1.0 "should do the work.
That leads to | /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/midori-0.3.6-r1/midori-0.3.6/_build_/../midori/midori-view.c:4503:
undefined reference to `webkit_web_view_get_selected_text'
Same with 0.4.0, so midori needs to get updated for a more recent webkit. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOXzozMkyGM64RGpERAhN3AJ4zqyuRWbHgbSMcXJ3zfIuee16JlgCfWH4x Rjk2Pl1cSAM3NT5TeQkmsco=
=NtME
-----END PGP SIGNATURE-----