Re: problem compiling kernel modul

From: Markus Falkensteiner (falkmREMOVE_THIS_at_gmx.net)
Date: 02/10/04


Date: Tue, 10 Feb 2004 14:43:39 +0100

after doing the following commands. it works now. but know idea what all
this mean, and what ist the
background of this commands.
yes we copy some files,.... that's clear for me. but why this is necessary,
i don't know.
can some explain it to me???

commands:

make include/linux/version.h
make symlinks

cp -R include/linux /usr/include: This command copies the cross-platform
kernel header files to /usr/include.

i again include know "-I/usr/src/linux/include " for compilation

markus

"Kasper Dupont" <kasperd@daimi.au.dk> schrieb im Newsbeitrag
news:4028D789.FAF3FBEC@daimi.au.dk...
> Markus Falkensteiner wrote:
> >
> > elr_linux:/home/sst/test_modul # ls -l
> > /lib/modules/$(uname -r)/build/include
> > total 116
> > drwxr-xr-x 27 root root 4096 Sep 2 15:14 .
> > drwxr-xr-x 15 root root 4096 Sep 2 15:14 ..
> > drwxr-xr-x 8 root root 4096 Sep 2 15:14 abi
> > lrwxrwxrwx 1 root root 8 Sep 2 15:14 asm -> asm-i386
> [...]
> > drwxr-xr-x 2 root root 4096 Sep 2 15:14 video
> >
> > elr_linux:/home/sst/test_modul # echo $(uname -r)
> > 2.4.10-4GB
> > elr_linux:/home/sst/test_modul #
>
> That looks right to me. I don't know what is
> wrong here. Anybody else got any ideas?
>
> --
> Kasper Dupont -- der bruger for meget tid paa usenet.
> For sending spam use mailto:aaarep@daimi.au.dk
> /* Would you like fries with that? */