HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] capi4hylafax, external TA, ...



I have a spare TA (it's an external ZyXEL OMNI NET D) and it says it support
CAPI-1.1a, so I want to see whether it works with capi4hylafax.

However, all docs I see for capi4hylafax talks about internal cards; isdn4linux
docs say isdn4linux is not needed for external TAs.

Is there anyone with experience on isdn stuff who can clarify? Are external isdn
TAs hopeless as regards to fax/HylaFAX?

Just out of curiosity I tried compiling capi4hylafax (on linux-2.2.x,
glibc-2.1.2, egcs-1.1.2) . It needs a capi20.h header, since its not included in
capi4hylafax-01.01.02.tar.gz, I tried to give it the one in
capi-adk-01.09.00.tar.gz, but it does not work:

c++ -DPACKAGE=\"capi4hylafax\" -DVERSION=\"01.01.02\" -DSTDC_HEADERS=1 -DHAVE_ST
RING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1  -I. -I.  -I./..
/standard -I./../timers -I/var/tmp/capi-adk/c20lib/source    -Wall -W -O2 -DNDEB
UG -c CapiBase.cpp
In file included from CapiBase.cpp:18:
/var/tmp/capi-adk/c20lib/source/capi20.h:25: syntax error before `*'
/var/tmp/capi-adk/c20lib/source/capi20.h:32: syntax error before `;'
/var/tmp/capi-adk/c20lib/source/capi20.h:117: syntax error before `;'
/var/tmp/capi-adk/c20lib/source/capi20.h:119: syntax error before `;'
/var/tmp/capi-adk/c20lib/source/capi20.h:121: syntax error before `;'


I tried with capi20.h from isdn4k-utils, but it does not work (i can make error
on 145 go away, but I don't know what to do with 86)

c++ -DPACKAGE=\"capi4hylafax\" -DVERSION=\"01.01.02\" -DSTDC_HEADERS=1 -DHAVE_ST
RING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1  -I. -I.  -I./..
/standard -I./../timers -I/var/tmp/capi-adk/c20lib/source    -Wall -W -O2 -DNDEB
UG -c CapiBase.cpp
CapiBase.cpp: In method `void CCAPI20_Base::Register(tUInt, tUInt, tUInt, tUInt)
':
CapiBase.cpp:86: passing `unsigned int *' as argument 4 of `capi20_register(unsi
gned int, unsigned int, unsigned int, CAPI_REGISTER_ERROR *)'
CapiBase.cpp: In method `void CCAPI20_Base::PutMessage(c_byte *)':
CapiBase.cpp:145: warning: passing `c_word' to argument 1 of `capi20_put_message
(unsigned char *, unsigned int)' lacks a cast
CapiBase.cpp:145: warning: passing `c_byte *' to argument 2 of `capi20_put_messa
ge(unsigned char *, unsigned int)' lacks a cast
make[2]: *** [CapiBase.o] Error 1
make[2]: Leaving directory `/var/tmp/capi4hylafax-01.01.02/src/capi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/capi4hylafax-01.01.02/src'
make: *** [all-recursive] Error 1

-- 
giulioo@pobox.com


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions