作業系統是ubuntu server
之前實作system call
今天在使用時突然壞掉
gcc test.c
出現test.c:2:fatal error: linux/linkage.h *******
compilation terminated.
由於看不到****的訊息
上網找了一下猜測訊息可能為no such file or directory
查詢/usr/src/linux-2.6.39.4/include/linux/目錄下
linkage.h 依然存在
(而且之前可以編譯我也沒有動過這個header檔)
煩請解答!!
謝謝!!
PS.此test.c是用來call system call的
--
All Comments