I have been looking at the development build instructions for the required libraries (iaxclient in particular). After going through the build instructions for iaxclient binary system libraries and building from svn, I now want to build the tcl loadable libraries but can't seem to find the source code to build them. I have been able to locate a debian and fedora source package but I run into some definition errors. Notably, this one:
iaxclient-tcl-2.0.2> make
gcc -pipe -DPACKAGE_NAME=\"iaxclient\" -DPACKAGE_TARNAME=\"iaxclient\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"iaxclient\ 0.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -I../../lib -I"/usr/include" -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo iaxclient.c` -o iaxclient.o
iaxclient.c: In function 'Iaxclient_Init':
iaxclient.c:324: error: 'AUDIO_INTERNAL_PA' undeclared (first use in this function)
iaxclient.c:324: error: (Each undeclared identifier is reported only once
iaxclient.c:324: error: for each function it appears in.)
iaxclient.c:324: error: too many arguments to function 'iaxc_initialize'
make: *** [iaxclient.o] Error 1
Just wondering what is up??
Thanks for such a great project!
Take Care,
Fred
Did you read the file
Did you read the file build-iaxclient.txt? It seems to be related to portaudio. Maybe you need to install some portaudio-dev packages? It has been a long time since I last compiled iaxclient, so I don't know for sure.
A patch for the 'AUDIO_INTERNAL_PA' problem
Hi Fred,
I ported iaxclient to OpenBSD, and basically had the same problem there too, but I thought it just might be only OpenBSD specific.
Take a look at the patch here:
http://www.openbsd.org/cgi-bin/cvsweb/ports/telephony/iaxclient/patches/...
Apply the patch, and try recompiling.
Let us know if it works for you, we should then probably update the documentation.
cheers,
Sebastian