[Qgis-developer] Compilation problems

Poizot Emmanuel emmanuel.poizot at cnam.fr
Wed Aug 7 01:51:32 PDT 2013


Dear all,

I usually compile QGIS from source using git. I use Ubuntu 13.04 and had 
compiled QGIS on that OS many times.
This morning, I made a "git fetch" to update the current source, and 
launch the compilation ("make") after a "ccmake .." + "c" + "g", and it 
stopped with the last following lines:

Linking CXX shared library ../../output/lib/libqgispython.so
cd src/python && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/qgispython.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -Wall -Wextra -Wno-long-long -Wformat-security 
-Wno-strict-aliasing   -Wl,--no-undefined -shared 
-Wl,-soname,libqgispython.so.1.9.0 -o 
../../output/lib/libqgispython.so.1.9.0 
CMakeFiles/qgispython.dir/qgispython.cpp.o 
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o  -L../core -L../gui 
../../output/lib/libqgis_core.so.1.9.0 /usr/bin/python -lutil -lQtXml 
-lQtCore -lQtGui -lQtNetwork -lQtSvg -lQtWebKit -lproj -lgeos_c -lgdal 
-lspatialindex -lexpat -lpthread -ldl
/usr/bin/ld: erreur dans /usr/bin/python(.eh_frame); aucune table 
.eh_frame_hdr ne sera créée.
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::initPython(QgisInterface*) »:
qgspythonutilsimpl.cpp:(.text+0xd9): référence indéfinie vers « 
Py_Initialize »
qgspythonutilsimpl.cpp:(.text+0xf0): référence indéfinie vers « 
PyImport_AddModule »
qgspythonutilsimpl.cpp:(.text+0x111): référence indéfinie vers « 
PyModule_GetDict »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::exitPython() »:
qgspythonutilsimpl.cpp:(.text+0x1521): référence indéfinie vers « 
Py_Finalize »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) »:
qgspythonutilsimpl.cpp:(.text+0x16ad): référence indéfinie vers « 
PyGILState_Ensure »
qgspythonutilsimpl.cpp:(.text+0x1707): référence indéfinie vers « 
PyRun_StringFlags »
qgspythonutilsimpl.cpp:(.text+0x1718): référence indéfinie vers « 
PyErr_Occurred »
qgspythonutilsimpl.cpp:(.text+0x172b): référence indéfinie vers « 
PyGILState_Release »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::getTraceback() »:
qgspythonutilsimpl.cpp:(.text+0x2504): référence indéfinie vers « 
PyGILState_Ensure »
qgspythonutilsimpl.cpp:(.text+0x2556): référence indéfinie vers « 
PyErr_Fetch »
qgspythonutilsimpl.cpp:(.text+0x256d): référence indéfinie vers « 
PyErr_NormalizeException »
qgspythonutilsimpl.cpp:(.text+0x2579): référence indéfinie vers « 
PyImport_ImportModule »
qgspythonutilsimpl.cpp:(.text+0x25b9): référence indéfinie vers « 
PyObject_CallMethod »
qgspythonutilsimpl.cpp:(.text+0x25e8): référence indéfinie vers « 
PyImport_ImportModule »
qgspythonutilsimpl.cpp:(.text+0x2621): référence indéfinie vers « 
_Py_NoneStruct »
qgspythonutilsimpl.cpp:(.text+0x263a): référence indéfinie vers « 
_Py_NoneStruct »
qgspythonutilsimpl.cpp:(.text+0x2652): référence indéfinie vers « 
_Py_NoneStruct »
qgspythonutilsimpl.cpp:(.text+0x2674): référence indéfinie vers « 
PyObject_CallMethod »
qgspythonutilsimpl.cpp:(.text+0x26ec): référence indéfinie vers « 
PyObject_CallMethod »
qgspythonutilsimpl.cpp:(.text+0x2746): référence indéfinie vers « 
PyString_AsString »
qgspythonutilsimpl.cpp:(.text+0x294f): référence indéfinie vers « 
PyGILState_Release »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::getTypeAsString(_object*) »:
qgspythonutilsimpl.cpp:(.text+0x29d0): référence indéfinie vers « 
PyClass_Type »
qgspythonutilsimpl.cpp:(.text+0x29e5): référence indéfinie vers « 
PyString_AsString »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::getError(QString&, QString&) »:
qgspythonutilsimpl.cpp:(.text+0x2a62): référence indéfinie vers « 
PyGILState_Ensure »
qgspythonutilsimpl.cpp:(.text+0x2a6a): référence indéfinie vers « 
PyErr_Occurred »
qgspythonutilsimpl.cpp:(.text+0x2a7e): référence indéfinie vers « 
PyGILState_Release »
qgspythonutilsimpl.cpp:(.text+0x2a9f): référence indéfinie vers « 
PyErr_Fetch »
qgspythonutilsimpl.cpp:(.text+0x2ae9): référence indéfinie vers « 
_Py_NoneStruct »
qgspythonutilsimpl.cpp:(.text+0x2be7): référence indéfinie vers « 
PyGILState_Release »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::PyObjectToQString(_object*) »:
qgspythonutilsimpl.cpp:(.text+0x2c54): référence indéfinie vers « 
_Py_NoneStruct »
qgspythonutilsimpl.cpp:(.text+0x2c9d): référence indéfinie vers « 
PyUnicodeUCS4_AsUTF8String »
qgspythonutilsimpl.cpp:(.text+0x2d9e): référence indéfinie vers « 
PyObject_Unicode »
qgspythonutilsimpl.cpp:(.text+0x2db9): référence indéfinie vers « 
PyUnicodeUCS4_AsUTF8String »
qgspythonutilsimpl.cpp:(.text+0x2dd0): référence indéfinie vers « 
PyString_AsString »
qgspythonutilsimpl.cpp:(.text+0x2ec0): référence indéfinie vers « 
PyObject_Str »
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction « 
QgsPythonUtilsImpl::evalString(QString const&, QString&) »:
qgspythonutilsimpl.cpp:(.text+0x2ff8): référence indéfinie vers « 
PyGILState_Ensure »
qgspythonutilsimpl.cpp:(.text+0x3043): référence indéfinie vers « 
PyRun_StringFlags »
qgspythonutilsimpl.cpp:(.text+0x30a4): référence indéfinie vers « 
PyGILState_Release »
collect2: erreur: ld a retourné 1 code d'état d'exécution
make[2]: *** [output/lib/libqgispython.so.1.9.0] Erreur 1
make[2]: quittant le répertoire « 
/home/epoizot/recherche/dev/Quantum-GIS/build »
make[1]: *** [src/python/CMakeFiles/qgispython.dir/all] Erreur 2
make[1]: quittant le répertoire « 
/home/epoizot/recherche/dev/Quantum-GIS/build »
make: *** [all] Erreur 2


Cheers

-- 
Cordialement

/------------------------------------------------
*Emmanuel Poizot*
Cnam/Intechmer
B.P. 324
50103 Cherbourg Cedex

Web 1 : http://www.intechmer.cnam.fr
Web 2 : http://www.geoceano.fr
Phone (Direct) : (00 33)(0)233887342 ou 41
Fax : (00 33)(0)233887339
------------------------------------------------
/
Le Cnam/Intechmer <http://www.intechmer.cnam.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130807/bd0644ea/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cnam-intechmer.gif
Type: image/gif
Size: 36661 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130807/bd0644ea/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel_poizot.vcf
Type: text/x-vcard
Size: 304 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130807/bd0644ea/attachment-0001.vcf>


More information about the Qgis-developer mailing list