You are not logged in.

#1 2011-10-09 10:35:56

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

[Solved] luakit from ABS won't build

I was trying to build luakit when I got the following

/usr/bin/ld.gold: widgets/webview.o: in function luaH_webview_register_function:widgets/webview.c:166: error: undefined reference to 'JSStringCreateWithUTF8CString'
/usr/bin/ld.gold: widgets/webview.o: in function luaH_webview_register_function:widgets/webview.c:168: error: undefined reference to 'kJSClassDefinitionEmpty'

And many other similar linker errors following. I googled about the functions and they turn out to be part of libwebkit.
The package was obtained from ABS, with

yaourt -G luakit

, and built with makepkg. I have pasted the full build log at http://pastebin.com/QKZ6spDd
Building luakit from git resulted in similar errors.

Last edited by xiaq (2011-10-09 10:38:04)

Offline

#2 2011-10-09 10:37:45

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

Re: [Solved] luakit from ABS won't build

Sorry, my bad. On my box cc is symlinked to clang. The bug turned out to be imcompatibility of luakit with clang. I'll consider reporting this to luakit's mailing list.

Offline

Board footer

Powered by FluxBB