Re: [Asterisk-Users] chan_capi on slackware10? cannot compile :-( why?

2005-08-24 Thread Armin Schindler
On Wed, 24 Aug 2005, Goran Dj. wrote:
 I'm trying to compile chan_capi-0.5.4 on Slackware 10, but I have bunch
 of errors.

 I'm not a linux expert, still :-)
 Before compiling, when I type modprobe capi to load capi module, and
 then lsmod, i get list of modules:
 
 capi6208   0
 kernelcapi 30496   1  [capi]
 capiutil   22272   0  [kernelcapi]
 uhci   2   0  (unused)
 usbcore59308   1  [uhci]
 hisax 448240   0  (unused)
 isdn  116684   0  [hisax]
 slhc4976   0  [isdn]
 wcfxo   8384   2
 zaptel176992   8  [wcfxo]
 ide-scsi9328   0
 ne  6672   1
 83906000   0  [ne]
 crc32   2880   0  [8390]
 isa-pnp30736   0  [hisax ne]
 
 So, where is a problem? Should I compile kernel with capi as a part of a
 kernel, not as a module? How to do that?

It's okay to use it as modules. But the cards supported by HiSax do not 
provide CAPI interface. I don't know the status of mISDN, but that would
be the driver supporting CAPI.
 
 Errors when I try to compile chan_capi:
 
 [EMAIL PROTECTED]:#make
 ./create_config.sh /usr/include
 Checking Asterisk version...
  * no 'struct ast_channel_tech', using old pvt
  * ast_dsp_process() without 'needlock'
  * no 'struct ast_callerid'
  * found 'struct timeval delivery'
  * no 'transfercapability'
  * no 'ast_config_load'
 config.h complete.
 gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/usr/i
 nclude -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586  -DASTERISKVERSION=\\
  -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o
 chan_capi.o chan_capi.c
 chan_capi.c:49:20: capi20.h: No such file or directory

You don't have libcapi20 (or the development package of it) installed.

Armin

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] chan_capi on slackware10? cannot compile :-( why?

2005-08-24 Thread Bob Goddard
On Wednesday 24 Aug 2005 17:22, Goran Dj. wrote:
 I'm trying to compile chan_capi-0.5.4 on Slackware 10, but I have bunch
 of errors.
 (By the way, can I use chan_capi for ISDN card with winbond w6692cf
 chipset?)

 I'm not a linux expert, still :-)
 Before compiling, when I type modprobe capi to load capi module, and
 then lsmod, i get list of modules:
[...]
 chan_capi.o chan_capi.c
 chan_capi.c:49:20: capi20.h: No such file or directory

The above is a hint.

You should have capi4linux installed.


B
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] chan_capi on slackware10? cannot compile :-( why?

2005-08-24 Thread Goran Dj.
  capi6208   0
  kernelcapi 30496   1  [capi]
  capiutil   22272   0  [kernelcapi]
  uhci   2   0  (unused)
  usbcore59308   1  [uhci]
  hisax 448240   0  (unused)
  isdn  116684   0  [hisax]
  slhc4976   0  [isdn]
  wcfxo   8384   2
  zaptel176992   8  [wcfxo]
  ide-scsi9328   0
  ne  6672   1
  83906000   0  [ne]
  crc32   2880   0  [8390]
  isa-pnp30736   0  [hisax ne]
 
  So, where is a problem? Should I compile kernel with capi as a part
of a
  kernel, not as a module? How to do that?

 It's okay to use it as modules. But the cards supported by HiSax do
not
 provide CAPI interface. I don't know the status of mISDN, but that
would
 be the driver supporting CAPI.


Hmmm? I don't know what hisax doing here (and even what is that). My
ISDN card (winbond w6692cf chip) isn't in computer, I will put it there
when I successfully complile chan_capi. What modules do I need? Only
capi(kernelcapicaputil) and chan_capi?





 You don't have libcapi20 (or the development package of it) installed.


Yes, but I dont have it on my Slackware10 CD'es. I don't have libcapi,
or isdn4... or anything with isdn or capi in their name. Where to find
libcapi20 (od devel...) for slackware?

Goran


___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] chan_capi on slackware10? cannot compile :-( why?

2005-08-24 Thread Sergio Chersovani



Yes, but I dont have it on my Slackware10 CD'es. I don't have libcapi,
or isdn4... or anything with isdn or capi in their name. Where to find
libcapi20 (od devel...) for slackware?
 

wget 
ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/isdn4k-utils-CVS-2005-08-21.tar.bz2


tar xvjf  isdn4k-utils-CVS-2005-08-21.tar.bz2
cd isdn4k*
cd capi20
./configure
make
make install

that's all

Sergio
___
Asterisk-Users mailing list
Asterisk-Users@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