[Asterisk-Users] re: Problem: Compiling error for SpanDSP

Steve Hanselman SteveH at brendata.co.uk
Tue Apr 5 07:06:30 MST 2005


Which version of spandsp are you using, current versions check on
ASTERISK_VERSION_NUM and handle the callerid accordingly.

Some time ago the makefile changed, but yours seems fine for that as you are
carrying CCFLAGS through, ensure that you're running a recent copy (and that
you've also copied not just the spandsp but the apps as well).

Steve


-----Original Message-----
From: Justin Newman [mailto:jnewman at newmantelecom.com] 
Sent: 30 March 2005 04:15
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] re: Problem: Compiling error for SpanDSP

> Date: Tue, 29 Mar 2005 21:43:06 -0500
> From: "KMZ Enterprises" <kmz-enterprises-voip at 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,
> Kerry

For 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.

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

The information contained in this email is intended for the personal and confidential use
of the addressee only. It may also be privileged information. If you are not the intended
recipient then you are hereby notified that you have received this document in error and
that any review, distribution or copying of this document is strictly prohibited. If you have 
received  this communication in error, please notify Brendata immediately on: 

+44 (0)1268 466100, or email 'technical at brendata.co.uk' 

Brendata (UK) Ltd
Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX  UK
Registered Office as above. Registered in England No. 2764339

See our current vacancies at www.brendata.co.uk



More information about the asterisk-users mailing list