alalegrand Bonsoir, j'adresse ce petit message, car jen 'arrive pas à compiler ce fichu programme, le configure va jusqu'au bout mais j'a toujours des soucis de compilation, même si je rajoute les include adéquoi, puis à la fin je suis quand même bloqué avec la méthode wait du Qthread que soit disant il ne trouve pas alors qu'il est bien là au niveau QT j'ai tout mi en devel que ca soit en QT3 ou QT4 Quelqu'un peu t'il m'aider SVP je suis en FC9 64 bits D'avance merci voici ce que j'ai comme soucis [root@localhost beid-2.6.0]# ./configure Checking for Python : /usr/bin/python Checking for SCons : not found, will use mini distribution. calling scons configure with parameters scons: Reading SConscript files ... Checking for pkg-config... ok Checking for qt-mt >= 3.3.3... ok Checking for libpcsclite >= 1.2.9... ok Checking for openssl >= 0.9.7... ok Checking for QApplication qapp(0,0) in C++ library qt-mt... yes Checking for SSLeay() in C library crypto... yes Checking for SSL_library_init() in C library ssl... yes Checking for main() in C library wx_gtk-2.4... no Checking for main() in C library wx_gtk2u_core-2.6... yes Checking for C header file openssl/bio.h... yes Checking for C header file openssl/conf.h... yes Checking for C header file openssl/ocsp.h... yes Checking for C header file openssl/ssl.h... yes Checking for C header file pcsclite.h... yes Checking for C header file assert.h... yes Checking for C header file ctype.h... yes Checking for C header file float.h... yes Checking for C header file stdarg.h... yes Checking for C header file stdio.h... yes Checking for C header file stdlib.h... yes Checking for C header file string.h... yes Checking for C++ header file algorithm... yes Checking for C++ header file map... yes Checking for C++ header file string... yes Checking for C++ header file vector... yes Checking for C header file jni.h... yes NOTE: to start the privacy filter and crl download services automatically at boot-time, extra steps need to be taken (chkconfig, update-rc.d, install_initd) using the two /etc/init.d/belgium.be-beid* files. scons: done reading SConscript files. scons: Building targets ... scons: Nothing to be done for `configure'. scons: done building targets. [root@localhost beid-2.6.0]# /etc/init.d/b beidcrld beidpcscd blktapctrl bluetooth btseed bttrack [root@localhost beid-2.6.0]# mc [root@localhost beid-2.6.0]# make scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -Dlinux -pipe -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O -DNDEBUG -DNO_DEBUG -I/usr/lib64/qt-3.3/include -I/usr/include/PCSC -Isrc/beidcommon -Isrc/eidlib -c -o src/beidcommon/TLV.os src/beidcommon/TLV.cpp g++ -Dlinux -pipe -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O -DNDEBUG -DNO_DEBUG -I/usr/lib64/qt-3.3/include -I/usr/include/PCSC -Isrc/beidcommon -Isrc/eidlib -c -o src/beidcommon/TLVBuffer.os src/beidcommon/TLVBuffer.cpp src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillDateData(unsigned char, char*)': src/beidcommon/TLVBuffer.cpp:88: error: 'memset' was not declared in this scope src/beidcommon/TLVBuffer.cpp:90: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp:119: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillASCIIData(unsigned char, char*)': src/beidcommon/TLVBuffer.cpp:133: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillUTF8Data(unsigned char, char*)': src/beidcommon/TLVBuffer.cpp:142: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillBinaryStringData(unsigned char, char*)': src/beidcommon/TLVBuffer.cpp:152: error: 'strlen' was not declared in this scope src/beidcommon/TLVBuffer.cpp:152: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillIntData(unsigned char, int*)': src/beidcommon/TLVBuffer.cpp:172: error: 'memset' was not declared in this scope src/beidcommon/TLVBuffer.cpp:173: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp:174: error: 'atoi' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillLongData(unsigned char, long int*)': src/beidcommon/TLVBuffer.cpp:185: error: 'memset' was not declared in this scope src/beidcommon/TLVBuffer.cpp:186: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp:187: error: 'atol' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillBinaryData(unsigned char, unsigned char*)': src/beidcommon/TLVBuffer.cpp:197: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillBinaryData(unsigned char, unsigned char*, long unsigned int*)': src/beidcommon/TLVBuffer.cpp:206: error: 'memcpy' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In static member function 'static char* eidcommon::CTLVBuffer::Hexify(unsigned char*, long unsigned int)': src/beidcommon/TLVBuffer.cpp:214: error: 'memset' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'void eidcommon::CTLVBuffer::FillMonth(unsigned char*, char*)': src/beidcommon/TLVBuffer.cpp:266: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:272: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:278: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:284: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:290: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:296: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:302: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:308: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:314: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:320: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:326: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp:332: error: 'memcmp' was not declared in this scope src/beidcommon/TLVBuffer.cpp: In member function 'bool eidcommon::CTLVBuffer::MakeFileTLV(BEID_Raw*, BEID_Bytes*)': src/beidcommon/TLVBuffer.cpp:462: error: 'memset' was not declared in this scope src/beidcommon/TLVBuffer.cpp:549: error: 'memcpy' was not declared in this scope scons: *** [src/beidcommon/TLVBuffer.os] Error 1 scons: building terminated because of errors. make: *** [all] Erreur 2
aka Shiva Le guide d'installation à partir des sources pour Linux ici: http://eid.belgium.be/fr/Comment_installer_l_eID/Linux/index.jsp Pour les petits problèmes intermédiaires, voir ici: http://forums.fedora-fr.org/viewtopic.php?pid=246324 En 64bits c'est plus délicat bien entendu alors peut-être qu'il faudrait songer à passer certains paquets en 32. Et cachez moi donc cette horreure d'avatar que je ne saurais voir! Par de pareils objets, les âmes sont blessées...:roll:
kwizart Oui , ton avatar crain.. Sinon c'est pas un problème de 64/32bit, mais typiquement un problème d"include" implcite. gcc4.3.0 est moins permissif et produit des erreurs dorenavant. Il suffit d'ajouter les includes corrects. Essaies de voir si il existe un patch pour gcc 43 sur le site du projet ... Sinon il te manque scons comme dépendance
n1ck0 alalegrand wrote:Voilà j'ai changé d'avatar, je suis redevenu une bredi non égaré 🙂 c etait quoi l'ancien avatar :p