[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:03673] Re: userlink デバイスドライバー?



>drwxr-xr-x   3 root     root         1024 Dec 16 17:41 kernel-headers-2.0.32
>drwxr-xr-x  15 root     root         1024 Dec 18 03:21 kernel-source-2.0.32
>lrwxrwxrwx   1 root     src            20 Dec 18 04:23 linux -> kernel-source-2.0.32

たしかに 2.0.32 のところは 2.0.29 ですが linux はたしかに リンクされています。
ls -las で確認できました。

># make
># make install
># /sbin/depmod -a
>
>で,userlink.o の作成終了.
>今度は試したので大丈夫.今動いています.

make で下記のように Error がでます。

gcc -I/root/userlink-2.1/include     uecho.c   -o uecho
In file included from uecho.c:131:
/usr/include/net/route.h:71: parse error before `atomic_t'
/usr/include/net/route.h:71: warning: no semicolon at end of struct or union
/usr/include/net/route.h:72: warning: data definition has no type or storage class
/usr/include/net/route.h:74: parse error before `rt_lastuse'
/usr/include/net/route.h:74: warning: data definition has no type or storage class
/usr/include/net/route.h:81: parse error before `}'
/usr/include/net/route.h:96: parse error before `ip_rt_lock'
/usr/include/net/route.h:96: warning: data definition has no type or storage class
/usr/include/net/route.h: In function `ip_rt_put':
/usr/include/net/route.h:127: dereferencing pointer to incomplete type
/usr/include/net/route.h: In function `ip_check_route':
/usr/include/net/route.h:166: dereferencing pointer to incomplete type
/usr/include/net/route.h:166: dereferencing pointer to incomplete type
/usr/include/net/route.h:167: dereferencing pointer to incomplete type
/usr/include/net/route.h:167: `RTF_LOCAL' undeclared (first use this function)
/usr/include/net/route.h:167: (Each undeclared identifier is reported only once
/usr/include/net/route.h:167: for each function it appears in.)
make: *** [uecho] Error 1

一応 userlink.o はできますが?
/use/include/ に、/usr/src/kernel-header-2.0.29/include 以下を /usr/include に
コピーしたのがよくなかったのでしょうか?
(余計なことをしてしまったような)

大変親切なコメント有り難う御座います。
まだうまくいかないようです。
宜しくお願いいたします。


----
 Kaoru Kusunoki  kycyhoki@xxxxxxxxxxxxxxxx