problems with the nvidia driver

Csaba Henk ekho at renyi.hu
Fri Nov 22 00:16:27 PST 2002


 Hi!

 I tried to install the nvidia driver, and when I typed "make", I got the
following:

% cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MO
% DULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX   -DNVCPU_X86       -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
% In file included from /usr/include/linux/prefetch.h:13,
%                  from /usr/include/linux/list.h:6,
%                  from /usr/include/linux/module.h:12,
%                  from nv-linux.h:28,
%                  from nv.c:14:
% /usr/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
% /usr/include/asm/processor.h:56: requested alignment is not a constant
% In file included from /usr/include/asm/hardirq.h:6,
%                  from /usr/include/linux/interrupt.h:45,
%                  from nv-linux.h:64,
%                  from nv.c:14:
% /usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
% /usr/include/linux/irq.h:65: requested alignment is not a constant
% In file included from /usr/include/linux/interrupt.h:45,
%                  from nv-linux.h:64,
%                  from nv.c:14:
% /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
% /usr/include/asm/hardirq.h:16: requested alignment is not a constant
% In file included from nv-linux.h:64,
%                  from nv.c:14:
% /usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
% /usr/include/linux/interrupt.h:128: requested alignment is not a constant
% make: *** [nv.o] Error 1

Can you figure out what's the problem?

Csaba

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list