[Asterisk-Users] problems with compiling asterisk-oh323-0.6.5
after editing the Makefile i tried to compile the asterisk-oh323-0.6.5 an error massage displayed: chan_oh323.c:37:34: asterisk/channel_pvt.h No such file or directory Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ 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] problems with compiling asterisk-oh323
wassim darwish wrote: i ve downloaded asterisk-oh323-0.6.6.tar.gz I am getting this and anybody know howto fix this? #tar zxvf asterisk-oh323-0.6.6.tar.gz oh323]# cd asterisk-oh323-0.6.6 asterisk-oh323-0.6.6]# ls asterisk-driver CONFIGURATION Makefile rpm TESTS BUGS COPYINGREADMErules.mak wrapper asterisk-oh323-0.6.6]# make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make[1]: Entering directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' ./check_ver /root/src/oh323/pwlib pwlib openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory ./check_ver /root/src/oh323/openh323 openh323 openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. g++ -Wall -x c++ -Os -DUSE_OLD_CAPABILITIES_API=1 -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\..\ -DOPENH323VERSION=\..\ -I/root/src/oh323/pwlib/include -I/root/src/oh323/openh323/include -I/root/src/oh323/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:35:19: ptlib.h: No such file or directory In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:61: error: expected class-name before '{' token wrapper_misc.hxx:63: error: `PMutex' has not been declared wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `PCLASSINFO' with no type wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `parameter' with no type wrapper_misc.hxx:68: error: `BOOL' does not name a type wrapper_misc.hxx:73: error: `PString' does not name a type wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)': wrapper_misc.cxx:48: error: class `WrapMutex' does not have any field named `PMutex' wrapper_misc.cxx:50: error: `name' undeclared (first use this function) wrapper_misc.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.) wrapper_misc.cxx:50: error: `PString' undeclared (first use this function) wrapper_misc.cxx:51: error: `cout' undeclared (first use this function) wrapper_misc.cxx:51: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:51: error: `endl' undeclared (first use this function) wrapper_misc.cxx: At global scope: wrapper_misc.cxx:54: error: `BOOL' does not name a type wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int, const char*)': wrapper_misc.cxx:78: error: `PMutex' has not been declared wrapper_misc.cxx:78: error: no matching function for call to `WrapMutex::Signal()' wrapper_misc.cxx:77: note: candidates are: void WrapMutex::Signal(const char*, int, const char*) wrapper_misc.cxx:79: error: `cout' undeclared (first use this function) wrapper_misc.cxx:79: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:79: error: `name' undeclared (first use this function) wrapper_misc.cxx:79: error: `endl' undeclared (first use this function) make[1]: *** [wrapper_misc.o] Error 1 make[1]: Leaving directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' make: *** [subdirs_build] Error 1 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 Hello wassim, First of all you
[Asterisk-Users] problems with compiling asterisk-oh323-0.6.5
after editing the Makefile according to my directories ive compiled asterisk-oh323-0.6.5 but i got these errors can any body help me with this : [EMAIL PROTECTED]@net asterisk-oh323-0.6.5]# make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make[1]: Entering directory `/home/wassim/asterisk-oh323-0.6.5/wrapper' ./check_ver /home/wassim/pwlib pwlib ./check_ver /home/wassim/openh323 openh323 ar rc liboh323wrap_s.a wrapper_misc.o asteriskaudio.o wrapconnection.o wrapendpoint.o wrapper.o wrapcaps.o wrapgkserver.o make[1]: Leaving directory `/home/wassim/asterisk-oh323-0.6.5/wrapper' make[1]: Entering directory `/home/wassim/asterisk-oh323-0.6.5/asterisk-driver' gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -I/usr/src/asterisk/include -I../wrapper -g -c -o chan_oh323.o chan_oh323.c chan_oh323.c:37:34: asterisk/channel_pvt.h: No such file or directory chan_oh323.c: In function `oh323_exception': chan_oh323.c:1145: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_indicate': chan_oh323.c:1326: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_digit': chan_oh323.c:1388: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_text': chan_oh323.c:1410: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_call': chan_oh323.c:1434: error: dereferencing pointer to incomplete type chan_oh323.c:1453: error: structure has no member named `callerid' chan_oh323.c:1455: error: structure has no member named `callerid' chan_oh323.c:1457: error: structure has no member named `callerid' chan_oh323.c: In function `oh323_hangup': chan_oh323.c:1613: error: dereferencing pointer to incomplete type chan_oh323.c:1721: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_read': chan_oh323.c:1749: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_write': chan_oh323.c:2050: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_answer': chan_oh323.c:2242: error: dereferencing pointer to incomplete type chan_oh323.c: In function `oh323_fixup': chan_oh323.c:2286: error: dereferencing pointer to incomplete type chan_oh323.c: In function `ast_oh323_new': chan_oh323.c:2518: error: dereferencing pointer to incomplete type chan_oh323.c:2527: error: dereferencing pointer to incomplete type chan_oh323.c:2529: error: dereferencing pointer to incomplete type chan_oh323.c:2536: error: dereferencing pointer to incomplete type chan_oh323.c:2537: error: dereferencing pointer to incomplete type chan_oh323.c:2538: error: dereferencing pointer to incomplete type chan_oh323.c:2539: error: dereferencing pointer to incomplete type chan_oh323.c:2540: error: dereferencing pointer to incomplete type chan_oh323.c:2541: error: dereferencing pointer to incomplete type chan_oh323.c:2542: error: dereferencing pointer to incomplete type chan_oh323.c:2543: error: dereferencing pointer to incomplete type chan_oh323.c:2544: error: dereferencing pointer to incomplete type chan_oh323.c:2545: error: dereferencing pointer to incomplete type chan_oh323.c:2546: error: dereferencing pointer to incomplete type chan_oh323.c:2547: error: dereferencing pointer to incomplete type chan_oh323.c:2548: error: dereferencing pointer to incomplete type chan_oh323.c:2549: error: dereferencing pointer to incomplete type chan_oh323.c:2550: error: dereferencing pointer to incomplete type chan_oh323.c:2551: error: dereferencing pointer to incomplete type chan_oh323.c:2552: error: dereferencing pointer to incomplete type chan_oh323.c:2579: error: structure has no member named `dnid' chan_oh323.c:2589: error: structure has no member named `callerid' chan_oh323.c:2590: error: structure has no member named `callerid' chan_oh323.c:2591: error: structure has no member named `callerid' chan_oh323.c:2596: error: structure has no member named `callerid' chan_oh323.c:2597: error: structure has no member named `callerid' chan_oh323.c:2598: error: structure has no member named `callerid' chan_oh323.c:2600: error: structure has no member named `callerid' chan_oh323.c:2605: error: structure has no member named `callerid' chan_oh323.c:2606: error: structure has no member named `callerid' chan_oh323.c:2608: error: structure has no member named `callerid' chan_oh323.c:2610: error: structure has no member named `callerid' chan_oh323.c:2614: error: structure has no member named `callerid' chan_oh323.c:2617: error: structure has no member named `ani' chan_oh323.c:2617: error: structure has no member named `callerid' chan_oh323.c:2623: error: structure has no member named `callerid' chan_oh323.c:2624: error: structure has no member named `callerid' chan_oh323.c: In function `oh323_request': chan_oh323.c:2741: error: dereferencing pointer to incomplete type chan_oh323.c:2743: error: dereferencing pointer to incomplete type
[Asterisk-Users] problems with compiling asterisk-oh323
i ve downloaded asterisk-oh323-0.6.6.tar.gz I am getting this and anybody know howto fix this? #tar zxvf asterisk-oh323-0.6.6.tar.gz oh323]# cd asterisk-oh323-0.6.6 asterisk-oh323-0.6.6]# ls asterisk-driver CONFIGURATION Makefile rpm TESTS BUGS COPYINGREADMErules.mak wrapper asterisk-oh323-0.6.6]# make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make[1]: Entering directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' ./check_ver /root/src/oh323/pwlib pwlib openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory ./check_ver /root/src/oh323/openh323 openh323 openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. g++ -Wall -x c++ -Os -DUSE_OLD_CAPABILITIES_API=1 -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\..\ -DOPENH323VERSION=\..\ -I/root/src/oh323/pwlib/include -I/root/src/oh323/openh323/include -I/root/src/oh323/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:35:19: ptlib.h: No such file or directory In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:61: error: expected class-name before '{' token wrapper_misc.hxx:63: error: `PMutex' has not been declared wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `PCLASSINFO' with no type wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `parameter' with no type wrapper_misc.hxx:68: error: `BOOL' does not name a type wrapper_misc.hxx:73: error: `PString' does not name a type wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)': wrapper_misc.cxx:48: error: class `WrapMutex' does not have any field named `PMutex' wrapper_misc.cxx:50: error: `name' undeclared (first use this function) wrapper_misc.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.) wrapper_misc.cxx:50: error: `PString' undeclared (first use this function) wrapper_misc.cxx:51: error: `cout' undeclared (first use this function) wrapper_misc.cxx:51: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:51: error: `endl' undeclared (first use this function) wrapper_misc.cxx: At global scope: wrapper_misc.cxx:54: error: `BOOL' does not name a type wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int, const char*)': wrapper_misc.cxx:78: error: `PMutex' has not been declared wrapper_misc.cxx:78: error: no matching function for call to `WrapMutex::Signal()' wrapper_misc.cxx:77: note: candidates are: void WrapMutex::Signal(const char*, int, const char*) wrapper_misc.cxx:79: error: `cout' undeclared (first use this function) wrapper_misc.cxx:79: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:79: error: `name' undeclared (first use this function) wrapper_misc.cxx:79: error: `endl' undeclared (first use this function) make[1]: *** [wrapper_misc.o] Error 1 make[1]: Leaving directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' make: *** [subdirs_build] Error 1 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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] problems with compiling asterisk-oh323
I suggest you read the installation documentation again. The error is telling you what the problem is. You don't have pwlib and oh323 source compiled (using make opt only) and sitting in the root/src directory. If it's somewhere else, edit the asterisk-oh323 makefile to reflect the correct location. wassim darwish wrote: i ve downloaded asterisk-oh323-0.6.6.tar.gz I am getting this and anybody know howto fix this? #tar zxvf asterisk-oh323-0.6.6.tar.gz oh323]# cd asterisk-oh323-0.6.6 asterisk-oh323-0.6.6]# ls asterisk-driver CONFIGURATION Makefile rpm TESTS BUGS COPYINGREADMErules.mak wrapper asterisk-oh323-0.6.6]# make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make[1]: Entering directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' ./check_ver /root/src/oh323/pwlib pwlib openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory cat: /root/src/oh323/pwlib/version.h: No such file or directory ./check_ver /root/src/oh323/openh323 openh323 openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory cat: /root/src/oh323/openh323/version.h: No such file or directory openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. g++ -Wall -x c++ -Os -DUSE_OLD_CAPABILITIES_API=1 -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\..\ -DOPENH323VERSION=\..\ -I/root/src/oh323/pwlib/include -I/root/src/oh323/openh323/include -I/root/src/oh323/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. openh323flags.mak:2: /root/src/oh323/openh323/openh323u.mak: No such file or directory make[1]: *** No rule to make target `/root/src/oh323/openh323/openh323u.mak'. Stop. In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:35:19: ptlib.h: No such file or directory In file included from wrapper_misc.cxx:34: wrapper_misc.hxx:61: error: expected class-name before '{' token wrapper_misc.hxx:63: error: `PMutex' has not been declared wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `PCLASSINFO' with no type wrapper_misc.hxx:63: error: ISO C++ forbids declaration of `parameter' with no type wrapper_misc.hxx:68: error: `BOOL' does not name a type wrapper_misc.hxx:73: error: `PString' does not name a type wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)': wrapper_misc.cxx:48: error: class `WrapMutex' does not have any field named `PMutex' wrapper_misc.cxx:50: error: `name' undeclared (first use this function) wrapper_misc.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.) wrapper_misc.cxx:50: error: `PString' undeclared (first use this function) wrapper_misc.cxx:51: error: `cout' undeclared (first use this function) wrapper_misc.cxx:51: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:51: error: `endl' undeclared (first use this function) wrapper_misc.cxx: At global scope: wrapper_misc.cxx:54: error: `BOOL' does not name a type wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int, const char*)': wrapper_misc.cxx:78: error: `PMutex' has not been declared wrapper_misc.cxx:78: error: no matching function for call to `WrapMutex::Signal()' wrapper_misc.cxx:77: note: candidates are: void WrapMutex::Signal(const char*, int, const char*) wrapper_misc.cxx:79: error: `cout' undeclared (first use this function) wrapper_misc.cxx:79: error: 'class WrapMutex' has no member named 'Class' wrapper_misc.cxx:79: error: `name' undeclared (first use this function) wrapper_misc.cxx:79: error: `endl' undeclared (first use this function) make[1]: *** [wrapper_misc.o] Error 1 make[1]: Leaving directory `/home/wassim/asterisk-oh323-0.6.6/wrapper' make: *** [subdirs_build] Error 1 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around