Problem with DAHDI compilation

Hi,

i try to compile DAHDI on a opensuse 11.3 rc3 - system, but i get the following error.
the packets kernel-source, kernel-devel and kernel-syms are installed

what i have made wrong?

this messages are from a opensuse 11.3 rc3-System. on a actual opensuse 11.2 with kernel 2.6.31 i get not this error

testserver:~/dahdi-linux-complete-2.2.1.1+2.2.1.1 # make all
make -C linux all
make[1]: Entering directory `/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.33-6-default/build SUBDIRS=/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi DAHDI_INCLUDE=/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/linux-2.6.33-6-obj/i386/default'
make -C ../../../linux-2.6.33-6 O=/usr/src/linux-2.6.33-6-obj/i386/default/. modules
  CC [M]  /root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi/dahdi-base.o
In file included from /root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/include/dahdi/kernel.h:39:0,
                 from /root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi/dahdi-base.c:62:
/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/include/dahdi/dahdi_config.h:27:28: fatal error: linux/autoconf.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[5]: *** [/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi/dahdi-base.o] Fehler 1
make[4]: *** [_module_/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux/drivers/dahdi] Fehler 2
make[3]: *** [sub-make] Fehler 2
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.6.33-6-obj/i386/default'
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/root/dahdi-linux-complete-2.2.1.1+2.2.1.1/linux'
make: *** [all] Fehler 2
testserver:~/dahdi-linux-complete-2.2.1.1+2.2.1.1 #

You will need to have some packages installed before compile the Asterisk and dahdi

  • subversion - if you want Up-to-day source code
  • kernel-source - depend on your running kernel
  • gcc
  • make
  • ncurses
  • ncurses-devel
  • openssl
  • openssl-devel
  • zlib
  • zlib-devel

if it cannot fix your problem. try to change other versions of dahdi-linux

Hi,

all this packages are installed. Now with the new version 2.3.0 from 13.April i can compile dahdi without errors

thank’s.