On Tue, May 23, 2006 at 09:24:55PM -0400, Marc Collin wrote:
BuildRequires: kernel-source
[SNIP]
+ cd spca5xx-20060501 + make Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/packages/BUILD/spca5xx-20060501 CC=cc modules make: *** /lib/modules/2.6.16.13-4-default/build: No such file or directory.
You also need a BuildRequires: on the kernel-syms package.
I haven't been following the disucssion of what you're doing or why, but
note that the resultant rpm will contain a module built for the specific
kernel installed on the build host (in this case kernel-default), which
may or may not be the same kernel that's installed on the host that the
built rpm is installed on.
--
Steve Beattie
SUSE Labs, Novell Inc.