make oldconfig && make dep prior to compile NVIDIA_kernel,

On Wed, 11 Apr 2001, Daniel McKee wrote:

> Dunno what has changed since 13mdk, but i am having a few probs with
> 15mdk;
>
> 1) cannot compile progs that depend on headers from the kernel...I am
> getting bizzare errors (version.h)...This is what happens when i try to
> compile the NVIDIA_kernel.src.rpm;
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.73982
> + umask 022
> + cd /usr/src/RPM/BUILD
> + cd NVIDIA_kernel-0.9-769
> + make NVdriver
> cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE
> -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
> -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
> -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=769  -I.
> -I/lib/modules/2.4.3-15mdk/build/include nv.c
> In file included from
> /lib/modules/2.4.3-15mdk/build/include/linux/module.h:261,
> from nv.c:53:
> /lib/modules/2.4.3-15mdk/build/include/linux/version.h:6:2: #elif after
> #else
> /lib/modules/2.4.3-15mdk/build/include/linux/version.h:2:1: the
> conditional began here
> In file included from nv.h:124,
>                  from nv.c:55:
> /lib/modules/2.4.3-15mdk/build/include/linux/version.h:6:2: #elif after
> #else
> /lib/modules/2.4.3-15mdk/build/include/linux/version.h:2:1: the
> conditional began here
> make: *** [nv.o] Error 1
> Bad exit status from /var/tmp/rpm-tmp.73982 (%build)
>
> 2) i had to copy the enterprise-i586.config to enterprise-i686.config...
> If I can put in a request for the kernels to come with all the .configs
> for the diff arch's to begin with, that would help...I duuno if just
> coping the file is good enough (?)...
>
> thanks
>
> Daniel McKee
>
>

-- 

2B or not 2B, that's a question. :)


Reply via email to