At 2004-08-24T15:46:38+1200, Thomas Frank wrote:

> I have tried to compile the usb net card driver, but failed, I got
> following error messages:

> /usr/include/asm/processor.h:74: error: `CONFIG_NR_CPUS' undeclared
> here (not in a function)

> my linux system is Xandros desktop 2.0 open edition. the kernel source
> is 2.4.24-x1

> I got the driver source from http://www.olitec.com/adsl-linux.html.

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

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to