Advertisement
xiaq

luakit build error with CC=clang

Oct 9th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.02 KB | None | 0 0
  1. ~/src/luakit% git pull
  2. Already up-to-date.
  3. ~/src/luakit% make CC=clang
  4. luakit build options:
  5. CC = clang
  6. LUA_PKG_NAME = lua
  7. CFLAGS = -std=gnu99 -ggdb -W -Wall -Wextra -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/unique-1.0 -I./
  8. CPPFLAGS = -DVERSION="2011.07.22-r1-154-g51e85fd" -DWITH_UNIQUE -DDEVELOPMENT_PATHS
  9. LDFLAGS = -pthread -lwebkitgtk-1.0 -lsoup-2.4 -lsqlite3 -llua -lm -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -Wl,--export-dynamic
  10. INSTALLDIR = /usr/local
  11. MANPREFIX = /usr/local/share/man
  12. DOCDIR = /usr/local/share/luakit/docs
  13.  
  14. build targets:
  15. SRCS = luakit.c luah.c common/luaclass.c common/property.c common/util.c common/luaobject.c clib/sqlite3.c clib/unique.c clib/xdg.c clib/luakit.c clib/download.c clib/widget.c clib/timer.c clib/soup/cookiejar.c clib/soup/auth.c clib/soup/soup.c widgets/socket.c widgets/label.c widgets/entry.c widgets/webview.c widgets/notebook.c widgets/common.c widgets/paned.c widgets/window.c widgets/box.c widgets/eventbox.c common/tokenize.c
  16. HEADS = luah.h common/lualib.h common/luaclass.h common/property.h common/signal.h common/util.h common/luaobject.h widgets/common.h clib/unique.h clib/xdg.h clib/luakit.h clib/download.h clib/widget.h clib/timer.h clib/sqlite3.h clib/soup/cookiejar.h clib/soup/auth.h clib/soup/soup.h common/tokenize.h globalconf.h
  17. OBJS = luakit.o luah.o common/luaclass.o common/property.o common/util.o common/luaobject.o clib/sqlite3.o clib/unique.o clib/xdg.o clib/luakit.o clib/download.o clib/widget.o clib/timer.o clib/soup/cookiejar.o clib/soup/auth.o clib/soup/soup.o widgets/socket.o widgets/label.o widgets/entry.o widgets/webview.o widgets/notebook.o widgets/common.o widgets/paned.o widgets/window.o widgets/box.o widgets/eventbox.o common/tokenize.o
  18.  
  19. ./build-utils/gentokens.lua common/tokenize.list common/tokenize.h
  20. sed 's#LUAKIT_INSTALL_PATH .*#LUAKIT_INSTALL_PATH "/usr/local/share/luakit"#' globalconf.h.in > globalconf.h
  21. clang -c luakit.c -o luakit.o
  22. clang -c luah.c -o luah.o
  23. clang -c common/luaclass.c -o common/luaclass.o
  24. clang -c common/property.c -o common/property.o
  25. clang -c common/util.c -o common/util.o
  26. clang -c common/luaobject.c -o common/luaobject.o
  27. clang -c clib/sqlite3.c -o clib/sqlite3.o
  28. clang -c clib/unique.c -o clib/unique.o
  29. clang -c clib/xdg.c -o clib/xdg.o
  30. clang -c clib/luakit.c -o clib/luakit.o
  31. clang -c clib/download.c -o clib/download.o
  32. clang -c clib/widget.c -o clib/widget.o
  33. clang -c clib/timer.c -o clib/timer.o
  34. clang -c clib/soup/cookiejar.c -o clib/soup/cookiejar.o
  35. clang -c clib/soup/auth.c -o clib/soup/auth.o
  36. clang -c clib/soup/soup.c -o clib/soup/soup.o
  37. clang -c widgets/socket.c -o widgets/socket.o
  38. clang -c widgets/label.c -o widgets/label.o
  39. clang -c widgets/entry.c -o widgets/entry.o
  40. clang -c widgets/webview.c -o widgets/webview.o
  41. clang -c widgets/notebook.c -o widgets/notebook.o
  42. clang -c widgets/common.c -o widgets/common.o
  43. clang -c widgets/paned.c -o widgets/paned.o
  44. clang -c widgets/window.c -o widgets/window.o
  45. clang -c widgets/box.c -o widgets/box.o
  46. clang -c widgets/eventbox.c -o widgets/eventbox.o
  47. ./build-utils/gentokens.lua common/tokenize.list common/tokenize.c
  48. clang -c common/tokenize.c -o common/tokenize.o
  49. clang -o luakit luakit.o luah.o common/luaclass.o common/property.o common/util.o common/luaobject.o clib/sqlite3.o clib/unique.o clib/xdg.o clib/luakit.o clib/download.o clib/widget.o clib/timer.o clib/soup/cookiejar.o clib/soup/auth.o clib/soup/soup.o widgets/socket.o widgets/label.o widgets/entry.o widgets/webview.o widgets/notebook.o widgets/common.o widgets/paned.o widgets/window.o widgets/box.o widgets/eventbox.o common/tokenize.o
  50. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:58: error: undefined reference to 'JSStringCreateWithUTF8CString'
  51. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:60: error: undefined reference to 'kJSClassDefinitionEmpty'
  52. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:64: error: undefined reference to 'JSClassCreate'
  53. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:65: error: undefined reference to 'JSObjectMake'
  54. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:67: error: undefined reference to 'JSContextGetGlobalObject'
  55. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:68: error: undefined reference to 'JSObjectSetProperty'
  56. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:70: error: undefined reference to 'JSStringRelease'
  57. /usr/bin/ld.gold: widgets/webview.o: in function webview_register_function:./widgets/webview/javascript.c:71: error: undefined reference to 'JSClassRelease'
  58. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:29: error: undefined reference to 'JSObjectGetPrivate'
  59. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:38: error: undefined reference to 'JSStringCreateWithUTF8CString'
  60. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:39: error: undefined reference to 'JSValueMakeString'
  61. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:40: error: undefined reference to 'JSValueToObject'
  62. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:41: error: undefined reference to 'JSStringRelease'
  63. /usr/bin/ld.gold: widgets/webview.o: in function webview_registered_function_callback:./widgets/webview/javascript.c:43: error: undefined reference to 'JSValueMakeUndefined'
  64. /usr/bin/ld.gold: widgets/webview.o: in function webview_collect_registered_function:./widgets/webview/javascript.c:50: error: undefined reference to 'JSObjectGetPrivate'
  65. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:88: error: undefined reference to 'JSContextGetGlobalObject'
  66. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:91: error: undefined reference to 'JSStringCreateWithUTF8CString'
  67. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:92: error: undefined reference to 'JSStringCreateWithUTF8CString'
  68. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:93: error: undefined reference to 'JSEvaluateScript'
  69. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:94: error: undefined reference to 'JSValueIsUndefined'
  70. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:95: error: undefined reference to 'JSValueToStringCopy'
  71. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:96: error: undefined reference to 'JSStringGetMaximumUTF8CStringSize'
  72. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:100: error: undefined reference to 'JSStringGetUTF8CString'
  73. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:104: error: undefined reference to 'JSStringRelease'
  74. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:109: error: undefined reference to 'JSValueToObject'
  75. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:115: error: undefined reference to 'JSObjectGetProperty'
  76. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:115: error: undefined reference to 'JSValueToStringCopy'
  77. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:116: error: undefined reference to 'JSStringGetMaximumUTF8CStringSize'
  78. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:119: error: undefined reference to 'JSStringGetUTF8CString'
  79. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:122: error: undefined reference to 'JSStringRelease'
  80. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:127: error: undefined reference to 'JSObjectGetProperty'
  81. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:127: error: undefined reference to 'JSValueToStringCopy'
  82. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:128: error: undefined reference to 'JSStringGetMaximumUTF8CStringSize'
  83. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:131: error: undefined reference to 'JSStringGetUTF8CString'
  84. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:138: error: undefined reference to 'JSValueToStringCopy'
  85. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:139: error: undefined reference to 'JSStringGetMaximumUTF8CStringSize'
  86. /usr/bin/ld.gold: widgets/webview.o: in function webview_eval_js:./widgets/webview/javascript.c:142: error: undefined reference to 'JSStringGetUTF8CString'
  87. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  88. make: *** [luakit] Error 1
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement