Hi all,<br><br>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. <br><br>The prereq.sh script executes without complaints (BTW on my system, libncurses-dev evaluates to libncurses5-dev and libz-dev evaluates to zlib1g-dev). <br>
<br>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:<br>
<br>[CC] chan_dahdi.c -> chan_dahdi.o<br>chan_dahdi.c: In function ‘dahdi_hangup’:<br>chan_dahdi.c:3169: warning: unused variable ‘outgoing’<br>chan_dahdi.c: In function ‘ss_thread’:<br>chan_dahdi.c:6463: warning: unused variable ‘network’<br>
chan_dahdi.c: At top level:<br>chan_dahdi.c:9481: error: expected declaration specifiers or ‘...’ before ‘q931_call’<br>chan_dahdi.c: In function ‘pri_find_tei’:<br>chan_dahdi.c:9484: error: dereferencing pointer to incomplete type<br>
chan_dahdi.c:9485: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9486: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9486: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9486: error: ‘c’ undeclared (first use in this function)<br>
chan_dahdi.c:9486: error: (Each undeclared identifier is reported only once<br>chan_dahdi.c:9486: error: for each function it appears in.)<br>chan_dahdi.c: In function ‘pri_get_callonhold’:<br>chan_dahdi.c:9494: error: dereferencing pointer to incomplete type<br>
chan_dahdi.c:9498: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9498: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9502: error: dereferencing pointer to incomplete type<br>chan_dahdi.c: In function ‘pri_destroy_callonhold’:<br>
chan_dahdi.c:9508: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9514: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9514: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9517: error: dereferencing pointer to incomplete type<br>
chan_dahdi.c:9517: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9518: error: dereferencing pointer to incomplete type<br>chan_dahdi.c:9523: error: dereferencing pointer to incomplete type<br>chan_dahdi.c: In function ‘dahdi_sendtext’:<br>
chan_dahdi.c:14491: warning: implicit declaration of function ‘dahdi_tdd_sendtext’<br>chan_dahdi.c: At top level:<br>chan_dahdi.c:14521: error: static declaration of ‘dahdi_tdd_sendtext’ follows non-static declaration<br>
chan_dahdi.c:14491: note: previous implicit declaration of ‘dahdi_tdd_sendtext’ was here<br>make[1]: *** [chan_dahdi.o] Error 1<br>make: *** [channels] Error 2<br><br>Running a make clean, ./configure and running the make again does not help either. Any advice?<br>
<br>Mos<br>