RE: compile network driver
I am sorry, I don't describe my question clearly.
I issue the command to compile the network drive.
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c viarhine.c -DMODVERSIONS
It showed a lot of error messages.
.
.
.
/usr/include/linux/slab.h:53: parse error before `void'
/usr/include/linux/slab.h:58: parse error before `int'
/usr/include/linux/slab.h:60: parse error before `size_t'
..
In file included from viarhine.c:98:
/usr/include/linux/netdevice.h:371: parse error before `off_t'
/usr/include/linux/netdevice.h: In function `dev_lock_wait':
..
..
I believed the reason why there were so many errors is that I missed some
packages.
Or I missed some symbol link. And I once compiled this in RedHat 6.2. It
was Ok.
Thanks.
> -----Original Message-----
> From: GILBERT.LI [mailto:Gilbert.Li@mic.com.tw]
> Sent: Monday, October 30, 2000 6:05 PM
> To: debian-user@lists.debian.org
> Subject: compile network driver
>
>
>
> I have installed debian 2.2. When I wanted to compile
> my network driver, it showed a lot of error messages.
> Did I miss some packages for compiling new drivers?
> What packages should I install to compile
> a driver?
>
> Gilbert
>
>
> --
> Unsubscribe? mail -s unsubscribe
> debian-user-request@lists.debian.org < /dev/null
>
Reply to: