00022.Problem when building openh323 on Fedora3.

来源:互联网 发布:途中 陈鸿宇 知乎 编辑:程序博客网 时间:2024/04/29 23:04

Hello openh323openh323,

I have been building the application on Fedora 3,according to the 5 steps below:

1、Put PWLib and OpenH323 into my home directory,
    i.e. PWLib is in ~/pwlib and OpenH323 is in ~/openh323,
2、export the PWLIBDIR and the OPENH323DIR
   export PWLIBDIR=/somewhere/else/pwlib
   export OPENH323DIR=/somewhere/else/openh323
3、go to ~/pwlib and run
    ./configure
    make bothdepend
    make bothnoshared
4、go to ~/openh323 and run
    ./configure
    make bothdepend
    make bothnoshared
5、 download the file oh323tut-1.0-1.tgz to a directory and run
    tar -zxvf oh323tut-1.0-1.tgz
    make bothdepend
    make bothnoshared

According to the openh323 tutorial in the url(http://toncar.cz/openh323/tut/build.html),
The object files (*.o) and oh323tut executables (the release and debug version, respectively)
will be created in subdirectories obj_linux_x86_r and obj_linux_x86_d.
But in fact,i have just obtain the two subdirectories with no executables files.
Also i haven't  got the executables file simph323.

And during the steps above,i have got all the stderr like that:
../common/getdate.y: conflicts: 8 shift/reduce, 18 reduce/reduce
../common/osutils.cxx: In static member function `static std::ostream& PTrace::End(std::ostream&)':
../common/osutils.cxx:1003: warning: unused variable 'rb'
../common/osutils.cxx: In static member function `static std::ostream& PTrace::End(std::ostream&)':
../common/osutils.cxx:1003: warning: unused variable 'rb'
./src/lpcini.c:47: warning: conflicting types for built-in function 'malloc'
ep.cxx: In member function `bool MyEndPoint::Init()':
ep.cxx:91: error: `SpeexNarrow3AudioCapability' undeclared (first use this function)
ep.cxx:91: error: (Each undeclared identifier is reported only once for each function it appears in.)
ep.cxx:91: error: `speex3Cap' undeclared (first use this function)
ep.cxx:92: error: `SpeexNarrow3AudioCapability' has not been declared
ep.cxx:94: error: `H323_GSM0610Capability' undeclared (first use this function)
ep.cxx:94: error: `gsmCap' undeclared (first use this function)
ep.cxx:95: error: `H323_GSM0610Capability' has not been declared
ep.cxx:99: error: `H323_LPC10Capability' has not been declared
make[2]: *** [obj_linux_x86_r/ep.o] Error 1
make[1]: *** [optnoshared] Error 2
make: *** [bothnoshared] Error 2

I'm so surprising now.
Who can help me?  Thank you very much!

 

 

原创粉丝点击