Compile problem

[email protected] (Lars Bjørndal) Wed, 07 Dec 2011 16:32:01 +0100
Newsgroups gmane.comp.web.elinks.user
Message-ID <[email protected]>
The compile process fails.

>From configure output:

ECMAScript (JavaScript) ......... SpiderMonkey document scripting
Browser scripting ............... SpiderMonkey

Even though, I get the following error when compiling:

lib.o: In function `get_temp_name':
/home/lrs/rpmbuild/BUILD/elinks-0.13.GIT/src/session/download.c:1008: warning: the use of `tempnam' is dangerous, better use `mkstemp'
lib.o: In function `spidermonkey_eval_stringback':
(.text+0x4b61c): undefined reference to `JS_GetStringBytes'
lib.o: In function `spidermonkey_eval_stringback':
(.text+0x4b640): undefined reference to `JS_GetStringBytes'
lib.o: In function `document_write_do':
document.c:(.text+0x4b837): undefined reference to `JS_GetStringBytes'
document.c:(.text+0x4b85b): undefined reference to `JS_GetStringBytes'
lib.o: In function `document_set_property':
document.c:(.text+0x4ba91): undefined reference to `JS_GetStringBytes'
lib.o:document.c:(.text+0x4babe): more undefined references to `JS_GetStringBytes' follow
lib.o: In function `input_set_property':
form.c:(.text+0x4db9c): undefined reference to `JS_GetStringChars'
form.c:(.text+0x4e003): undefined reference to `JS_GetStringBytes'
form.c:(.text+0x4e033): undefined reference to `JS_GetStringBytes'
form.c:(.text+0x4e062): undefined reference to `JS_GetStringBytes'
form.c:(.text+0x4e092): undefined reference to `JS_GetStringBytes'
form.c:(.text+0x4e0c1): undefined reference to `JS_GetStringBytes'
lib.o:form.c:(.text+0x4e0ed): more undefined references to `JS_GetStringBytes' follow
lib.o: In function `jsval_to_bookmark_string':
bookmarks.c:(.text+0x786d0): undefined reference to `JS_AddNamedRoot'
bookmarks.c:(.text+0x78734): undefined reference to `JS_RemoveRoot'
bookmarks.c:(.text+0x78760): undefined reference to `JS_RemoveRoot'
bookmarks.c:(.text+0x78771): undefined reference to `JS_RemoveRoot'
lib.o: In function `cache_entry_set_property':
cache_object.c:(.text+0x78d4a): undefined reference to `JS_GetStringBytes'
cache_object.c:(.text+0x78d9c): undefined reference to `JS_GetStringBytes'
cache_object.c:(.text+0x78e12): undefined reference to `JS_GetStringBytes'
lib.o: In function `smjs_do_file_wrapper':
core.c:(.text+0x79186): undefined reference to `JS_GetStringBytes'
lib.o: In function `jsstring_to_utf8':
(.text+0x7950a): undefined reference to `JS_GetStringChars'
lib.o: In function `elinks_set_location':
elinks_object.c:(.text+0x79706): undefined reference to `JS_GetStringBytes'
lib.o: In function `elinks_execute':
elinks_object.c:(.text+0x797f4): undefined reference to `JS_GetStringBytes'
elinks_object.c:(.text+0x79818): undefined reference to `JS_GetStringBytes'
lib.o: In function `elinks_alert':
elinks_object.c:(.text+0x798fc): undefined reference to `JS_GetStringBytes'
elinks_object.c:(.text+0x79920): undefined reference to `JS_GetStringBytes'
lib.o:globhist.c:(.text+0x79b64): more undefined references to `JS_GetStringBytes' follow
lib.o: In function `smjs_loading_callback':
load_uri.c:(.text+0x7a72b): undefined reference to `JS_RemoveRoot'
lib.o: In function `smjs_load_uri':
load_uri.c:(.text+0x7a799): undefined reference to `JS_GetStringBytes'
load_uri.c:(.text+0x7a80e): undefined reference to `JS_AddNamedRoot'
lib.o: In function `view_state_set_property':
view_state_object.c:(.text+0x7aa24): undefined reference to `JS_GetStringBytes'
view_state_object.c:(.text+0x7aa48): undefined reference to `JS_GetStringBytes'
collect2: ld returned 1 exit status
make[1]: *** [elinks] Error 1
make[1]: Leaving directory `/home/lrs/rpmbuild/BUILD/elinks-0.13.GIT/src'
make: *** [all-recursive] Error 1

I use Fedora 15, and I think the relevant packages are
js-1.8.5-6.fc15.i686 and js-devel-1.8.5-6.fc15.i686.

I tried to update my elinks source files, but it seems that they was last
updated in 2010. Any ideas how to get elinks work again, after upgrading
from Fedora 14 to Fedora 15?

Thanks,
Lars
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users