![]() |
| Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé. | |||||||
|
|||||||
| Autres Autres distributions : Gentoo, Slackware, Knoppix, Kaella, Dsl, ... |
![]() |
|
|
Outils de la discussion |
|
|
#1 (permalink) |
![]() Date d'inscription: octobre 2005
Localisation: Perpignan
Messages: 1 052
|
voila, j'essaye desespérement de compiler la libgcrypt pour win32
j'en suis a essayer la cross compilation avec mingw32. j'ai Code :
emerge crossdev && crossdev i686-mingw32 Code :
CPPFLAGS="-I /usr/i686-mingw32/mingw/include/" ROOT="/root/cross-gcrypt/" ARCH="mingw32" CHOST="i686" CBUILD="mingw32" CFLAGS="-O2" LDFLAGS="-L/usr/i686-mingw32/mingw/lib/ " emerge libgcrypt Code :
/usr/i686-mingw32/mingw/include/stdio.h:442: warning: `__cdecl__' attribute ignored /usr/i686-mingw32/mingw/include/stdio.h:443: warning: `__cdecl__' attribute ignored ****<snip> zillions of time the same warning </snip>**** gcc -O2 -o gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o -L/usr/i686-mingw32/mingw/lib/ ./.libs/libgpg-error.a gpg_error-gpg-error.o: In function `get_err_from_symbol_one': gpg-error.c:(.text+0x24): undefined reference to `_strnicmp' gpg-error.c:(.text+0x67): undefined reference to `_stricmp' gpg-error.c:(.text+0x91): undefined reference to `_strnicmp' gpg-error.c:(.text+0xce): undefined reference to `_stricmp' gpg_error-gpg-error.o: In function `get_err_from_str_one': gpg-error.c:(.text+0x132): undefined reference to `_stricmp' gpg-error.c:(.text+0x17f): undefined reference to `_stricmp' gpg_error-gpg-error.o: In function `main': gpg-error.c:(.text+0x1f1): undefined reference to `_errno' gpg-error.c:(.text+0x20e): undefined reference to `_errno' gpg-error.c:(.text+0x44a): undefined reference to `_imp___iob' gpg-error.c:(.text+0x531): undefined reference to `_imp___iob' gpg-error.c:(.text+0x572): undefined reference to `_imp___iob' collect2: ld returned 1 exit status ).un probléme peut etre: Code :
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld voila, n'importe quelle piste peux m'aider
__________________
contribuez à la FAQ dév Réseau ! |
|
|
|
|
|
#2 (permalink) |
![]() Date d'inscription: juillet 2003
Localisation: Blois
Âge: 21
Messages: 2 417
|
salut,
il ne faut pas utiliser gcc pour compiler
__________________
Cours systèmes : systèmes temps réels, distribués, embarqués, tolérants aux fautes, parallèles, OS, architectures... Mes articles : php gd, création de dvd vidéo, bootsplash, virtualisation |
|
|
|
|
|
#3 (permalink) | ||
![]() Date d'inscription: octobre 2005
Localisation: Perpignan
Messages: 1 052
|
je me sens idiot maintenant
Citation:
Citation:
-edit- okay, j'ai reussi a compiler libgpg-error ... il utilisais psa mingw-ar ...
__________________
contribuez à la FAQ dév Réseau ! Dernière modification par granquet ; 06/05/2007 à 20h35 |
||
|
|
|
![]() |
![]() |
||
[GENTOO] cross compil mingw32
|
||
| Outils de la discussion | |
|
|