Problem to compile kdesupport

Marco Mangiante marco.mangiante at gmail.com
Tue Sep 25 22:51:33 BST 2007


Hello,

thanks to all for the responses. I tried again to compile, after an
svn up (r717024), but it seems I am not lucky. The first try I arrived
at 96% and obtained this error (note that in this compilation I was at
r717012):

[ 96%] Building CXX object
strigi/src/luceneindexer/CMakeFiles/luceneindexer.dir/luceneindexer.o
/usr/bin/c++   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -fno-check-new -fno-common -fno-exceptions
-Wno-unused-parameter -fvisibility=hidden -fexceptions
-fvisibility=default
-I/home/kde-devel/kde/build/kdesupport/strigi/src/luceneindexer
-I/home/kde-devel/kde/src/kdesupport/strigi/src/luceneindexer
-I/home/kde-devel/kde/src/kdesupport/strigi
-I/home/kde-devel/kde/build/kdesupport/strigi
-I/home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer
-I/home/kde-devel/kde/src/kdesupport/strigi/src/streams
-I/home/kde-devel/kde/build/kdesupport/strigi/src/streams
-I/home/kde-devel/kde/src/kdesupport/strigi/src/streams/strigi
-I/usr/lib   -fPIC -DHAVE_CONFIG_H -o
strigi/src/luceneindexer/CMakeFiles/luceneindexer.dir/luceneindexer.o
-c /home/kde-devel/kde/src/kdesupport/strigi/src/luceneindexer/luceneindexer.cpp
collect2: ld terminated with signal 11 [Segmentation fault]
make[2]: *** [strigi/src/strigicmd/strigicmd] Error 1
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make[1]: *** [strigi/src/strigicmd/CMakeFiles/strigicmd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable luceneindexer
cd /home/kde-devel/kde/build/kdesupport/strigi/src/luceneindexer &&
/usr/bin/cmake -P
CMakeFiles/luceneindexer.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/kdesupport/strigi/src/luceneindexer &&
/usr/bin/c++     -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -fno-check-new -fno-common -fno-exceptions
-Wno-unused-parameter -fvisibility=hidden -fexceptions
-fvisibility=default  -fPIC
"CMakeFiles/luceneindexer.dir/luceneindexer.o"   -o luceneindexer
-rdynamic -L/home/kde-devel/kde/build/kdesupport/strigi/src/luceneindexer
-L/home/kde-devel/kde/build/kdesupport/strigi/src/streamanalyzer
-L/home/kde-devel/kde/build/kdesupport/strigi/src/streams/pdf
-L/home/kde-devel/kde/build/kdesupport/strigi/src/streams
-lcluceneindex -lstreamanalyzer -lxml2 -ldl -Wl,-Bstatic -lpdfstream
-Wl,-Bdynamic -lstreams -lz -lbz2 -lc -lpthread -lclucene
-Wl,-rpath,/home/kde-devel/kde/build/kdesupport/strigi/src/luceneindexer:/home/kde-devel/kde/build/kdesupport/strigi/src/streamanalyzer:/home/kde-devel/kde/build/kdesupport/strigi/src/streams/pdf:/home/kde-devel/kde/build/kdesupport/strigi/src/streams
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make[1]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make: *** [all] Error 2

After this I updated the source at r717024 and try to recompile. I
tried two times and obtained these 2 errors:

[ 50%] Building CXX object
qca/plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/moc_sprocess.o
/usr/bin/c++   -Dqca_gnupg_EXPORTS   -Wnon-virtual-dtor -Wno-long-long
-ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common -fPIC
-I/home/kde-devel/kde/build/kdesupport/qca/plugins/qca-gnupg
-I/home/kde-devel/kde/src/kdesupport/qca/plugins/qca-gnupg
-I/home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto
-I/home/kde-devel/kde/src/kdesupport/qca/plugins/qca-gnupg/gpgproc
-I/home/kde-devel/qt-copy/include -I/home/kde-devel/qt-copy/include/Qt
-I/home/kde-devel/qt-copy/mkspecs/default
-I/home/kde-devel/qt-copy/include/QtCore
-I/home/kde-devel/qt-copy/include/QtGui
-I/home/kde-devel/qt-copy/include/Qt3Support
-I/home/kde-devel/qt-copy/include/QtAssistant
-I/home/kde-devel/qt-copy/include/QtDesigner
-I/home/kde-devel/qt-copy/include/QtNetwork
-I/home/kde-devel/qt-copy/include/QtOpenGL
-I/home/kde-devel/qt-copy/include/QtSql
-I/home/kde-devel/qt-copy/include/QtXml
-I/home/kde-devel/qt-copy/include/QtSvg
-I/home/kde-devel/qt-copy/include/QtTest   -D_BSD_SOURCE
-DQCA_SYSTEMSTORE_PATH="\"/usr/share/curl/curl-ca-bundle.crt\"" -o
qca/plugins/qca-gnupg/CMakeFiles/qca-gnupg.dir/moc_sprocess.o -c
/home/kde-devel/kde/build/kdesupport/qca/plugins/qca-gnupg/moc_sprocess.cxx
Linking CXX shared library ../../../lib/libqca-gnupg.so
cd /home/kde-devel/kde/build/kdesupport/qca/plugins/qca-gnupg &&
/usr/bin/cmake -P CMakeFiles/qca-gnupg.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/kdesupport/qca/plugins/qca-gnupg &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/qca-gnupg.dir/link.txt
--verbose=1
/usr/bin/c++  -fPIC   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common  -shared
-Wl,-soname,libqca-gnupg.so -o ../../../lib/libqca-gnupg.so
"CMakeFiles/qca-gnupg.dir/qca-gnupg.o"
"CMakeFiles/qca-gnupg.dir/gpgop.o"
"CMakeFiles/qca-gnupg.dir/gpgproc/gpgproc.o"
"CMakeFiles/qca-gnupg.dir/gpgproc/sprocess.o"
"CMakeFiles/qca-gnupg.dir/moc_gpgop.o"
"CMakeFiles/qca-gnupg.dir/moc_gpgproc.o"
"CMakeFiles/qca-gnupg.dir/moc_sprocess.o"
-L/home/kde-devel/kde/build/kdesupport/lib
-L/home/kde-devel/qt-copy/lib -lQtCore -lpthread -lqca -lQtCore
-lpthread -Wl,-rpath,/home/kde-devel/kde/build/kdesupport/lib:/home/kde-devel/qt-copy/lib
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make[1]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make: *** [all] Error 2

[ 59%] Building CXX object
qca/examples/ciphertest/CMakeFiles/ciphertest.dir/ciphertest.o
/usr/bin/c++   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common
-I/home/kde-devel/kde/build/kdesupport/qca/examples/ciphertest
-I/home/kde-devel/kde/src/kdesupport/qca/examples/ciphertest
-I/home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto
-I/home/kde-devel/qt-copy/include -I/home/kde-devel/qt-copy/include/Qt
-I/home/kde-devel/qt-copy/mkspecs/default
-I/home/kde-devel/qt-copy/include/QtCore
-I/home/kde-devel/qt-copy/include/QtGui
-I/home/kde-devel/qt-copy/include/Qt3Support
-I/home/kde-devel/qt-copy/include/QtAssistant
-I/home/kde-devel/qt-copy/include/QtDesigner
-I/home/kde-devel/qt-copy/include/QtNetwork
-I/home/kde-devel/qt-copy/include/QtOpenGL
-I/home/kde-devel/qt-copy/include/QtSql
-I/home/kde-devel/qt-copy/include/QtXml
-I/home/kde-devel/qt-copy/include/QtSvg
-I/home/kde-devel/qt-copy/include/QtTest   -D_BSD_SOURCE
-DQCA_SYSTEMSTORE_PATH="\"/usr/share/curl/curl-ca-bundle.crt\"" -o
qca/examples/ciphertest/CMakeFiles/ciphertest.dir/ciphertest.o -c
/home/kde-devel/kde/src/kdesupport/qca/examples/ciphertest/ciphertest.cpp
Linking CXX executable ciphertest
cd /home/kde-devel/kde/build/kdesupport/qca/examples/ciphertest &&
/usr/bin/cmake -P CMakeFiles/ciphertest.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/kdesupport/qca/examples/ciphertest &&
/usr/bin/c++     -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common  -fPIC
"CMakeFiles/ciphertest.dir/ciphertest.o"   -o ciphertest -rdynamic
-L/home/kde-devel/kde/build/kdesupport/lib
-L/home/kde-devel/qt-copy/lib -lqca -lQtGui -lQtCore -lpthread
-Wl,-rpath,/home/kde-devel/kde/build/kdesupport/lib:/home/kde-devel/qt-copy/lib
Linking CXX executable certtest
cd /home/kde-devel/kde/build/kdesupport/qca/examples/certtest &&
/usr/bin/cmake -P CMakeFiles/certtest.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/kdesupport/qca/examples/certtest &&
/usr/bin/c++     -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common  -fPIC
"CMakeFiles/certtest.dir/certtest.o"   -o certtest -rdynamic
-L/home/kde-devel/kde/build/kdesupport/lib
-L/home/kde-devel/qt-copy/lib -lqca -lQtGui -lQtCore -lpthread
-Wl,-rpath,/home/kde-devel/kde/build/kdesupport/lib:/home/kde-devel/qt-copy/lib
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make -f qca/examples/cms/CMakeFiles/cmsexample.dir/build.make
qca/examples/cms/CMakeFiles/cmsexample.dir/depend
make[2]: Entering directory `/home/kde-devel/kde/build/kdesupport'
Scanning dependencies of target cmsexample
cd /home/kde-devel/kde/build/kdesupport && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /home/kde-devel/kde/src/kdesupport
/home/kde-devel/kde/src/kdesupport/qca/examples/cms
/home/kde-devel/kde/build/kdesupport
/home/kde-devel/kde/build/kdesupport/qca/examples/cms
/home/kde-devel/kde/build/kdesupport/qca/examples/cms/CMakeFiles/cmsexample.dir/DependInfo.cmake
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make -f qca/examples/cms/CMakeFiles/cmsexample.dir/build.make
qca/examples/cms/CMakeFiles/cmsexample.dir/build
make[2]: Entering directory `/home/kde-devel/kde/build/kdesupport'
/usr/bin/cmake -E cmake_progress_report
/home/kde-devel/kde/build/kdesupport/CMakeFiles
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
BFD 2.17.50.0.5 20060927 (SUSE Linux) assertion fail
../../bfd/elf-strtab.c:227
make[2]: *** [qca/examples/certtest/certtest] Error 1
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make[1]: *** [qca/examples/certtest/CMakeFiles/certtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object
qca/examples/cms/CMakeFiles/cmsexample.dir/cmsexample.o
/usr/bin/c++   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common
-I/home/kde-devel/kde/build/kdesupport/qca/examples/cms
-I/home/kde-devel/kde/src/kdesupport/qca/examples/cms
-I/home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto
-I/home/kde-devel/qt-copy/include -I/home/kde-devel/qt-copy/include/Qt
-I/home/kde-devel/qt-copy/mkspecs/default
-I/home/kde-devel/qt-copy/include/QtCore
-I/home/kde-devel/qt-copy/include/QtGui
-I/home/kde-devel/qt-copy/include/Qt3Support
-I/home/kde-devel/qt-copy/include/QtAssistant
-I/home/kde-devel/qt-copy/include/QtDesigner
-I/home/kde-devel/qt-copy/include/QtNetwork
-I/home/kde-devel/qt-copy/include/QtOpenGL
-I/home/kde-devel/qt-copy/include/QtSql
-I/home/kde-devel/qt-copy/include/QtXml
-I/home/kde-devel/qt-copy/include/QtSvg
-I/home/kde-devel/qt-copy/include/QtTest   -D_BSD_SOURCE
-DQCA_SYSTEMSTORE_PATH="\"/usr/share/curl/curl-ca-bundle.crt\"" -o
qca/examples/cms/CMakeFiles/cmsexample.dir/cmsexample.o -c
/home/kde-devel/kde/src/kdesupport/qca/examples/cms/cmsexample.cpp
Linking CXX executable cmsexample
cd /home/kde-devel/kde/build/kdesupport/qca/examples/cms &&
/usr/bin/cmake -P CMakeFiles/cmsexample.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/kdesupport/qca/examples/cms &&
/usr/bin/c++     -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -Wformat-security -fno-check-new -fno-common  -fPIC
"CMakeFiles/cmsexample.dir/cmsexample.o"   -o cmsexample -rdynamic
-L/home/kde-devel/kde/build/kdesupport/lib
-L/home/kde-devel/qt-copy/lib -lqca -lQtGui -lQtCore -lpthread
-Wl,-rpath,/home/kde-devel/kde/build/kdesupport/lib:/home/kde-devel/qt-copy/lib
make[2]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make[1]: Leaving directory `/home/kde-devel/kde/build/kdesupport'
make: *** [all] Error 2


Hope you can resolve the problem, or say me why I can't compile.

Thanks again for all your work.

-- 
Regards.

Marco Mangiante




More information about the kde-core-devel mailing list