2015年7月21日 星期二

cross compiler openssl遇到的 target already defined - linux-elf (offending arg: CC=arm-linux-gcc) 問題~

今天在研究openssl,準備針對抓下來的opensource作cross compiler。

openssl的下載點(OPENSSL),我抓的版本為openssl-1.0.2a。

首先解開壓縮包之後,先作configure的動作,指令如下:

#./config CC=arm-linux-gcc

但不知道為什麼,一直出現下面的訊息,導致config無法完成
==>  target already defined - linux-elf (offending arg: CC=arm-linux-gcc)



後來把指令改了一下,可以運作的指令如下:

#CC=arm-linux-gcc ./config no-asm shared



成功編譯完成的openssl執行檔會在 apps資料夾中

沒有留言:

張貼留言