Re: [asterisk-users] Dahdi 2.3.0.1 fails to compile in Xen DomU

2010-07-20 Thread Tzafrir Cohen
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.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Dahdi 2.3.0.1 fails to compile in Xen DomU

2010-07-20 Thread Chris Bagnall
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users