Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ebuild] Problème include ou version gcc [resolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Mon Apr 27, 2009 11:13 am    Post subject: [ebuild] Problème include ou version gcc [resolu] Reply with quote

Bonjour,

Suis en cours de mise a niveau d'un paquet (beid-2.6.0) utiliser pour le lecteur de carte d'identité belge toujours pas en stable ni en overlay
Déjà mis a jour les fichiers patch, trouver fichier des sources (ouf).
Par contre il me reste maintenant un autre problème :
------------------------------------------
g++ -o src/beidcommon/TLVBuffer.os -c -O2 -march=i686 -pipe -Dlinux -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=i686 -pipe -DNDEBUG -DNO_DEBUG -I/usr/qt/3/include -I/usr/include/PCSC -Isrc/beidcommon -Isrc/eidlib 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
--------------------------

Après examen de la chose, il semble bien que soit un fichier config include qui manque (si j'ajoute a la main include string et stdlib ca passe dans TLVBuffer.cpp)

Comme sur une ancienne install gentoo mais utilisant gcc3.x ca fonctionnait ....

Comment faire install gcc3.x OU comment faire pour ajouter UN seul fichier pour tout en une seule fois ?

D'avance merci.


M


Last edited by USTruck on Mon Apr 27, 2009 1:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Mon Apr 27, 2009 12:00 pm    Post subject: Reply with quote

Trouver info chez mandriva ....
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Mon Apr 27, 2009 12:33 pm    Post subject: Reply with quote

Salut, peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Merci :)

Et donner la solution finale ça peut être sympa et utile pour d'autres aussi. ;)
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Mon Apr 27, 2009 1:09 pm    Post subject: Reply with quote

Pour convention, espère que ca ira

Solution : mandriva applique un patch pour gcc 4.3, il y a effectivement des diff entre gcc3.x et 4.x concernant les includes

Suis occupé a mettre ca en forme, le patch mandriva ne passant (format diff) pas.

Plus que deux patch a intégrer et je 'devrais' pourvoir tester le tout (install et utilisation)
et en faire report dans le bug : https://bugs.gentoo.org/show_bug.cgi?id=187422
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum