[tulip] help from a really beginner [Debian, Linksys 10/100 Fast, tulip]

Eric Lammerts eric@lammerts.org
Tue, 27 Jun 2000 23:52:43 +0200 (CEST)


On Tue, 27 Jun 2000, Gang Zhao wrote:
> I download debian stable from its official site, which turns out to be
> kernel 2.0.38. I got an Linksys 10/100 Fast Ethernet card, so I followed

Upgrade to potato. It works very well.
Slink is just too old.

> directory, I got a 'kernel version mismatch error', which says the .o
> files are compiled in kernel 2.0.36, albet my version is 2.0.38. -- This
> I'm really confused, since, how can I compile on kernel version 2.0.38 and
> the result is a 2.0.36 binary?

This is because with Debian, the header files in 
/usr/include/{linux,asm} are the header files glibc was compiled with.

You need to add -I/usr/src/linux/include to the gcc commandline so it
will use the right header files. Make sure the kernel-headers-2.0.38
package is installed.

Eric