Bug#574833: libmozjs.so: missing symbols js_[AXY]

Darren Salt linux at youmustbejoking.demon.co.uk
Sun Mar 21 14:59:06 UTC 2010


Package: libmozjs2d
Version: 1.9.1.8-5
Severity: important

I tried building gxine against libmozjs-dev 1.9.2-0preview1. It FTBFS at link
time, as follows:

script_engine.o: In function `JS_ISSPACE':
/usr/include/mozjs/jsstr.h:741: undefined reference to `js_X'
/usr/include/mozjs/jsstr.h:741: undefined reference to `js_Y'
/usr/include/mozjs/jsstr.h:741: undefined reference to `js_A'

Building against 1.9.1.8-5 works fine (which is why this bug is not of an RC
severity).

However, use of JS_CCODE, JS_ISSPACE and a few other macros will trigger this
failure in both versions since js_A, js_X and js_Y are declared as extern in
<mozjs/jsstr.h> but are not exported by the library.

-- 
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
| + It's 1984.

A hammer sometimes misses its mark - a bouquet never.





More information about the pkg-mozilla-maintainers mailing list