在linux 使用gcc - Linux
By Regina
at 2011-10-25T19:24
at 2011-10-25T19:24
Table of Contents
作業系統是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的
--
Tags:
Linux
All Comments
By Megan
at 2011-10-26T04:38
at 2011-10-26T04:38
By Agatha
at 2011-10-27T15:05
at 2011-10-27T15:05
By Edward Lewis
at 2011-10-28T23:18
at 2011-10-28T23:18
By Agatha
at 2011-11-01T00:20
at 2011-11-01T00:20
By Hazel
at 2011-11-01T21:03
at 2011-11-01T21:03
By Margaret
at 2011-11-04T19:51
at 2011-11-04T19:51
By Freda
at 2011-11-08T13:07
at 2011-11-08T13:07
Related Posts
Linux Mint 11 網路速度非常慢
By Zora
at 2011-10-25T01:52
at 2011-10-25T01:52
新桌機無法安裝 ubuntu 11.10
By Skylar DavisLinda
at 2011-10-25T01:44
at 2011-10-25T01:44
在cross compiler build binutils
By Harry
at 2011-10-24T19:57
at 2011-10-24T19:57
製作Puppy Linux的開機隨身碟
By Carol
at 2011-10-24T18:44
at 2011-10-24T18:44
linux中com port的module
By Vanessa
at 2011-10-24T18:00
at 2011-10-24T18:00