Bonjour,
je suis pas sur d'être dans le bon forum, j'ai rien trouvé d'approprié, si ce n'est pas le cas, toutes mes excuses
Voila mon problème j'essaie de cross-compiler openssl 1.0.0e pour une plate-forme apf27 (arm9).
J'ai trouvé une configuration qui me semble correcte pour le faire :
http://embeddedfreak.wordpress.com/2...or-arm926ej-s/
J'ai changé les paramètres pour utiliser arm-linux-gcc et arm-linux-ranlib :
Cette étape se passe bien. Je fais ensuite le make :
Code : Sélectionner tout - Visualiser dans une fenêtre à part ./Configure --prefix=$(/local/export/test) zlib-dynamic "linux-arm926ej-s":"arm-linux-gcc:-DTERMIO -O3 -Wall -I../../host/include::-D_REENTRANT::-L../../host/lib -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR::bn_asm.o armv4-mont.o::aes_cbc.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o:::::::void:dlfcn:linux-shared:-fPIC::.so.1.0.0":arm-linux-ranlib::
Et la on remarque qu'il ne trouve pas arm-linux-gcc, qui est pourtant référencer dans la variable $PATH, et que je peux trouver en auto-complexion, donc il connait le chemin.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 making all in crypto... make[1]: entrant dans le répertoire « /local/export/openssl-1.0.0e/crypto » ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ echo ' #define CFLAGS "arm-linux-gcc -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -O3 -Wall -I../../host/include -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM"'; \ echo ' #define PLATFORM "linux-arm926ej-s"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h arm-linux-gcc -I. -I.. -I../include -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -O3 -Wall -I../../host/include -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c -o cryptlib.o cryptlib.c make[1]: arm-linux-gcc : commande introuvable make[1]: *** [cryptlib.o] Erreur 127 make[1]: quittant le répertoire « /local/export/openssl-1.0.0e/crypto » make: *** [build_crypto] Erreur 1
Pourquoi n'arrive-t-il pas à trouver cette variable ?
Merci de votre aide.
Partager