close

 

error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]

 

這個問題是由於 3.8.x 以上內核去掉了daemonize這個函數, 導致無法順利編譯( 當然這是查了N多資料, 搜索了對應的標頭檔 ),

 

解決方法很簡單, 刪掉它就可以了:

 

       #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)

 

       daemonize();

 

       #endif

 

好了, 重新編譯, 安裝即可.

 

arrow
arrow
    全站熱搜

    立你斯 發表在 痞客邦 留言(0) 人氣()