Justin Newman
2005-Mar-29 20:15 UTC
[Asterisk-Users] re: Problem: Compiling error for SpanDSP
> Date: Tue, 29 Mar 2005 21:43:06 -0500 > From: "KMZ Enterprises" <kmz-enterprises-voip@rogers.com> > Subject: [Asterisk-Users] Problem: Compiling error for SpanDSP > app_rxfax > > After resolving my earlier problem in updating the apps Makefile with the > patch for SpanDSP, I encountered another problem when I executed the > "Make" > utility from /usr/src/asterisk. I obtained an error as shown below. Not > sure on how to resolve the problem. > > > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../incl > ude -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-HEAD- > 03/29/05-21:11:20\" -DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\" > -DASTETCDIR=\"/etc/asterisk\" -D > ASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" > -DASTVARRUNDIR=\"/var/run/asterisk\ > " -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" > -DASTCONFPATH=\"/etc/asterisk/ > asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" > -DBUSYDETECT_MARTIN -fomit-frame-pointer -fPIC -c -o app_rxfax.o > app_rxfax.c > app_rxfax.c: In function `phase_e_handler': > app_rxfax.c:86: structure has no member named `callerid' > make[1]: *** [app_rxfax.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/apps' > make: *** [subdirs] Error 1 > > Regards, > KerryFor a while, the structure switched over. If you are getting an error with "callerid" in your build, try searching the code (app_rxfax.c) and replace the occurances with "cid.cid_num". Justin Newman Newman Telecom, Inc.