2009年11月12日

pxa300原始碼scripts/mod/sumversion.c error: `PATH_MAX' undeclared

在 ~/300/src/preview-kit/linux/打入sudo make zImage後發生error:

HOSTCC  scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function `get_src_version':
scripts/mod/sumversion.c:384: error: `PATH_MAX' undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable `filelist'
make[2]: *** [scripts/mod/sumversion.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

solution:

 
~/300/src/preview-kit/linux/scripts/mod$ vim sumversion.c
新增 #include 


#include 
#include 
#include "modpost.h"
#include 


沒有留言:

張貼留言

遠端桌面連線 登入失敗:使用者帳戶限制 / 限制使用空白密碼的本機帳戶僅能登入到主控台

參考文章: http://enickan.blogspot.com/2012/05/windows.html https://www.mobile01.com/topicdetail.php?f=514&t=2198288 方法1: 有時因距離與時間問題,需...