2.6.12-mm1 cannot build nvidia driver?

Paradise
2005-06-20T11:58:06Z

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

Hi all,

I cannot build the nvidia with 2.6.12-mm1, error is:
nvidia: Unknown symbol register_ioctl32_conversion
nvidia: Unknown symbol unregister_ioctl32_conversion

Nvidia driver 7174.
--
Regards,
Paradise

[-- Attachment #2: nvidia-kernel-source.buildlog.2.6.12-mm1.1119266963 --]
[-- Type: application/octet-stream, Size: 21274 bytes --]

/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/usr/src/linux -C /usr/src/modules/nvidia-kernel/nv -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true;
rm /usr/src/modules/nvidia-kernel/nv/gcc-check
rm /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 3.3.6
Detected compiler version : 3.3.6
Using compiler gcc-3.3 version 3.3.6
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-3.3" /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv -f Makefile SYSSRC=/usr/src/linux KBUILD_PARAMS="-C /usr/src/linux SUBDIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'

NVIDIA: calling KBUILD...
make CC=gcc-3.3 -C /usr/src/linux SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
make[3]: Entering directory `/usr/src/linux-2.6.12'
echo \#define NV_COMPILER \"`gcc-3.3 -v 2>&1 | tail -n 1`\" > /usr/src/modules/nvidia-kernel/nv/nv_compiler.h
CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:215: warning: signed and unsigned type in conditional expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:221: warning: signed and unsigned type in conditional expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/nodemask.h: In function `__first_node':
include/linux/nodemask.h:226: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__next_node':
include/linux/nodemask.h:232: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:250: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:868,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:303: warning: wrong type argument to increment
In file included from include/asm/pci.h:94,
from include/linux/pci.h:917,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nv/nv-vm.o
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:215: warning: signed and unsigned type in conditional expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:221: warning: signed and unsigned type in conditional expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/linux/nodemask.h: In function `__first_node':
include/linux/nodemask.h:226: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__next_node':
include/linux/nodemask.h:232: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:250: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:868,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:303: warning: wrong type argument to increment
In file included from include/asm/pci.h:94,
from include/linux/pci.h:917,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/nv-vm.c:14:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nv/os-agp.o
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-agp.c:24:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:215: warning: signed and unsigned type in conditional expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:221: warning: signed and unsigned type in conditional expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-agp.c:24:
include/linux/nodemask.h: In function `__first_node':
include/linux/nodemask.h:226: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__next_node':
include/linux/nodemask.h:232: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:250: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-agp.c:24:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:868,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:303: warning: wrong type argument to increment
In file included from include/asm/pci.h:94,
from include/linux/pci.h:917,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-agp.c:24:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nv/os-interface.o
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:215: warning: signed and unsigned type in conditional expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:221: warning: signed and unsigned type in conditional expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/linux/nodemask.h: In function `__first_node':
include/linux/nodemask.h:226: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__next_node':
include/linux/nodemask.h:232: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:250: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:868,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:303: warning: wrong type argument to increment
In file included from include/asm/pci.h:94,
from include/linux/pci.h:917,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' used in arithmetic
/usr/src/modules/nvidia-kernel/nv/os-interface.c: In function `os_register_ioctl32_conversion':
/usr/src/modules/nvidia-kernel/nv/os-interface.c:1232: warning: implicit declaration of function `register_ioctl32_conversion'
/usr/src/modules/nvidia-kernel/nv/os-interface.c: In function `os_unregister_ioctl32_conversion':
/usr/src/modules/nvidia-kernel/nv/os-interface.c:1240: warning: implicit declaration of function `unregister_ioctl32_conversion'
CC [M] /usr/src/modules/nvidia-kernel/nv/os-registry.o
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-registry.c:14:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:215: warning: signed and unsigned type in conditional expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:221: warning: signed and unsigned type in conditional expression
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-registry.c:14:
include/linux/nodemask.h: In function `__first_node':
include/linux/nodemask.h:226: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__next_node':
include/linux/nodemask.h:232: warning: signed and unsigned type in conditional expression
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:250: warning: signed and unsigned type in conditional expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
from /usr/src/modules/nvidia-kernel/nv/os-registry.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:868,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:303: warning: wrong type argument to increment
In file included from include/asm/pci.h:94,
from include/linux/pci.h:917,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
from /usr/src/modules/nvidia-kernel/nv/os-registry.c:14:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' used in arithmetic
LD [M] /usr/src/modules/nvidia-kernel/nv/nvidia.o
Building modules, stage 2.
MODPOST
*** Warning: "unregister_ioctl32_conversion" [/usr/src/modules/nvidia-kernel/nv/nvidia.ko] undefined!
*** Warning: "register_ioctl32_conversion" [/usr/src/modules/nvidia-kernel/nv/nvidia.ko] undefined!
CC /usr/src/modules/nvidia-kernel/nv/nvidia.mod.o
LD [M] /usr/src/modules/nvidia-kernel/nv/nvidia.ko
make[3]: Leaving directory `/usr/src/linux-2.6.12'
NVIDIA: left KBUILD.
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: Compatibility levels before 4 are deprecated.
sed 's/#KVERS#/2.6.12-mm1/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.12-mm1/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.12-mm1/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
dh_installdirs
dh_installdirs: Compatibility levels before 4 are deprecated.
install -m 0644 /usr/src/modules/nvidia-kernel/debian/override /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.12-mm1/usr/share/lintian/overrides/nvidia-kernel-2.6.12-mm1
if [ "6" = "6" ] ; then \
install -m 0644 /usr/src/modules/nvidia-kernel/nv/nvidia.ko /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.12-mm1/lib/modules/2.6.12-mm1/nvidia/nvidia.ko ; \
else \
install -m 0644 /usr/src/modules/nvidia-kernel/nv/nvidia.o /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.12-mm1/lib/modules/2.6.12-mm1/nvidia/nvidia.o ;\
fi
dh_testdir
dh_testroot
dh_installdocs
dh_installdocs: Compatibility levels before 4 are deprecated.
dh_installinit
dh_installinit: Compatibility levels before 4 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 4 are deprecated.
dh_link
dh_link: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip: Compatibility levels before 4 are deprecated.
dh_compress
dh_compress: Compatibility levels before 4 are deprecated.
dh_fixperms
dh_fixperms: Compatibility levels before 4 are deprecated.
dh_installdeb
dh_installdeb: Compatibility levels before 4 are deprecated.
dh_gencontrol -- -v1.0.7174-3
dh_gencontrol: Compatibility levels before 4 are deprecated.
dh_md5sums
dh_md5sums: Compatibility levels before 4 are deprecated.
dh_builddeb --destdir=/usr/src
dh_builddeb: Compatibility levels before 4 are deprecated.
dpkg-deb: building package `nvidia-kernel-2.6.12-mm1' in `/usr/src/nvidia-kernel-2.6.12-mm1_1.0.7174-3_amd64.deb'.
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/usr/src/linux -C /usr/src/modules/nvidia-kernel/nv -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true;
rm /usr/src/modules/nvidia-kernel/nv/gcc-check
rm /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Build time: 14 seconds