Problem building drivers on proxmox

Rudde

Renowned Member
Aug 25, 2014
8
0
66
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

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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!