Closed lanigb closed 12 years ago
Tried your patch with patch --dry-run -Np1 -d tagainijisho-0.9.4 < patchfile.patch patching file src/sqlite/CMakeLists.txt Hunk #2 FAILED at 88. 1 out of 2 hunks FAILED -- saving rejects to file src/sqlite/CMakeLists.txt.rej
Thanks for your help
Hooops. Closed the bug instead of adding a comment.
I patched the CMakiList.txt file by hand.
set(QT_DONT_USE_QTGUI TRUE) include(${QT_USE_FILE})
find_package(Threads)
set(SQLITE_MIN_VERSION "3007004") set(SQLITE_BLACKLIST "3007007;3007008") set(SQLITE_DOWNLOAD_VERSION "3071100")
set(SQLITE_SOURCE http://www.sqlite.org/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}.zip)
option(SHARED_SQLITE_LIBRARY "Build the SQLite library as a shared library (loadable by SQLite's interpreter)" OFF)
option(EMBED_SQLITE "Embed SQLite even if a system version is present and valid" OFF)
find_path(SQLITE_INCLUDE_DIR sqlite3.h) find_library(SQLITE_LIBRARY NAMES sqlite sqlite3 DOC "SQLite library" ) if(SQLITE_INCLUDE_DIR AND SQLITE_LIBRARY AND NOT EMBED_SQLITE) file(STRINGS ${SQLITE_INCLUDE_DIR}/sqlite3.h SQLITE_VERSION LIMIT_COUNT 1 REGEX "#define SQLITE_VERSION_NUMBER ") string(REGEX REPLACE "#define SQLITE_VERSION_NUMBER +(.+)" "\1" SQLITE_VERSION ${SQLITE_VERSION}) string(COMPARE GREATER "${SQLITE_VERSION}" "${SQLITE_MIN_VERSION}" FOUND_SQLITE) if(NOT FOUND_SQLITE) string(COMPARE EQUAL "${SQLITE_VERSION}" "${SQLITE_MIN_VERSION}" FOUND_SQLITE) endif() foreach(BANNED_VERSION ${SQLITE_BLACKLIST}) string(COMPARE EQUAL "${SQLITE_VERSION}" "${BANNED_VERSION}" IS_BANNED) if (IS_BANNED) break() endif() endforeach() if(FOUND_SQLITE) if (IS_BANNED) message(STATUS "Found sqlite3 version ${SQLITE_VERSION}, but this version has been blacklisted. Embedding version ${SQLITE_DOWNLOAD_VERSION} instead") set(EMBED_SQLITE TRUE) else() message(STATUS "Found sqlite3 version ${SQLITE_VERSION} (using ${SQLITE_INCLUDE_DIR}/sqlite3.h)") endif() else() message(STATUS "Found sqlite3 version ${SQLITE_VERSION} but version ${SQLITE_MIN_VERSION} or greater required, embedding version ${SQLITE_DOWNLOAD_VERSION}") set(EMBED_SQLITE TRUE) endif() elseif(NOT EMBED_SQLITE) message(STATUS "System sqlite3 not found, embedding version ${SQLITE_DOWNLOAD_VERSION}...") set(SQLITE_VERSION ${SQLITE_DOWNLOAD_VERSION}}) set(EMBED_SQLITE TRUE) endif()
if(EMBED_SQLITE AND NOT EXISTS ${CMAKE_SOURCE_DIR}/3rdparty/sqlite/sqlite3.c) message(STATUS "Downloading SQLite ${SQLITE_DOWNLOAD_VERSION} from ${SQLITE_SOURCE}") file(DOWNLOAD ${SQLITE_SOURCE} ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}.zip) execute_process(COMMAND cmake -E tar xvf ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}.zip WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty) file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/sqlite) file(RENAME ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}/sqlite3.c ${CMAKE_SOURCE_DIR}/3rdparty/sqlite/sqlite3.c) file(RENAME ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}/sqlite3.h ${CMAKE_SOURCE_DIR}/3rdparty/sqlite/sqlite3.h) file(RENAME ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}/sqlite3ext.h ${CMAKE_SOURCE_DIR}/3rdparty/sqlite/sqlite3ext.h) file(REMOVE ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}.zip) file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/3rdparty/sqlite-amalgamation-${SQLITE_DOWNLOAD_VERSION}) endif()
set(tagainijisho_sqlite_SRCS Error.cc Connection.cc Query.cc sqlite3ext.cc sqlite3mod.c
${CMAKE_SOURCE_DIR}/src/core/TextTools.cc )
if(EMBED_SQLITE) include_directories(${CMAKE_SOURCE_DIR}/3rdparty/sqlite) set(tagainijisho_sqlite_SRCS ${tagainijisho_sqlite_SRCS} ${CMAKE_SOURCE_DIR}/3rdparty/sqlite/sqlite3.c ) else() include_directories(${SQLITE_INCLUDE_DIR}) endif()
include_directories(${QT_INCLUDE_DIR}) add_definitions(-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_OMIT_DEPRECATED)
if(SHARED_SQLITE_LIBRARY) add_library(tagaini_sqlite SHARED ${tagainijisho_sqlite_SRCS} ${tagainijisho_sqlite_MOC_SRCS}) target_link_libraries(tagaini_sqlite ${QT_LIBRARIES} ${extra_link_flags} ${CMAKE_THREADS_LIBS_INIT}) install(TARGETS tagaini_sqlite BUNDLE DESTINATION . COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime) else() add_library(tagaini_sqlite STATIC ${tagainijisho_sqlite_SRCS} ${tagainijisho_sqlite_MOC_SRCS}) target_link_libraries(tagaini_sqlite ${CMAKE_THREADS_LIBS_INIT}) endif() if(NOT EMBED_SQLITE) target_link_libraries(tagaini_sqlite sqlite3) endif()
if(APPLE) set(DEST_DIR "${tagaini_binary}.app/Contents/MacOS") else(APPLE) set(DEST_DIR "lib") endif(APPLE)
if (BUILD_TESTS) add_subdirectory(tests) endif()
CMakeOutput.log
e system is: Linux - 3.1.10-1.9-desktop - i686 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/gcc Build flags: Id flags:
The output was: 0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/alain/tagainijisho-0.9.4/CMakeFiles/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags:
The output was: 0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/alain/tagainijisho-0.9.4/CMakeFiles/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
Detecting C compiler ABI info compiled with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
/usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.6/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.6.2 (SUSE Linux)
COMPILER_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/
LIBRARY_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib/:/usr/lib/gcc/i586-suse-linux/4.6/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-mtune=generic' '-march=i586'
/usr/lib/gcc/i586-suse-linux/4.6/collect2 --build-id --eh-frame-hdr -m elf_i386 -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec /usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o -L/usr/lib/gcc/i586-suse-linux/4.6 -L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.6/../../.. CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i586-suse-linux/4.6/crtend.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o
gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
Parsed C implicit link information from above output: link line regex: [^( |.[/])(ld|ld|collect2)[^/]*( |$)] ignore line: [Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"] ignore line: [/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build] ignore line: [gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »] ignore line: [/usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1] ignore line: [Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o] ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTryCompileExec] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1] ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/gcc] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.6/lto-wrapper] ignore line: [Target: i586-suse-linux] ignore line: [Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux] ignore line: [Thread model: posix] ignore line: [gcc version 4.6.2 (SUSE Linux) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib/:/usr/lib/gcc/i586-suse-linux/4.6/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-mtune=generic' '-march=i586'] link line: [ /usr/lib/gcc/i586-suse-linux/4.6/collect2 --build-id --eh-frame-hdr -m elf_i386 -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec /usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o -L/usr/lib/gcc/i586-suse-linux/4.6 -L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.6/../../.. CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i586-suse-linux/4.6/crtend.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o] arg [/usr/lib/gcc/i586-suse-linux/4.6/collect2] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_i386] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux.so.2] ==> ignore arg [-o] ==> ignore arg [cmTryCompileExec] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/i586-suse-linux/4.6] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6] arg [-L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] arg [-L/usr/lib/gcc/i586-suse-linux/4.6/../../..] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6/../../..] arg [CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/crtend.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6] ==> [/usr/lib/gcc/i586-suse-linux/4.6] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] ==> [/usr/i586-suse-linux/lib] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6/../../..] ==> [/usr/lib] implicit libs: [c] implicit dirs: [/usr/lib/gcc/i586-suse-linux/4.6;/usr/i586-suse-linux/lib;/usr/lib]
Determining if the CXX compiler works passed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec -rdynamic gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
Detecting CXX compiler ABI info compiled with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
/usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.6/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.6.2 (SUSE Linux)
COMPILER_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/
LIBRARY_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib/:/usr/lib/gcc/i586-suse-linux/4.6/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=i586'
/usr/lib/gcc/i586-suse-linux/4.6/collect2 --build-id --eh-frame-hdr -m elf_i386 -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec /usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o -L/usr/lib/gcc/i586-suse-linux/4.6 -L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.6/../../.. CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i586-suse-linux/4.6/crtend.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o
gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
Parsed CXX implicit link information from above output: link line regex: [^( |.[/])(ld|ld|collect2)[^/]*( |$)] ignore line: [Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"] ignore line: [/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build] ignore line: [gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »] ignore line: [/usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1] ignore line: [Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTryCompileExec] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1] ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.6/lto-wrapper] ignore line: [Target: i586-suse-linux] ignore line: [Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux] ignore line: [Thread model: posix] ignore line: [gcc version 4.6.2 (SUSE Linux) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/i586-suse-linux/4.6/:/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib/:/usr/lib/gcc/i586-suse-linux/4.6/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=i586'] link line: [ /usr/lib/gcc/i586-suse-linux/4.6/collect2 --build-id --eh-frame-hdr -m elf_i386 -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o cmTryCompileExec /usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o -L/usr/lib/gcc/i586-suse-linux/4.6 -L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.6/../../.. CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i586-suse-linux/4.6/crtend.o /usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o] arg [/usr/lib/gcc/i586-suse-linux/4.6/collect2] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_i386] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux.so.2] ==> ignore arg [-o] ==> ignore arg [cmTryCompileExec] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crt1.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crti.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/i586-suse-linux/4.6] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6] arg [-L/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] arg [-L/usr/lib/gcc/i586-suse-linux/4.6/../../..] ==> dir [/usr/lib/gcc/i586-suse-linux/4.6/../../..] arg [CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/i586-suse-linux/4.6/crtend.o] ==> ignore arg [/usr/lib/gcc/i586-suse-linux/4.6/../../../crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6] ==> [/usr/lib/gcc/i586-suse-linux/4.6] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/lib] ==> [/usr/i586-suse-linux/lib] collapse dir [/usr/lib/gcc/i586-suse-linux/4.6/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;c] implicit dirs: [/usr/lib/gcc/i586-suse-linux/4.6;/usr/i586-suse-linux/lib;/usr/lib]
Determining if the Q_WS_X11 exist passed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx Linking CXX executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -o cmTryCompileExec -rdynamic gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
File /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */
void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {
cmakeRequireSymbol(0,&Q_WS_X11);
return 0; }
Determining if files pthread.h exist passed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o -o cmTryCompileExec -rdynamic gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
Determining if the function pthread_create exists in the pthread passed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthread gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp »
CMakeError.log
Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main()’: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:25: error: ‘Q_WS_WIN’ was not declared in this scope gmake[1]: * [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o] Erreur 1 gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » gmake: * [cmTryCompileExec/fast] Erreur 2
File /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */
void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {
cmakeRequireSymbol(0,&Q_WS_WIN);
return 0; }
Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main()’: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:25: error: ‘Q_WS_QWS’ was not declared in this scope gmake[1]: * [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o] Erreur 1 gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » gmake: * [cmTryCompileExec/fast] Erreur 2
File /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */
void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {
cmakeRequireSymbol(0,&Q_WS_QWS);
return 0; }
Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -c /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main()’: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:25: error: ‘Q_WS_MAC’ was not declared in this scope gmake[1]: * [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o] Erreur 1 gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » gmake: * [cmTryCompileExec/fast] Erreur 2
File /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */
void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {
cmakeRequireSymbol(0,&Q_WS_MAC);
return 0; }
Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1] : on entre dans le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » /usr/bin/cmake -E cmake_progress_report /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthreads /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status gmake[1]: * [cmTryCompileExec] Erreur 1 gmake[1] : on quitte le répertoire « /home/alain/tagainijisho-0.9.4/CMakeFiles/CMakeTmp » gmake: * [cmTryCompileExec/fast] Erreur 2
"-lpthreads" should be "-lpthread" (without a 's'). I guess CMake confuses itself here - have you tried compiling using a fresh checkout (and not building on top of your previous build?). Also, please use pastebin or a github gist to paste compilation results, otherwise this page will become too loaded (and the auto-formatting of Github makes it unreadable anyway).
Le 25/06/2012 04:10, Alexandre Courbot a écrit :
"-lpthreads" should be "-lpthread" (without a 's'). I guess CMake confuses itself here - have you tried compiling using a fresh checkout (and not building on top of your previous build?). Also, please use pastebin or a github gist to paste compilation results, otherwise this page will become too loaded (and the auto-formatting of Github makes it unreadable anyway). Hi,
Thanks for your answer. Did another try from freshly unpacked source. Same results.
Best regards,
Alain
Ok, thanks. Looks like I will have to get an openSuse Virtualbox image to get to the bottom of this...
Ok, I finally got the time to check on OpenSuse and found a fix. Please edit src/sqlite/CMakeLists.txt and add the following two lines at line 98 (just before the last "if (APPLE)"):
target_link_libraries(tagaini_sqlite pthread) target_link_libraries(tagaini_sqlite dl)
Then recompile and everything should go fine. These two libraries are automatically linked on most systems, but not on OpenSuse. Can you tell me if this fixes the issue for you too?
Thanks!
Hi, thanks for your mail. I am on japan nos so i'll Check web i am backgammon at thé end of august.
Best regards,
Alain ----- Mail d'origine ----- De: Alexandre Courbot reply@reply.github.com À: lanigb alainbe@free.fr Envoyé: Thu, 02 Aug 2012 16:28:56 +0200 (CEST) Objet: Re: [tagainijisho] tagai doesn't build on openSuse 12.1 (#53)
Ok, I finally got the time to check on OpenSuse and found a fix. Please edit src/sqlite/CMakeLists.txt and add the following two lines at line 98 (just before the last "if (APPLE)"):
target_link_libraries(tagaini_sqlite pthread) target_link_libraries(tagaini_sqlite dl)
Then recompile and everything should go fine. These two libraries are automatically linked on most systems, but not on OpenSuse. Can you tell me if this fixes the issue for you too?
Thanks!
Reply to this email directly or view it on GitHub: https://github.com/Gnurou/tagainijisho/issues/53#issuecomment-7456800
Le 02/08/2012 16:28, Alexandre Courbot a écrit :
Ok, I finally got the time to check on OpenSuse and found a fix. Please edit src/sqlite/CMakeLists.txt and add the following two lines at line 98 (just before the last "if (APPLE)"):
target_link_libraries(tagaini_sqlite pthread) target_link_libraries(tagaini_sqlite dl)
Then recompile and everything should go fine. These two libraries are automatically linked on most systems, but not on OpenSuse. Can you tell me if this fixes the issue for you too?
Thanks!
Tagai compiles fine now. Thanks a lot.
Best regards,
Alain
For information. https://bugzilla.novell.com/show_bug.cgi?id=777407#c4
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: ../../sqlite/libtagaini_sqlite.a(sqlite3.c.o): undefined reference to symbol 'pthread_mutex_trylock@@GLIBC_2.0' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'pthread_mutex_trylock@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line /lib/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status
It seems it fails too on opensuse openbuild system.
Best regards,