[Problem] OpenWRT Asterisk "chan_capi" + "chan_misdn": Fehler beim Übersetzen für die Horstbox

morpheus80

Neuer User
Mitglied seit
12 Mrz 2008
Beiträge
58
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

ich bin gerade dabei meine Horstbox Pro für OpenWRT (Trunk) fit zu machen.

Ich bin kein Asterisk-Experte und konnte die Channel Module für ISDN (weder für CAPI noch MISDN) nicht im OpenWRT Trunk repo finden. Anscheinend gibt es kein chan_capi oder chan_misdn Paket für OWRT.
Deshalb habe ich versucht die Module kurzerhand selbst zu übersetzen. Bei den MISDN userspace Utilities und Bibliotheken war das kein Problem, jedoch lassen sich die o.g. Channel Module chan_misdn und chan_capi nicht für das von OpenWRT verwendete Asterisk 1.8.10.1 übersetzen.

Anscheinend haben sich bei Asterisk 1.8 ein "paar" ;) Header-Dateien geändert. Hier die Fehlermeldung von chan_misdn:
Code:
# make CC="armeb-openwrt-linux-uclibcgnueabi-gcc" CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -I/build/horstbox/pro/openwrt-svn/trunk/own_build/chan_misdn-0.4.0-rc28/misdn -I/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/include" LD="armeb-openwrt-linux-uclibcgnueabi-ld" AS="armeb-openwrt-linux-uclibcgnueabi-as" STRIP="armeb-openwrt-linux-uclibcgnueabi-strip"

armeb-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -I/build/horstbox/pro/openwrt-svn/trunk/own_build/chan_misdn-0.4.0-rc28/misdn -I/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/include -DCHAN_MISDN_VERSION=\"0.4.0-rc28\" -c chan_misdn.c
In file included from /opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/astobj2.h:20:0,
                 from /opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/channel.h:127,
                 from chan_misdn.c:44:
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/compat.h:129:10: error: conflicting types for 'strtoq'
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/stdlib.h:213:15: note: previous declaration of 'strtoq' was here
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/compat.h:141:6: error: expected identifier or '(' before 'do'
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/compat.h:141:6: error: expected identifier or '(' before 'while'
chan_misdn.c: In function 'print_bc_info':
chan_misdn.c:947:7: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'misdn_show_cls':
chan_misdn.c:1014:85: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'complete_ch_helper':
chan_misdn.c:1247:4: warning: assignment makes pointer from integer without a cast [enabled by default]
chan_misdn.c:1253:3: error: 'struct ast_channel' has no member named 'lock'
chan_misdn.c:1254:5: warning: assignment makes pointer from integer without a cast [enabled by default]
chan_misdn.c:1258:3: error: 'struct ast_channel' has no member named 'lock'
chan_misdn.c: At top level:
chan_misdn.c:1333:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1333:3: warning: (near initialization for 'cli_send_cd.summary') [enabled by default]
chan_misdn.c:1335:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1335:3: warning: (near initialization for 'cli_send_cd.inuse') [enabled by default]
chan_misdn.c:1337:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1337:1: warning: (near initialization for 'cli_send_cd.module') [enabled by default]
chan_misdn.c:1341:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1341:3: warning: (near initialization for 'cli_send_digit.summary') [enabled by default]
chan_misdn.c:1345:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1345:3: warning: (near initialization for 'cli_send_digit.inuse') [enabled by default]
chan_misdn.c:1347:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1347:1: warning: (near initialization for 'cli_send_digit.module') [enabled by default]
chan_misdn.c:1351:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1351:3: warning: (near initialization for 'cli_toggle_echocancel.summary') [enabled by default]
chan_misdn.c:1353:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1353:3: warning: (near initialization for 'cli_toggle_echocancel.inuse') [enabled by default]
chan_misdn.c:1355:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1355:1: warning: (near initialization for 'cli_toggle_echocancel.module') [enabled by default]
chan_misdn.c:1359:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1359:3: warning: (near initialization for 'cli_send_display.summary') [enabled by default]
chan_misdn.c:1363:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1363:3: warning: (near initialization for 'cli_send_display.inuse') [enabled by default]
chan_misdn.c:1365:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1365:1: warning: (near initialization for 'cli_send_display.module') [enabled by default]
chan_misdn.c:1369:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1369:3: warning: (near initialization for 'cli_show_config.summary') [enabled by default]
chan_misdn.c:1372:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1372:3: warning: (near initialization for 'cli_show_config.inuse') [enabled by default]
chan_misdn.c:1374:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1374:1: warning: (near initialization for 'cli_show_config.module') [enabled by default]
chan_misdn.c:1378:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1378:3: warning: (near initialization for 'cli_reload.summary') [enabled by default]
chan_misdn.c:1381:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1381:1: warning: (near initialization for 'cli_reload.inuse') [enabled by default]
chan_misdn.c:1385:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1385:3: warning: (near initialization for 'cli_set_tics.summary') [enabled by default]
chan_misdn.c:1388:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1388:1: warning: (near initialization for 'cli_set_tics.inuse') [enabled by default]
chan_misdn.c:1392:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1392:3: warning: (near initialization for 'cli_show_cls.summary') [enabled by default]
chan_misdn.c:1395:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1395:1: warning: (near initialization for 'cli_show_cls.inuse') [enabled by default]
chan_misdn.c:1399:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1399:3: warning: (near initialization for 'cli_show_cl.summary') [enabled by default]
chan_misdn.c:1401:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1401:3: warning: (near initialization for 'cli_show_cl.inuse') [enabled by default]
chan_misdn.c:1403:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1403:1: warning: (near initialization for 'cli_show_cl.module') [enabled by default]
chan_misdn.c:1407:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1407:3: warning: (near initialization for 'cli_port_block.summary') [enabled by default]
chan_misdn.c:1410:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1410:1: warning: (near initialization for 'cli_port_block.inuse') [enabled by default]
chan_misdn.c:1414:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1414:3: warning: (near initialization for 'cli_port_unblock.summary') [enabled by default]
chan_misdn.c:1417:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1417:1: warning: (near initialization for 'cli_port_unblock.inuse') [enabled by default]
chan_misdn.c:1422:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1422:3: warning: (near initialization for 'cli_restart_port.summary') [enabled by default]
chan_misdn.c:1425:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1425:1: warning: (near initialization for 'cli_restart_port.inuse') [enabled by default]
chan_misdn.c:1429:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1429:3: warning: (near initialization for 'cli_port_up.summary') [enabled by default]
chan_misdn.c:1432:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1432:1: warning: (near initialization for 'cli_port_up.inuse') [enabled by default]
chan_misdn.c:1436:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1436:3: warning: (near initialization for 'cli_port_down.summary') [enabled by default]
chan_misdn.c:1439:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1439:1: warning: (near initialization for 'cli_port_down.inuse') [enabled by default]
chan_misdn.c:1445:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1445:3: warning: (near initialization for 'cli_show_stacks.summary') [enabled by default]
chan_misdn.c:1448:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1448:1: warning: (near initialization for 'cli_show_stacks.inuse') [enabled by default]
chan_misdn.c:1452:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1452:3: warning: (near initialization for 'cli_show_ports_stats.summary') [enabled by default]
chan_misdn.c:1455:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1455:1: warning: (near initialization for 'cli_show_ports_stats.inuse') [enabled by default]
chan_misdn.c:1460:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1460:3: warning: (near initialization for 'cli_show_port.summary') [enabled by default]
chan_misdn.c:1463:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1463:1: warning: (near initialization for 'cli_show_port.inuse') [enabled by default]
chan_misdn.c:1467:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1467:3: warning: (near initialization for 'cli_set_debug.summary') [enabled by default]
chan_misdn.c:1469:3: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1469:3: warning: (near initialization for 'cli_set_debug.inuse') [enabled by default]
chan_misdn.c:1471:1: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1471:1: warning: (near initialization for 'cli_set_debug.module') [enabled by default]
chan_misdn.c:1475:3: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:1475:3: warning: (near initialization for 'cli_set_crypt_debug.summary') [enabled by default]
chan_misdn.c:1478:1: warning: initialization makes integer from pointer without a cast [enabled by default]
chan_misdn.c:1478:1: warning: (near initialization for 'cli_set_crypt_debug.inuse') [enabled by default]
chan_misdn.c: In function 'update_config':
chan_misdn.c:1524:47: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1526:14: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1544:14: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'read_config':
chan_misdn.c:1705:2: warning: passing argument 1 of 'ast_copy_string' discards 'const' qualifier from pointer target type [enabled by default]
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/strings.h:212:1: note: expected 'char *' but argument is of type 'ast_string_field'
chan_misdn.c:1710:2: warning: passing argument 1 of 'ast_copy_string' discards 'const' qualifier from pointer target type [enabled by default]
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/strings.h:212:1: note: expected 'char *' but argument is of type 'ast_string_field'
chan_misdn.c:1877:7: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1890:34: error: 'DSP_FEATURE_DTMF_DETECT' undeclared (first use in this function)
chan_misdn.c:1890:34: note: each undeclared identifier is reported only once for each function it appears in
chan_misdn.c: In function 'misdn_call':
chan_misdn.c:1980:62: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1981:37: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1983:7: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:1985:23: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'misdn_hangup':
chan_misdn.c:2367:135: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'misdn_read':
chan_misdn.c:2491:22: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'long long unsigned int'
chan_misdn.c:2497:18: error: incompatible types when assigning to type 'union <anonymous>' from type 'char *'
chan_misdn.c: In function 'misdn_write':
chan_misdn.c:2553:7: error: wrong type argument to unary exclamation mark
chan_misdn.c:2558:25: error: invalid operands to binary & (have 'union ast_frame_subclass' and 'int')
chan_misdn.c:2593:180: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:2608:3: error: incompatible type for argument 2 of 'misdn_jb_fill'
chan_misdn.c:94:5: note: expected 'const char *' but argument is of type 'union <anonymous>'
chan_misdn.c:2615:3: error: incompatible type for argument 2 of 'misdn_lib_tx2misdn_frm'
/build/horstbox/pro/openwrt-svn/trunk/own_build/chan_misdn-0.4.0-rc28/misdn/isdn_lib.h:405:5: note: expected 'void *' but argument is of type 'union <anonymous>'
chan_misdn.c: In function 'dialtone_indicate':
chan_misdn.c:2759:4: warning: assignment from incompatible pointer type [enabled by default]
chan_misdn.c:2765:32: error: dereferencing pointer to incomplete type
chan_misdn.c: At top level:
chan_misdn.c:3017:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3017:2: warning: (near initialization for 'misdn_tech.requester') [enabled by default]
chan_misdn.c:3018:2: error: unknown field 'send_digit' specified in initializer
chan_misdn.c:3018:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3018:2: warning: (near initialization for 'misdn_tech.devicestate') [enabled by default]
chan_misdn.c:3025:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3025:2: warning: (near initialization for 'misdn_tech.indicate') [enabled by default]
chan_misdn.c:3035:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3035:2: warning: (near initialization for 'misdn_tech_wo_bridge.requester') [enabled by default]
chan_misdn.c:3036:2: error: unknown field 'send_digit' specified in initializer
chan_misdn.c:3036:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3036:2: warning: (near initialization for 'misdn_tech_wo_bridge.devicestate') [enabled by default]
chan_misdn.c:3042:2: warning: initialization from incompatible pointer type [enabled by default]
chan_misdn.c:3042:2: warning: (near initialization for 'misdn_tech_wo_bridge.indicate') [enabled by default]
chan_misdn.c: In function 'update_name':
chan_misdn.c:3062:6: warning: passing argument 1 of 'snprintf' discards 'const' qualifier from pointer target type [enabled by default]
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/stdio.h:358:12: note: expected 'char * __restrict__' but argument is of type 'ast_string_field'
chan_misdn.c: In function 'misdn_new':
chan_misdn.c:3072:27: error: macro "ast_channel_alloc" requires 10 arguments, but only 1 given
chan_misdn.c:3072:8: error: 'ast_channel_alloc' undeclared (first use in this function)
chan_misdn.c:3079:6: error: 'struct ast_channel' has no member named 'type'
chan_misdn.c:3112:8: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:3113:8: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:3116:8: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'process_ast_dsp':
chan_misdn.c:3159:37: error: invalid operands to binary == (have 'union ast_frame_subclass' and 'int')
chan_misdn.c:3179:55: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:3199:35: error: invalid operands to binary != (have 'union ast_frame_subclass' and 'int')
chan_misdn.c: In function 'release_chan':
chan_misdn.c:3397:135: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c: In function 'do_immediate_setup':
chan_misdn.c:3461:116: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:3479:15: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'char'
chan_misdn.c:3481:11: error: incompatible types when assigning to type 'union <anonymous>' from type 'void *'
chan_misdn.c: In function 'import_ch':
chan_misdn.c:3554:5: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
chan_misdn.c: In function 'cb_events':
chan_misdn.c:3763:15: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'int'
chan_misdn.c:3765:11: error: incompatible types when assigning to type 'union <anonymous>' from type 'void *'
chan_misdn.c:3841:7: warning: passing argument 2 of 'misdn_tasks_add_variable' from incompatible pointer type [enabled by default]
chan_misdn.c:529:12: note: expected 'ast_sched_cb' but argument is of type 'int (*)(void *)'
chan_misdn.c:3865:16: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'unsigned char'
chan_misdn.c:3867:12: error: incompatible types when assigning to type 'union <anonymous>' from type 'void *'
chan_misdn.c:3970:7: error: 'struct ast_channel' has no member named 'cid'
chan_misdn.c:4129:8: warning: passing argument 2 of 'misdn_tasks_add_variable' from incompatible pointer type [enabled by default]
chan_misdn.c:529:12: note: expected 'ast_sched_cb' but argument is of type 'int (*)(void *)'
chan_misdn.c:4370:19: error: incompatible types when assigning to type 'union ast_frame_subclass' from type 'long long unsigned int'
chan_misdn.c:4376:15: error: incompatible types when assigning to type 'union <anonymous>' from type 'unsigned char *'
chan_misdn.c:4491:4: error: too few arguments to function 'ast_moh_start'
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/musiconhold.h:42:5: note: declared here
chan_misdn.c: In function 'load_module':
chan_misdn.c:4656:2: warning: passing argument 2 of 'ast_register_application2' from incompatible pointer type [enabled by default]
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/module.h:458:5: note: expected 'int (*)(struct ast_channel *, const char *)' but argument is of type 'int (*)(struct ast_channel *, void *)'
chan_misdn.c:4673:2: warning: passing argument 2 of 'ast_register_application2' from incompatible pointer type [enabled by default]
/opt/toolchain/horstbox/openwrt/4.6.3-eabi-linaro-x86_64host/bin/../lib/gcc/armeb-openwrt-linux-uclibcgnueabi/4.6.3/../../../../armeb-openwrt-linux-uclibcgnueabi/sys-include/asterisk/module.h:458:5: note: expected 'int (*)(struct ast_channel *, const char *)' but argument is of type 'int (*)(struct ast_channel *, void *)'
chan_misdn.c:4699:4: warning: passing argument 2 of 'misdn_tasks_add' from incompatible pointer type [enabled by default]
chan_misdn.c:524:12: note: expected 'ast_sched_cb' but argument is of type 'int (*)(void *)'
chan_misdn.c: In function 'misdn_set_opt_exec':
chan_misdn.c:5012:46: error: 'DSP_FEATURE_DTMF_DETECT' undeclared (first use in this function)
make: *** [chan_misdn.o] Fehler 1

Das selbe Spiel bei chan_capi:
Code:
# make CC="armeb-openwrt-linux-uclibcgnueabi-gcc" CFLAGS="-Os -pipe -march=armv5te -mtune=xscale" LD="armeb-openwrt-linux-uclibcgnueabi-ld" AS="armeb-openwrt-linux-uclibcgnueabi-as" STRIP="armeb-openwrt-linux-uclibcgnueabi-strip"

 [CC] chan_capi.c -> chan_capi.o
chan_capi.c:172:1: error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function)
make: *** [chan_capi.o] Fehler 1

Ich denke bei chan_capi wurde vergessen, eine Header-Datei zu inkludieren. Ich weiß allerdings nicht welche das sein könnte :confused:

Vielleicht weiß jemand wie ich Asterisk 1.8 unter OpenWRT (Trunk revision 33350) auf einer Horstbox Pro (D-Link DVA-G3342SB) zum laufen kriege bzw. wie ich die o.g. Channel-Module für Asterisk 1.8.10.1 übersetzen kann ??

Vielen Dank schon mal im Voraus.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.