[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[orca-tech:01681] Re: ビデオボード



中井@神奈川開業医です。
武藤先生のアドバイスに従って操作してみました。

m-a a-i nvidia-kernel-source

では

bud luck, the kernel headers for the target kernel version could not
be found. and you did not specify other valid kernel headers to use.

However you can install the header files for your kernel which are provided
by the kernel-headers-2,6,8-4-686 package.For most modules package,this
files are perfectly sufficient without having the original kernel source.
To install the package ,run the PREPARE command from the main menu,
or on the command line

と表示されます。

PREPARE は、どういう風にrunさせるのでしょうか。

念のため 

次の LOGを参照しなさいとあります。



/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.5
Detected compiler version : 3.3.5
Using compiler gcc-3.3 version 3.3.5
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/kernel-headers-2.6.8-2-686'
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/list.h:7,
                 from include/linux/wait.h:14,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 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
  CC [M]  /usr/src/modules/nvidia-kernel/nv/nv-vm.o
In file included from include/linux/list.h:7,
                 from include/linux/wait.h:14,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 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
  CC [M]  /usr/src/modules/nvidia-kernel/nv/os-agp.o
In file included from include/linux/list.h:7,
                 from include/linux/wait.h:14,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 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
  CC [M]  /usr/src/modules/nvidia-kernel/nv/os-interface.o
In file included from include/linux/list.h:7,
                 from include/linux/wait.h:14,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 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
  CC [M]  /usr/src/modules/nvidia-kernel/nv/os-registry.o
In file included from include/linux/list.h:7,
                 from include/linux/wait.h:14,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 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
  LD [M]  /usr/src/modules/nvidia-kernel/nv/nvidia.o
  Building modules, stage 2.
  MODPOST
  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/kernel-headers-2.6.8-2-686'
NVIDIA: left KBUILD.
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
sed 's/#KVERS#/2.6.8-2-686/g' debian/control.template >
/usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.8-2-686/g' debian/dirs.template >
/usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.8-2-686/g' debian/override.template >
/usr/src/modules/nvidia-kernel/debian/override
dh_installdirs
install -m 0644 /usr/src/modules/nvidia-kernel/debian/override
/usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.8-2-686/usr/share/li
ntian/overrides/nvidia-kernel-2.6.8-2-686
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.8-2-686/lib/modules/
2.6.8-2-686/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.8-2-686/lib/modules/
2.6.8-2-686/nvidia/nvidia.o ;\
fi
dh_testdir
dh_testroot
dh_installdocs
dh_installinit
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v1.0.7174-3+2.6.8-16sarge1
dh_md5sums
dh_builddeb  --destdir=/usr/src
dpkg-deb: building package `nvidia-kernel-2.6.8-2-686' in
`/usr/src/nvidia-kernel-2.6.8-2-686_1.0.7174-3+2.6.8-16sarge1_i386.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
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: 16 seconds