On 5/15/07, Daniel Rozeboom <[EMAIL PROTECTED]> wrote:
>
>  Sorry to have to e-mail this question out to everyone, but I have asked it
> on linuxquestions.org and haven't received much help (and I don't have
> access to IRC behind my proxy). I have a relatively clean LFS build and I'm
> working on putting some BLFS packages on. My network card (a Realtek
> RTL8168/8111) had never been automatically recognized, so I tried to install
> the drivers provided by Realtek, but I had the following output after "make
> modules" that seems to indicate some unhappy errors:
>
> ********************************************************
>  make -C src/ modules
>  make[1]: Entering directory `/usr/src/r1000_v1.05/src'
>  make -C /lib/modules/2.6.16.27/build
> SUBDIRS=/usr/src/r1000_v1.05/src modules
>  make[2]: Entering directory `/sources/linux-2.6.16.27'
>
>  WARNING: Symbol version dump /sources/linux-2.6.16.27/Module.symvers
>  is missing; modules will have no dependencies and modversions.
>
>  CC [M] /usr/src/r1000_v1.05/src/r1000_n.o
>  In file included from include/linux/module.h:10,
>  from /usr/src/r1000_v1.05/src/r1000.h:1,
>  from /usr/src/r1000_v1.05/src/r1000_n.c:5:
>  include/linux/sched.h:4:36: error: asm/param.h: No such file or directory

You seem to be missing your kernel source tree.

The external module needs to build against the linux source tree for
each version of the kernel. The way you do this is by keeping the
linux-* directory instead of deleting it. Customarily, the symlinks at
/lib/modules/$version/{build,source} are updated to point to the
location on disk where you've placed your configured source tree. You
can see at the beginning of the output that it's trying to change to
this directory:

>  make -C /lib/modules/2.6.16.27/build

So, you'll have to rebuild a new kernel (grab the latest 2.6.16
version) and keep the directory. Update the symlinks in
/lib/modules/2.6.16.*/{build,source} and then you should be able to
restart this process with the realtek drivers.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to