when you install redhat linux, you can select to install the
kernel-include and kernel-source
but I think the kernel include files come with redhat7 (i am not sure
about rh6) won't let you to compile a kernel module by using
/usr/include/linux (they ask you to use /usr/src/linux-xxx)
you can dnload the kernel source from ftp://ftp.kernel.org and build you
own kernel/NIC driver.
Alex
On Fri, 27 Apr 2001, Yiping Chen wrote:
> I have a important question about compile driver here, sometimes we install
> RedHat Linux
> When you boot the system , it will not include the kernel source, if we
> don't have kernel source ,
> whether can we compile the driver (NIC).
> I am confused, beacuse we need include many kernel header file, if you don't
> have linux kernel
> source (I means that there is no kernel source in /usr/src, whether we can
> compile the driver module
> successfully?), whether we can just use the header file in /usr/include?
> thanks!!
> Yiping Chen
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
| Feng Xian *
| (o_ *
| //\ *
| V_/_ *
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/