編譯出現File name too long問題

2021-07-31 23:51:55 字數 369 閱讀 6102

今天編譯1個libffi時,出現了file name too long問題,

make[7]: stat: ffitarget.h: file name too long

make[7]: *** no rule to make target `ffitarget.h', needed by `all-am'.  stop.

剛開始以為是編譯路徑過長,調整後,依然相同錯誤。

經過搜尋了解,可能是檔案本身有錯誤,經ls -l檢視,確實有問題

而正確的則是1個軟連線

ffitarget.h -> ../../src/arm/ffitarget.h

分析,確定,應該是通過windows下工具拷貝過程導致軟連線拷貝發生了變化。

g 編譯出現glibc detected 錯誤

glibc detected free invalid pointer glibc detected malloc memory corruption glibc detected double free or corruption out 0x00000000005c18a0 glibc dete...

g 編譯出現glibc detected 錯誤

glibc detected free invalid pointer glibc detected malloc memory corruption glibc detected double free or corruption out 0x00000000005c18a0 glibc dete...

busybox編譯出現問題

一 修改makefile配置 首先解壓原始碼包 tar jxvf busybox 1.25.0.tar.bz2 進入busybox 1.25.0目錄,修改makefile檔案如下 arch arm cross compile arm linux 二 修改配置檔案 make menuconfig 選擇...