[pkg-nvidia-devel] Bug#504626: fail
alexs
alexs6 at mail.ru
Fri Apr 10 08:50:30 UTC 2009
I failed build this module with patch :( log in attach.
-------------- next part --------------
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-173xx/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.29-1-686/build -C /usr/src/modules/nvidia-kernel-legacy-173xx/ -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
rm -f /usr/src/modules/nvidia-kernel-legacy-173xx//Makefile || true;
rm /usr/src/modules/nvidia-kernel-legacy-173xx//gcc-check
rm /usr/src/modules/nvidia-kernel-legacy-173xx//cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control
rm /usr/src/modules/nvidia-kernel-legacy-173xx/debian/dirs
rm /usr/src/modules/nvidia-kernel-legacy-173xx/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-173xx/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if ! gcc-4.3 -v 2> /dev/null ; then \
echo "Compiler gcc-4.3 does not exist on the system" ; \
exit 1; \
fi
if [ -f /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-173xx/debian/control; \
fi
if [ "i686" = "x86_64" ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-173xx/nv-kernel.o.x86_64 /usr/src/modules/nvidia-kernel-legacy-173xx/nv-kernel.o ; \
fi
touch configure-stamp
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.3.3
Detected compiler version : 4.3.3
Using compiler gcc-4.3 version 4.3.3
touch /usr/src/modules/nvidia-kernel-legacy-173xx//gcc-check
touch /usr/src/modules/nvidia-kernel-legacy-173xx//cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.3" /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy-173xx/ -f Makefile SYSSRC=/lib/modules/2.6.29-1-686/build KBUILD_PARAMS="-C /lib/modules/2.6.29-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-173xx" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
NVIDIA: calling KBUILD...
make CC=gcc-4.3 -C /lib/modules/2.6.29-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-173xx modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.29-1-686'
CC [M] /usr/src/modules/nvidia-kernel-legacy-173xx/nv.o
In file included from /usr/src/linux-headers-2.6.29-1-common/include/linux/bitops.h:17,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/kernel.h:15,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/sched.h:52,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h: In function ?set_bit?:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h:64: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h: In function ?clear_bit?:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h:102: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h: In function ?change_bit?:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/bitops.h:178: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.29-1-common/include/linux/list.h:6,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/preempt.h:11,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/seqlock.h:29,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/time.h:8,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/sched.h:54,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/include/linux/prefetch.h: In function ?prefetch_range?:
/usr/src/linux-headers-2.6.29-1-common/include/linux/prefetch.h:57: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.29-1-common/include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/include/linux/sched.h: In function ?object_is_on_stack?:
/usr/src/linux-headers-2.6.29-1-common/include/linux/sched.h:2088: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:34,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:1:2: error: #error remap_page_range() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:3:2: error: #error vmap() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:5:2: error: #error agp_backend_acquire() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:23:2: error: #error kmem_cache_create() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:24:2: error: #error on_each_cpu() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:25:2: error: #error smp_call_function() conftest failed!
In file included from /usr/src/linux-headers-2.6.29-1-common/include/linux/io.h:22,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/pci.h:54,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/io.h: In function ?writeq?:
/usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/io.h:69: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/dma-mapping.h:9,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/dma-mapping.h:57,
from /usr/src/linux-headers-2.6.29-1-common/include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.29-1-common/arch/x86/include/asm/pci.h:98,
from /usr/src/linux-headers-2.6.29-1-common/include/linux/pci.h:1057,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/include/linux/scatterlist.h: In function ?sg_virt?:
/usr/src/linux-headers-2.6.29-1-common/include/linux/scatterlist.h:199: warning: pointer of type ?void *? used in arithmetic
In file included from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:110:27: error: asm/semaphore.h: ??? ?????? ????? ??? ????????
In file included from /usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:113,
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h: In function ?zero_user_segments?:
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:136: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:136: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:136: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:136: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:139: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:139: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:139: warning: pointer of type ?void *? used in arithmetic
/usr/src/linux-headers-2.6.29-1-common/include/linux/highmem.h:139: warning: pointer of type ?void *? used in arithmetic
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:593:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:690:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:710:2: error: #error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
In file included from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h: In function ?nv_execute_on_all_cpus?:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:728: error: implicit declaration of function ?NV_ON_EACH_CPU?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h: At top level:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:892: error: conflicting types for ?pm_message_t?
/usr/src/linux-headers-2.6.29-1-common/include/linux/pm.h:41: error: previous declaration of ?pm_message_t? was here
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:360: warning: initialization from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c: In function ?nv_kern_cpu_callback?:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:1298: error: implicit declaration of function ?NV_SMP_CALL_FUNCTION?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c: In function ?nvidia_init_module?:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:1338: error: implicit declaration of function ?NV_KMEM_CACHE_CREATE?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:1338: error: expected expression before ?nv_stack_t?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:1348: error: implicit declaration of function ?NV_KMEM_CACHE_DESTROY?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:1447: error: expected expression before ?nv_pte_t?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c: In function ?nv_kern_open?:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:2012: warning: passing argument 2 of ?request_irq? from incompatible pointer type
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:4018:6: warning: "NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c: In function ?nv_agp_init?:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:4035: error: too few arguments to function ?agp_backend_acquire?
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:4037: error: too few arguments to function ?agp_backend_release?
make[6]: *** [/usr/src/modules/nvidia-kernel-legacy-173xx/nv.o] ?????? 1
make[5]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-173xx] ?????? 2
make[4]: *** [sub-make] ?????? 2
make[3]: *** [all] ?????? 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.29-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] ?????? 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
make[1]: *** [build-stamp] ?????? 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-173xx'
make: *** [kdist_image] ?????? 2
More information about the Pkg-nvidia-devel
mailing list