[asterisk-users] Dahdi will not compile on Unbuntu Studio Linux 9.10 (Karmic) 32bit
Steve Gladden
asterisk at michiganbroadband.com
Mon Apr 26 13:21:30 CDT 2010
Been trying to get this to go but nongo :-).
I'm asking for some guidance especially if I should not be doing this on
an RT kernel.
I've installed what is supposed to be all of the requred deps.
Some factors that may be adding to my problem are:
1. this is only a test.. it's a 32bit guest OS running in VMware
under a 64 bit windows host.. (although I'be compiled it on other
distros in this config without issues.
2. This is ubuntu Studio which uses an RT (realtime kernel)..
There seems to be very little aout there regarding running asterisk on
RT linux... one woudl think this would have some benefits..
Big benefits.. I've always wondered.
But moreso in a nn-virtual machine environment.
Asterisk builds just fine and works.
Kernel is : 2.6.31-9-rt (buildd at palmer) (gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu8) ) #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14 UTC 2009
Install is Ubuntu Studio 9.10 (Karmic) 32bit
and up to date.
I have not yet tried it on a stand-alone machine..
I don't think that will be the fix but I will try that soon.
----------------------------------------------------------------------
root at ubuntu:/usr/src/dahdi-linux-2.3.0# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory
`/usr/src/dahdi-linux-2.3.0/drivers/dahdi/firmware'
make[1]: Leaving directory
`/usr/src/dahdi-linux-2.3.0/drivers/dahdi/firmware'
make -C /lib/modules/2.6.31-9-rt/build
SUBDIRS=/usr/src/dahdi-linux-2.3.0/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.3.0/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-9-rt'
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi-base.o
CC [M]
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.o
SHIPPED
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o
LD [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_dynamic.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_dynamic_loc.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_dynamic_eth.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_dynamic_ethmf.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_transcode.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/wctdm.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/wct1xxp.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/wcte11xp.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/wcfxo.o
gcc -o /usr/src/dahdi-linux-2.3.0/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/makefw.c
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/tormenta2.rbt tor2fw >
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/tor2fw.h
Loaded 69900 bytes from file
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/tor2.o
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/pciradio.rbt radfw >
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/radfw.h
Loaded 42096 bytes from file
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/pciradio.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_echocan_jpah.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_echocan_sec.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_echocan_sec2.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_echocan_kb1.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_echocan_mg2.o
LD [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/dahdi_vpmadt032_loader.o
CC [M] /usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.o
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c: In function
âvoicebus_stopâ:
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:980: warning:
type defaults to âintâ in declaration of âDECLARE_MUTEXâ
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:980: warning:
parameter names (without types) in function declaration
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:980: error:
invalid storage class for function âDECLARE_MUTEXâ
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:982: error:
âstopâ undeclared (first use in this function)
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:982: error:
(Each undeclared identifier is reported only once
/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.c:982: error:
for each function it appears in.)
make[3]: ***
[/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus/voicebus.o] Error 1
make[2]: *** [/usr/src/dahdi-linux-2.3.0/drivers/dahdi/voicebus] Error 2
make[1]: *** [_module_/usr/src/dahdi-linux-2.3.0/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-9-rt'
make: *** [modules] Error 2
root at ubuntu:/usr/src/dahdi-linux-2.3.0#
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the asterisk-users
mailing list