[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:101590] カーネルモジュールの作成について


こんばんわ、大原です。 <ohhara@xxxxxxxxxxxxxxxxxxx>

以前今井さんのキーボードフックドライバのページを紹介してもらった
のですが、問題が発生したためにメールしました。

カーネルモジュールをつくるために"make"を実行したのですが

 「  make: ターゲット `all' はエラーにより再 make できませんでした。」

というメッセージがでて作れません。どうしたら良いのでしょう。
Makefileは以下↓の通りです。

 CC = gcc
CFLAGS = -O2
TARGETS = pseudokbd.o

all: $(TARGETS)

pseudokbd.o: pseudokbd.c

clean:
	rm -f $(TARGETS) *~ core

後、以下のようなメッセージが気になるのですが。これが原因なのでしょうか?
/usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
/usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
/usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
/usr/include/linux/coda.h:566: storage size of `attr' isn't known
/usr/include/linux/fs.h:534: storage size of `f_owner' isn't known
/usr/include/linux/reiserfs_fs_sb.h:317: storage size of `j_journal_list' isn't known
/usr/include/linux/sched.h:375: storage size of `times' isn't known

御指導よろしくお願いします!

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: