[Asterisk-Users] problems with compiling asterisk-oh323
Rod Bacon
rod.bacon at empoweredcomms.com.au
Mon Jul 25 16:17:44 MST 2005
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 COPYING README rules.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 at 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
>
>
More information about the asterisk-users
mailing list