[asterisk-users] chan_dahdi under bristuff 0.4.0-RC11 not building under Linux 10.04.2 LTS

Mosiuoa Tsietsi mosiuoat at gmail.com
Tue Apr 19 09:50:39 CDT 2011


Hi all,

I downloaded a copy of bristuff 0.4.0-RC11 on my Ubuntu 10.04.2 LTS server
machine with 2.6.32-24-generic-pae kernel.

The prereq.sh script executes without complaints (BTW on my system,
libncurses-dev evaluates to libncurses5-dev and libz-dev evaluates to
zlib1g-dev).

With the asterisk 1.4.41 package that is installed, a make menuselect
operation indicates that all dependencies are met as the chan_dahdi entry
allows me to insert a * instead of the XXX for unmet dependencies. However,
a compilation attempt fails and results in the following error:

[CC] chan_dahdi.c -> chan_dahdi.o
chan_dahdi.c: In function ‘dahdi_hangup’:
chan_dahdi.c:3169: warning: unused variable ‘outgoing’
chan_dahdi.c: In function ‘ss_thread’:
chan_dahdi.c:6463: warning: unused variable ‘network’
chan_dahdi.c: At top level:
chan_dahdi.c:9481: error: expected declaration specifiers or ‘...’ before
‘q931_call’
chan_dahdi.c: In function ‘pri_find_tei’:
chan_dahdi.c:9484: error: dereferencing pointer to incomplete type
chan_dahdi.c:9485: error: dereferencing pointer to incomplete type
chan_dahdi.c:9486: error: dereferencing pointer to incomplete type
chan_dahdi.c:9486: error: dereferencing pointer to incomplete type
chan_dahdi.c:9486: error: ‘c’ undeclared (first use in this function)
chan_dahdi.c:9486: error: (Each undeclared identifier is reported only once
chan_dahdi.c:9486: error: for each function it appears in.)
chan_dahdi.c: In function ‘pri_get_callonhold’:
chan_dahdi.c:9494: error: dereferencing pointer to incomplete type
chan_dahdi.c:9498: error: dereferencing pointer to incomplete type
chan_dahdi.c:9498: error: dereferencing pointer to incomplete type
chan_dahdi.c:9502: error: dereferencing pointer to incomplete type
chan_dahdi.c: In function ‘pri_destroy_callonhold’:
chan_dahdi.c:9508: error: dereferencing pointer to incomplete type
chan_dahdi.c:9514: error: dereferencing pointer to incomplete type
chan_dahdi.c:9514: error: dereferencing pointer to incomplete type
chan_dahdi.c:9517: error: dereferencing pointer to incomplete type
chan_dahdi.c:9517: error: dereferencing pointer to incomplete type
chan_dahdi.c:9518: error: dereferencing pointer to incomplete type
chan_dahdi.c:9523: error: dereferencing pointer to incomplete type
chan_dahdi.c: In function ‘dahdi_sendtext’:
chan_dahdi.c:14491: warning: implicit declaration of function
‘dahdi_tdd_sendtext’
chan_dahdi.c: At top level:
chan_dahdi.c:14521: error: static declaration of ‘dahdi_tdd_sendtext’
follows non-static declaration
chan_dahdi.c:14491: note: previous implicit declaration of
‘dahdi_tdd_sendtext’ was here
make[1]: *** [chan_dahdi.o] Error 1
make: *** [channels] Error 2

Running a make clean, ./configure and running the make again does not help
either. Any advice?

Mos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110419/c1fad3ca/attachment-0001.htm>


More information about the asterisk-users mailing list