N
niv
Guest
in order to run asterisk and connecto to a PRI phone-line I have a PRI card inside the server.
I need to install a module called dahdi. current version is dahdi-linux-complete version 2.4.0+2.3.0.
I got the source of that module and managed to build it fine. I had to install pve-headers-`uname -r`-pve to run this build.
when I try to load that module I get this error:
I switched to gcc 4.1.3 and rebuild the module. but still get the same error.
I tried to change path to the pve-headers and run make . but then I get this error:
I need to install a module called dahdi. current version is dahdi-linux-complete version 2.4.0+2.3.0.
I got the source of that module and managed to build it fine. I had to install pve-headers-`uname -r`-pve to run this build.
when I try to load that module I get this error:
# modprobe -v dahdi
insmod /lib/modules/2.6.32-4-pve/dahdi/dahdi.ko
FATAL: Error inserting dahdi (/lib/modules/2.6.32-4-pve/dahdi/dahdi.ko): Invalid module format
I switched to gcc 4.1.3 and rebuild the module. but still get the same error.
I tried to change path to the pve-headers and run make . but then I get this error:
what is wrong?# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make: *** [prepare0] Error 2