hello, Richard:<br>thank you for your help. i think i miss some thing. could you tell me how to compile kernel with isdn. i check the conf file under /usr/src/sys/i386/conf, there is no option for isdn. i read this link from:http://lists.freebsd.org/pipermail/freebsd-isdn/2007-January/000646.html<br><pre>Hi Hans Petter<br><br>That worked great, after getting the newest version by svn and doing a <br>make help I've seen that you point that out there as well.<br>Thanks!<br><br>For others who perhaps have the same issue, here is the short form of <br>what I did:<br><br>0. svn ... <a href="svn://svn.turbocat.net/i4b">svn://svn.turbocat.net/i4b</a> # Get the newest version of i4b <br>by HPS (into a new directory)<br>1. portupgrade -R asterisk # Update asterisk for a newer version if <br>needed<br>2. make deinstall # Uninstall (old version of) i4b by HPS with:<br>3. /usr/src> make update # Update FreeBSD, in my case to 6.1-RELEASE-p11<br>4. make buildworld / .... #
FreeBSD update process as usual, but without <br>a reboot yet!<br>5. i4b/trunk/i4b/FreeBSD.i4b> make S=../src package<br>6. i4b/trunk/i4b/FreeBSD.i4b> make install<br>7. i4b/trunk/chan_capi> gmake all install<br><span style="font-weight: bold;">8. /usr/src> make buildkernel KERNCONF=.... # build the kernel with </span><br style="font-weight: bold;"><span style="font-weight: bold;">i4b configured</span><br style="font-weight: bold;"><span style="font-weight: bold;">9. /usr/src> make installkernel KERNCONF=... # install kernel</span><br>10. reboot<br>11. /usr/src> make installworld <br><br>This is the long run with rebuilding world. If no FreeBSD update is <br>done, but only i4b, the following should do: 0, 2, 5, 6, 7, 8, 9, 10<br><br>For anyone not familiar with buildworld please consult the FreeBSD <br>manual for a more detailed version of it. And for the compile options to <br>reduce time for re-building the kernel after just a i4b update, see the
<br>i will <br>help files by HPS.</pre>this is done by Hans, but i am confusing <br><pre><span style="font-weight: bold;">make buildkernel KERNCONF=.... </span></pre> KERCONF=..., please tell me what's and how to add ....? <br>Could you give me details for that point?<br>thanks!<br>zhu<br><b><i>Richard Neese <r.neese@gmail.com></i></b> дµÀ£º<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> did you kldload the kerel module that was created? untill the driver is loaded <br>and it sees the device it wont build /dev/capi20.<br><br>you should compile a kernel with the isdn into it. and then reboot wiith the <br>new kernel<br><br>On January 8, 2008 06:47:37 pm lizhong zhu wrote:<br>> hello, all of friends:<br>> thanks, Richard Neese. I have installed asterisk by portsnap fetch and i<br>> also install the isdn4bsd from svn version from<br>> http://www.turbocat.net/~hselasky/isdn4bsd/index.html.
after install<br>> everything, i run :isdnconf, it shows: isdnconfig: cannot open<br>> "/dev/capi20"!: No such file or directory. i also try to install<br>> chan_capi_1_6_1 under /usr/src/isdn4bsd/chan_capi_1_6_1, i got this<br>> error:new-host-3# gmake all install gcc -pipe -fPIC -Wall<br>> -Wmissing-prototypes -Wmissing-declarations -g -I/usr/local/include<br>> -I/usr/include/i4b/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 <br>> -Wformat -DASTERISKVERSION=\"\" -Wno-missing-prototypes<br>> -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c<br>> chan_capi.c:89: warning: type defaults to `int' in declaration of<br>> `STANDARD_LOCAL_USER' chan_capi.c:89: warning: data definition has no type<br>> or storage class chan_capi.c:90: warning: type defaults to `int' in<br>> declaration of `LOCAL_USER_DECL' chan_capi.c:90: warning: data definition<br>> has no type or storage class chan_capi.c:1373:2: warning: #warning
"What<br>> about cd->next after free? Currently 'cd' is not freed by cd_free()."<br>> chan_capi.c: In function `cd_alloc':<br>> chan_capi.c:2346: error: too few arguments to function `ast_channel_alloc'<br>> chan_capi.c:2355: error: structure has no member named `type'<br>> chan_capi.c: In function `cd_set_cep':<br>> chan_capi.c:2497: warning: passing arg 1 of `strlcpy' discards qualifiers<br>> from pointer target type chan_capi.c:2500: warning: passing arg 1 of<br>> `strlcpy' discards qualifiers from pointer target type chan_capi.c: In<br>> function `chan_capi_request':<br>> chan_capi.c:3728: warning: passing arg 1 of `snprintf' discards qualifiers<br>> from pointer target type chan_capi.c: In function `__chan_capi_call':<br>> chan_capi.c:3826: warning: assignment discards qualifiers from pointer<br>> target type chan_capi.c:3853: warning: assignment discards qualifiers from<br>> pointer target type chan_capi.c:3887: warning:
assignment discards<br>> qualifiers from pointer target type chan_capi.c:3898: warning: assignment<br>> discards qualifiers from pointer target type chan_capi.c:3910: warning:<br>> assignment discards qualifiers from pointer target type chan_capi.c:3925:<br>> warning: assignment discards qualifiers from pointer target type<br>> chan_capi.c:4784:2: warning: #warning "Should send a messages, but which?"<br>> chan_capi.c:4937:2: warning: #warning "Cannot do this, because one cannot<br>> lock 'pbx_chan' here!" chan_capi.c:5462:2: warning: #warning "Maybe cannot<br>> write these variables here! Locking issue!" chan_capi.c:5473:2: warning:<br>> #warning "Does not handle length == 0xFF" chan_capi.c: In function<br>> `cd_copy_telno_ext':<br>> chan_capi.c:5668: warning: passing arg 1 of `snprintf' discards qualifiers<br>> from pointer target type chan_capi.c: In function `chan_capi_command_exec':<br>> chan_capi.c:6739: warning: implicit
declaration of function<br>> `LOCAL_USER_ADD' chan_capi.c:6770: error: structure has no member named<br>> `type'<br>> chan_capi.c:6821: warning: implicit declaration of function<br>> `LOCAL_USER_REMOVE' chan_capi.c:6892:2: warning: #warning "TODO: check for<br>> calls that never received connect_conf;" chan_capi.c: At top level:<br>> chan_capi.c:7213: error: unknown field `send_digit' specified in<br>> initializer chan_capi.c:7213: warning: initialization from incompatible<br>> pointer type chan_capi.c:7222: warning: initialization from incompatible<br>> pointer type chan_capi.c:7837: warning: initialization from incompatible<br>> pointer type chan_capi.c: In function `load_module':<br>> chan_capi.c:8001: warning: implicit declaration of function `unload_module'<br>> gmake: *** [chan_capi.o] Error 1<br>> i do not why so many errors for that. Does anyone know how to install<br>> asterisk, isdn4bsd and configure the isdn4bsd? there
is no sufficient<br>> resource to learn compare to linux version+asterisk. thanks! zhu<br>><br>><br>><br>> ---------------------------------<br>> ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡<br><br><br><br>-- <br>Welcome to the World. An the World gets smaller.<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by http://www.api-digital.com--<br><br>Asterisk-BSD mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-bsd</blockquote><br><p> 
<hr size=1><a href="http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline">ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡</a>