On Nov 20, 2008, at 10:40 PM, Adrian Walag wrote:

> I also encountered this and tried to do the same test as what the  
> configure script does. Somehow, it just fails - so i edited the  
> configure script to short circuit that part. (i set  
> ZAPTEL_V12_OR_HIGHER=1 forcibly)  i used the older port structure  
> and added this patch for convenience.
>
> --- configure.orig      2008-05-27 06:50:28.000000000 +0800
> +++ configure   2008-10-28 16:28:19.000000000 +0800
> @@ -36259,6 +36259,7 @@
>
>  ZAPTEL_V12_OR_HIGHER=1
>  fi
> +ZAPTEL_V12_OR_HIGHER=1
>
>
>       if test "${ZAPTEL_V12_OR_HIGHER}" = "1"; then
> @@ -39876,7 +39877,7 @@
>
>  fi
>  if test $ac_cv_header_speex_speex_h = yes; then
> -  HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/include/speex
> +  HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/local/include/speex
>
>  else
>    { { echo "$as_me:$LINENO: error: Cannot find header files for  
> Speex." >&5
>
> hope that helps
>

Thanks.   I had done something similar but yours is cleaner.  It got  
rid of the zaptel error.  Now I get this when actually do a make of  
the project

I have the latest spandsp (not from ports).  Is there a specific  
version that works best?

  gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include - 
fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Wmissing-declarations -DTEMP_STORE=2 -DTHREADSAFE=1 - 
DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3- 
embedded -DOS_UNIX -I.. -I../include -g -O2 -I/usr/local/include -I/ 
usr/include/openssl -DHAVE_SSL -g -O2 -I/usr/local/include -MT  
libcallweaver_la-callerid.lo -MD -MP -MF .deps/libcallweaver_la- 
callerid.Tpo -c callerid.c  -fPIC -DPIC -o .libs/libcallweaver_la- 
callerid.o
In file included from /usr/local/include/spandsp.h:108,
                  from callerid.c:48:
/usr/local/include/spandsp/adsi.h:364:1: warning:  
"CLIP_DTMF_C_CALLER_NUMBER" redefined
callerid.c:9:1: warning: this is the location of the previous definition
In file included from /usr/local/include/spandsp.h:108,
                  from callerid.c:48:
/usr/local/include/spandsp/adsi.h:423: warning: useless type name in  
empty declaration
callerid.c:65: error: field 'rx' has incomplete type
callerid.c: In function 'mate_generate':
callerid.c:154: error: storage size of 'adsi' isn't known
callerid.c:154: warning: unused variable 'adsi'
callerid.c: In function 'vmwi_generate':
callerid.c:173: error: storage size of 'adsi' isn't known
callerid.c:173: warning: unused variable 'adsi'
callerid.c: In function 'callerid_get':
callerid.c:207: error: dereferencing pointer to incomplete type
callerid.c:282: error: dereferencing pointer to incomplete type
callerid.c:286: error: dereferencing pointer to incomplete type
callerid.c: In function 'cw_callerid_generate':
callerid.c:392: error: storage size of 'adsi' isn't known
callerid.c:392: warning: unused variable 'adsi'
callerid.c: In function 'tdd_generate':
callerid.c:500: error: storage size of 'adsi' isn't known
callerid.c:500: warning: unused variable 'adsi'
gmake[3]: *** [libcallweaver_la-callerid.lo] Error 1
gmake[3]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake: *** [all-recursive] Error 1



_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to