2012年7月19日 星期四

modprobe g_file_gstorage fail "unknown relocation: 3" problem

今天本來想說 mass storage driver 比較簡單,想說來驗證ㄧ下,
結果竟出現 "unknown relocation: 3." error , 找了半天,發現 ./arch/arm/kernel/module.c
中沒有辦法處理 R_ARM_REL32 type , 花了一天, 最後還是
問一下 "谷歌" "kernel module.c not handling R_ARM_REL32" ,結果 就有解決方式。

原來
gcc-4.4 defaults to generating .eh_frame sections, but we aren't interested in those currently.
請參考
http://forums.arm.com/index.php?/topic/8122-kernel-modulec-not-handling-r-arm-rel32/

沒有留言:

張貼留言