[asterisk-users] Dahdi 2.3.0.1 fails to compile in Xen DomU
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jul 20 11:26:21 CDT 2010
On Tue, Jul 20, 2010 at 04:35:59PM +0100, Chris Bagnall wrote:
> 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)
zaphfc? From where exactly?
IIRC the one in my Debian package builds OK with 2.6.34. Haven't tried
Xen, though.
>
> 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?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list