Hello, I'm trying to build drivers for some of my PCIe Cards on Proxmox.
I am trying to build this driver: http://www.linuxtv.org/wiki/index.php/Digital_Devices_DuoFlex_C&T
It is suppose to be compatible with linux kernel 2.6.32 and higher.
But when I run make I get this error
It looks like it is trying to use /lib/modules/2.6.32-29-pve/build, this path do not exist in the OS, the build file or folder so I don't really know how to solve this problem, I really hope someone have some fresh input to come with
- Thanks!
I am trying to build this driver: http://www.linuxtv.org/wiki/index.php/Digital_Devices_DuoFlex_C&T
It is suppose to be compatible with linux kernel 2.6.32 and higher.
But when I run make I get this error
Code:
make -C /root/media_build_experimental/v4lmake[1]: Entering directory `/root/media_build_experimental/v4l'
Updating/Creating .config
make[2]: Entering directory `/root/media_build_experimental/linux'
Patches for 2.6.32-29-pve already applied.
make[2]: Leaving directory `/root/media_build_experimental/linux'
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-29-pve/build/.config at ./scripts/make_kconfig.pl line 34, <IN> line 4.
make[2]: Entering directory `/root/media_build_experimental/linux'
Patches for 2.6.32-29-pve already applied.
make[2]: Leaving directory `/root/media_build_experimental/linux'
./scripts/make_kconfig.pl /lib/modules/2.6.32-29-pve/build /lib/modules/2.6.32-29-pve/build
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-29-pve/build/.config at ./scripts/make_kconfig.pl line 34, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/root/media_build_experimental/v4l'
make: *** [all] Error 2
It looks like it is trying to use /lib/modules/2.6.32-29-pve/build, this path do not exist in the OS, the build file or folder so I don't really know how to solve this problem, I really hope someone have some fresh input to come with
- Thanks!