FTBFS

Mike Hommey mh at glandium.org
Wed Aug 29 17:14:05 UTC 2007


On Wed, Aug 29, 2007 at 02:19:41PM +0100, Kai Hendry <hendry at iki.fi> wrote:
> g++ -c -g -O2 -Wall -D_REENTRANT -I/usr/include -g -Wall -W -DQT_SHARED -DBUILDING_GDK__ -I/usr/share/qt4/mkspecs/linux-g++ -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore/bindings -I../../../JavaScriptCore/bindings/c -I../../../JavaScriptCore/wtf -Itmp -I../../../JavaScriptCore -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore/bindings -I../../../JavaScriptCore/bindings/c -I../../../JavaScriptCore/wtf -I../../../JavaScriptCore/pcre -Itmp -I../../../JavaScriptCore/kjs -I. -o value.o ../../../JavaScriptCore/kjs/value.cpp
> g++ -c -g -O2 -Wall -D_REENTRANT -I/usr/include -g -Wall -W -DQT_SHARED -DBUILDING_GDK__ -I/usr/share/qt4/mkspecs/linux-g++ -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore/bindings -I../../../JavaScriptCore/bindings/c -I../../../JavaScriptCore/wtf -Itmp -I../../../JavaScriptCore -I../../../JavaScriptCore/kjs -I../../../JavaScriptCore/bindings -I../../../JavaScriptCore/bindings/c -I../../../JavaScriptCore/wtf -I../../../JavaScriptCore/pcre -Itmp -I../../../JavaScriptCore/kjs -I. -o grammar.o tmp/grammar.cpp
> g++ -Wl,--as-needed -o ../testkjs testkjs.o pcre_get.o pcre_refcount.o pcre_ucp_findchar.o pcre_compile.o pcre_globals.o pcre_config.o pcre_version.o pcre_info.o pcre_study.o pcre_exec.o pcre_xclass.o pcre_tables.o pcre_maketables.o pcre_try_flipped.o pcre_ord2utf8.o pcre_fullinfo.o TCSystemAlloc.o Assertions.o HashTable.o FastMalloc.o NP_jsobject.o npruntime.o runtime_array.o runtime.o runtime_method.o runtime_object.o runtime_root.o c_class.o c_instance.o c_runtime.o c_utility.o DateMath.o JSWrapperObject.o PropertyNameArray.o array_object.o bool_object.o collector.o CommonIdentifiers.o Context.o date_object.o debugger.o dtoa.o error_object.o ExecState.o fpconst.o function.o function_object.o identifier.o internal.o interpreter.o JSImmediate.o JSLock.o lexer.o list.o lookup.o math_object.o nodes.o nodes2string.o number_object.o object.o object_object.o operations.o Parser.o property_map.o property_slot.o regexp.o regexp_object.o scope_chain.o string_object.o ustring.o value.o grammar.o     -lm -L/usr/lib -licui18n -licuuc -licudata -lm
> collector.o: In function `currentThreadStackBase':
> /tmp/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs/../../../JavaScriptCore/kjs/collector.cpp:290: undefined reference to `pthread_getattr_np'
> /tmp/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs/../../../JavaScriptCore/kjs/collector.cpp:292: undefined reference to `pthread_attr_getstack'
> /tmp/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs/../../../JavaScriptCore/kjs/collector.cpp:290: undefined reference to `pthread_getattr_np'
> /tmp/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs/../../../JavaScriptCore/kjs/collector.cpp:292: undefined reference to `pthread_attr_getstack'
> collect2: ld returned 1 exit status
> make[2]: *** [../testkjs] Error 1
> make[2]: Leaving directory `/tmp/webkit-0~svn25144/build-gdk/JavaScriptCore/kjs'
> make[1]: *** [sub-JavaScriptCore-kjs-testkjs-pro-make_default-ordered] Error 2
> make[1]: Leaving directory `/tmp/webkit-0~svn25144/build-gdk'
> make: *** [build-gdk-stamp] Error 2
> debuild: fatal error at line 1228:
> debian/rules build failed
> monty:/tmp/webkit-0~svn25144%

What is your OS ? you should have -lpthread -lm instead of -lm in the
link command.

Mike



More information about the Pkg-webkit-maintainers mailing list