[Asterisk-Users] Libmfcr2 won't compile
Frederic Jean
fjean at sunnetgroup.net
Wed May 31 16:19:47 MST 2006
Hi, downloaded the latest snapshot just right now at soft-switch for
MFC/R2 support and I get this message when trying to
do libmfcr2; any idea ? it looks like he's not reaching Unicall.
Thanks,
Fred
# make
make all-am
make[1]: Entering directory `/usr/src/libmfcr2-0.0.3'
if /bin/sh ./libtool --tag=CC --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -g -O2 -MT
mfcr2.lo -MD -MP -MF ".deps/mfcr2.Tpo" -c -o mfcr2.lo mfcr2.c; \
then mv -f ".deps/mfcr2.Tpo" ".deps/mfcr2.Plo"; else rm -f
".deps/mfcr2.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -g -O2 -MT
mfcr2.lo -MD -MP -MF .deps/mfcr2.Tpo -c mfcr2.c -fPIC -DPIC -o
.libs/mfcr2.o
mfcr2.c: In function `report_dialed_number':
mfcr2.c:866: error: `UC_EVENT_DIALEDNUMBER' undeclared (first use in this
function)
mfcr2.c:866: error: (Each undeclared identifier is reported only once
mfcr2.c:866: error: for each function it appears in.)
mfcr2.c: In function `inquire_for_more_info':
mfcr2.c:910: error: `UC_EVENT_REQUESTMOREINFO' undeclared (first use in this
function)
mfcr2.c: In function `mf_tone_off_event':
mfcr2.c:2207: error: `UC_CALL_TYPE_SIT' undeclared (first use in this
function)
mfcr2.c: At top level:
mfcr2.c:3455: error: syntax error before "uc_requestmoreinfo_t"
mfcr2.c: In function `request_more_info':
mfcr2.c:3461: error: `uc' undeclared (first use in this function)
mfcr2.c:3463: error: `call' undeclared (first use in this function)
mfcr2.c:3467: error: `info' undeclared (first use in this function)
mfcr2.c:3469: error: `UC_REQUESTMOREINFO_DESTINATION_NUMBER' undeclared
(first use in this function)
mfcr2.c:3476: error: `UC_RET_NOT_AVAILABLE' undeclared (first use in this
function)
mfcr2.c:3543: error: `UC_REQUESTMOREINFO_ORIGINATING_NUMBER' undeclared
(first use in this function)
mfcr2.c: In function `call_control':
mfcr2.c:3894: error: `UC_OP_REQUESTMOREINFO' undeclared (first use in this
function)
mfcr2.c:3895: error: `uc_requestmoreinfo_t' undeclared (first use in this
function)
mfcr2.c:3895: error: syntax error before ')' token
make[1]: *** [mfcr2.lo] Error 1
make[1]: Leaving directory `/usr/src/libmfcr2-0.0.3'
make: *** [all] Error 2
This is what I did before:
I did:
export LD_LIBRARY_PATH=/usr/lib
export LD_RUN_PATH=/usr/lib
cd /usr/src/spandsp
make clean
./configure -prefix=/usr
make
make install
cd /usr/src/libsupertone
make clean
./configure -prefix=/usr
make
make install
cd /usr/src/libunicall
make clean
./configure -prefix=/usr
make
make install
cd /usr/src/libmfcr2
make clean
./configure -prefix=/usr
....
More information about the asterisk-users
mailing list