[asterisk-users] Dahdi 2.3.0.1 fails to compile in Xen DomU
Chris Bagnall
asterisk at lists.minotaur.cc
Tue Jul 20 10:35:59 CDT 2010
Greetings list,
I've compiled and installed dahdi countless times on standalone machines,
but recently I've been trying to compile Dahdi in a Xen DomU without much
success. The errors I'm seeing are as follows:
/var/tmp/portage/net-misc/dahdi-2.3.0.1/work/dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc/base.c:1689:
error: 'modes' undeclared (first use in this function)
/var/tmp/portage/net-misc/dahdi-2.3.0.1/work/dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc/base.c:1689:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-misc/dahdi-2.3.0.1/work/dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc/base.c:1689:
error: for each function it appears in.)
/var/tmp/portage/net-misc/dahdi-2.3.0.1/work/dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc/base.c:1689:
error: 'modes' undeclared here (not in a function)
etc.
The DomU in question is running Gentoo Linux with a 2.6.34 Xenified kernel.
I've tried stepping back to 2.6.32 and 2.6.31 kernels, as well as dropping
dahdi back to 2.3.0 and 2.2.0, all without success.
I wouldn't be in the slightest bit surprised if I'm missing a kernel option
somewhere, but I'm not sure where to start (or how best to diagnose such
things). Is there a list of "required kernel options" for dahdi published
anywhere I could consult, or has anyone else come across similar errors
before?
Any suggestions gratefully appreciated.
Thanks in advance.
Regards,
Chris
More information about the asterisk-users
mailing list