At 2004-08-24T17:46:34+1200, Thomas Frank wrote:
> On 24/08/04 16:33, you wrote:
> > It seems like the Linux kernel source you're building against is not
> > configured. You can check by make sure the 'asm' symlink is set up:
> >
> > $ cd /lib/modules/$(uname -r)/build/include; ls -dl asm
> > lrwxrwxrwx 1 luser lgroup 8 2004-01-01 00:01 asm -> asm-i386
> I did this link, but still got same result. anything else need to be
> done?
Yes. I was not clear enough initially. If the link did not exist, it
strongly suggests that your kernel source is not in a configured state.
Creating the symlink manually is not the correct way to resolve this
situation.
What you need to do is:
$ cd /lib/modules/$(uname -r)/build
$ ls -l .config
If this file does not exist, you need to source the correct kernel
configuration for your currently running kernel. This will probably be
available in boot, so...
$ cp /boot/config-$(uname -r) .config
$ make oldconfig
Assuming this succeeds, your kernel source will be configured, and you
should be able to get further in your attempts to build the driver.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]