Hallo,
ich habe heute auf einem PC Asterisk1.2 installieren wollen. Hab Suse 9.2 installiert und dann auch schon Asterisk1.2.1 kompiliert und anschließend installiert.
Wenn ich anschließend chan_capi-0.3.5 kompilieren will bekomme ich folgende Fehlermeldung:
linux:/usr/src/asterisk-1.2.1/chan_capi-0.3.5 # make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c:17:34: asterisk/channel_pvt.h: No such file or directory
chan_capi.c: In function `capi_echo_canceller':
chan_capi.c:175: error: structure has no member named `pvt'
chan_capi.c: In function `capi_detect_dtmf':
chan_capi.c:225: error: structure has no member named `pvt'
chan_capi.c: In function `capi_send_digit':
chan_capi.c:272: error: structure has no member named `pvt'
chan_capi.c: In function `capi_alert':
chan_capi.c:356: error: structure has no member named `pvt'
chan_capi.c: In function `capi_activehangup':
chan_capi.c:521: error: structure has no member named `pvt'
chan_capi.c: In function `capi_hangup':
chan_capi.c:584: error: structure has no member named `pvt'
chan_capi.c:619: error: structure has no member named `pvt'
chan_capi.c: In function `capi_call':
chan_capi.c:656: error: structure has no member named `pvt'
chan_capi.c: In function `capi_answer':
chan_capi.c:761: error: structure has no member named `pvt'
chan_capi.c: In function `capi_read':
chan_capi.c:807: error: structure has no member named `pvt'
chan_capi.c: In function `capi_write':
chan_capi.c:848: error: structure has no member named `pvt'
chan_capi.c: In function `capi_fixup':
chan_capi.c:989: error: structure has no member named `pvt'
chan_capi.c: In function `capi_new':
chan_capi.c:1049: error: structure has no member named `pvt'
chan_capi.c:1053: error: structure has no member named `pvt'
chan_capi.c:1056: error: structure has no member named `pvt'
chan_capi.c:1057: error: structure has no member named `pvt'
chan_capi.c:1058: error: structure has no member named `pvt'
chan_capi.c:1059: error: structure has no member named `pvt'
chan_capi.c:1060: error: structure has no member named `pvt'
chan_capi.c:1061: error: structure has no member named `pvt'
chan_capi.c:1062: error: structure has no member named `pvt'
chan_capi.c:1063: error: structure has no member named `pvt'
chan_capi.c:1064: error: structure has no member named `pvt'
chan_capi.c:1070: error: structure has no member named `pvt'
chan_capi.c:1071: error: structure has no member named `pvt'
chan_capi.c:1073: error: structure has no member named `callerid'
chan_capi.c:1074: error: structure has no member named `dnid'
chan_capi.c: In function `search_did':
chan_capi.c:1248: error: structure has no member named `pvt'
chan_capi.c: In function `pipe_msg':
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c: In function `capi_handle_msg':
chan_capi.c:2021: warning: implicit declaration of function `use_ast_mutex_init_instead_of_pthread_mutex_init'
chan_capi.c: In function `load_module':
chan_capi.c:2600: warning: implicit declaration of function `ast_load'
chan_capi.c:2600: warning: assignment makes pointer from integer without a cast
chan_capi.c:2775: warning: implicit declaration of function `ast_destroy'
chan_capi.c:2793: warning: passing arg 1 of `ast_channel_register' from incompatible pointer type
chan_capi.c:2793: error: too many arguments to function `ast_channel_register'
chan_capi.c: In function `unload_module':
chan_capi.c:2813: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer type
make: *** [chan_capi.o] Error 1
hat mir jemand einen tip was da los ist?
P.S. ich hab einen Neuinstallation auf einem Rechner gemacht. Mein anderer Asterisk läuft noch..
ich habe heute auf einem PC Asterisk1.2 installieren wollen. Hab Suse 9.2 installiert und dann auch schon Asterisk1.2.1 kompiliert und anschließend installiert.
Wenn ich anschließend chan_capi-0.3.5 kompilieren will bekomme ich folgende Fehlermeldung:
linux:/usr/src/asterisk-1.2.1/chan_capi-0.3.5 # make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c:17:34: asterisk/channel_pvt.h: No such file or directory
chan_capi.c: In function `capi_echo_canceller':
chan_capi.c:175: error: structure has no member named `pvt'
chan_capi.c: In function `capi_detect_dtmf':
chan_capi.c:225: error: structure has no member named `pvt'
chan_capi.c: In function `capi_send_digit':
chan_capi.c:272: error: structure has no member named `pvt'
chan_capi.c: In function `capi_alert':
chan_capi.c:356: error: structure has no member named `pvt'
chan_capi.c: In function `capi_activehangup':
chan_capi.c:521: error: structure has no member named `pvt'
chan_capi.c: In function `capi_hangup':
chan_capi.c:584: error: structure has no member named `pvt'
chan_capi.c:619: error: structure has no member named `pvt'
chan_capi.c: In function `capi_call':
chan_capi.c:656: error: structure has no member named `pvt'
chan_capi.c: In function `capi_answer':
chan_capi.c:761: error: structure has no member named `pvt'
chan_capi.c: In function `capi_read':
chan_capi.c:807: error: structure has no member named `pvt'
chan_capi.c: In function `capi_write':
chan_capi.c:848: error: structure has no member named `pvt'
chan_capi.c: In function `capi_fixup':
chan_capi.c:989: error: structure has no member named `pvt'
chan_capi.c: In function `capi_new':
chan_capi.c:1049: error: structure has no member named `pvt'
chan_capi.c:1053: error: structure has no member named `pvt'
chan_capi.c:1056: error: structure has no member named `pvt'
chan_capi.c:1057: error: structure has no member named `pvt'
chan_capi.c:1058: error: structure has no member named `pvt'
chan_capi.c:1059: error: structure has no member named `pvt'
chan_capi.c:1060: error: structure has no member named `pvt'
chan_capi.c:1061: error: structure has no member named `pvt'
chan_capi.c:1062: error: structure has no member named `pvt'
chan_capi.c:1063: error: structure has no member named `pvt'
chan_capi.c:1064: error: structure has no member named `pvt'
chan_capi.c:1070: error: structure has no member named `pvt'
chan_capi.c:1071: error: structure has no member named `pvt'
chan_capi.c:1073: error: structure has no member named `callerid'
chan_capi.c:1074: error: structure has no member named `dnid'
chan_capi.c: In function `search_did':
chan_capi.c:1248: error: structure has no member named `pvt'
chan_capi.c: In function `pipe_msg':
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c: In function `capi_handle_msg':
chan_capi.c:2021: warning: implicit declaration of function `use_ast_mutex_init_instead_of_pthread_mutex_init'
chan_capi.c: In function `load_module':
chan_capi.c:2600: warning: implicit declaration of function `ast_load'
chan_capi.c:2600: warning: assignment makes pointer from integer without a cast
chan_capi.c:2775: warning: implicit declaration of function `ast_destroy'
chan_capi.c:2793: warning: passing arg 1 of `ast_channel_register' from incompatible pointer type
chan_capi.c:2793: error: too many arguments to function `ast_channel_register'
chan_capi.c: In function `unload_module':
chan_capi.c:2813: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer type
make: *** [chan_capi.o] Error 1
hat mir jemand einen tip was da los ist?
P.S. ich hab einen Neuinstallation auf einem Rechner gemacht. Mein anderer Asterisk läuft noch..