Menu

t38modem v2.0.0 compile problem

Help
etcaz
2011-07-13
2013-05-28
  • etcaz

    etcaz - 2011-07-13

    I'm trying to compile t38modem on 64-bit CentOS 5.6, using the provided opal and ptlib.  I got the libraries to compile (by exporting OPALDIR and PTLIBDIR), but now when I try to compile t38modem itself (with "make USE_OPAL=1 USE_UNIX98_PTY=1 opt"), I run into this:

    make DEBUG= default_target
    make: Entering directory `/home/ecallen/t38modem-2.0.0'
    main_process.cxx
    opal/manager.h:54: error: expected class-name before '{' token
    opal/manager.h:55: error: 'Comparison' does not name a type
    opal/manager.h:69: error: 'OpalCall' has not been declared
    opal/manager.h:71: error: 'OpalConnection' has not been declared
    opal/manager.h:71: error: expected ',' or '…' before '*' token
    opal/manager.h:73: error: 'OpalCall' has not been declared
    opal/manager.h:75: error: 'OpalConnection' has not been declared
    opal/manager.h:75: error: 'OpalMediaStream' has not been declared
    opal/manager.h:76: error: expected ',' or '…' before '&' token
    opal/manager.h:76: error: ISO C++ forbids declaration of 'OpalMediaStream' with no type
    opal/manager.h:54: warning: 'class MyManager' has virtual functions but non-virtual destructor
    opal/manager.h: In member function 'virtual PBoolean MyManager::InternalIsDescendant(const char*) const':
    opal/manager.h:55: error: 'OpalManager' has not been declared
    opal/manager.h: In member function 'virtual const char* MyManager::GetClass(unsigned int) const':
    opal/manager.h:55: error: 'OpalManager' has not been declared
    main_process.cxx: In function 'PString GetListOfLibs()':
    main_process.cxx:82: error: 'OpalGetVersion' was not declared in this scope
    main_process.cxx:95: error: 'PProcess' has not been declared
    main_process.cxx: At global scope:
    main_process.cxx:105: error: expected class-name before '{' token
    main_process.cxx:106: error: 'Comparison' does not name a type
    main_process.cxx:105: warning: 'class T38Modem' has virtual functions but non-virtual destructor
    main_process.cxx: In member function 'virtual PBoolean T38Modem::InternalIsDescendant(const char*) const':
    main_process.cxx:106: error: 'PProcess' has not been declared
    main_process.cxx: In member function 'virtual const char* T38Modem::GetClass(unsigned int) const':
    main_process.cxx:106: error: 'PProcess' has not been declared
    main_process.cxx: At global scope:
    main_process.cxx:117: error: expected constructor, destructor, or type conversion before ';' token
    main_process.cxx: In constructor 'T38Modem::T38Modem()':
    main_process.cxx:120: error: class 'T38Modem' does not have any field named 'PProcess'
    main_process.cxx:121: error: 'ReleaseCode' was not declared in this scope
    main_process.cxx: In member function 'void T38Modem::Main()':
    main_process.cxx:127: error: 'GetName' was not declared in this scope
    main_process.cxx:128: error: 'GetVersion' was not declared in this scope
    main_process.cxx:130: error: 'GetManufacturer' was not declared in this scope
    main_process.cxx:131: error: 'GetOSClass' was not declared in this scope
    main_process.cxx:131: error: 'GetOSName' was not declared in this scope
    main_process.cxx:132: error: 'GetOSVersion' was not declared in this scope
    main_process.cxx:132: error: 'GetOSHardware' was not declared in this scope
    main_process.cxx: In member function 'PBoolean T38Modem::Initialise()':
    main_process.cxx:146: error: 'GetArguments' was not declared in this scope
    main_process.cxx:180: error: 'GetName' was not declared in this scope
    main_process.cxx:228: error: 'GetName' was not declared in this scope
    main_process.cxx:228: error: 'GetVersion' was not declared in this scope
    main_process.cxx:228: error: 'GetOSClass' was not declared in this scope
    main_process.cxx:228: error: 'GetOSName' was not declared in this scope
    main_process.cxx:228: error: 'GetOSVersion' was not declared in this scope
    main_process.cxx:228: error: 'GetOSHardware' was not declared in this scope
    make: ***  Error 1
    make: Leaving directory `/home/ecallen/t38modem-2.0.0'
    make: ***  Error 2

    I haven't yet run a "make install" on opal or ptlib, and I'm wondering if that might be part of the problem.  I've tried pointing LD_LIBRARY_PATH at the ../opal/lib_linux_x86_64 and ../ptlib/lib_linux_x86_64 directories, to no avail.  Any idea what's wrong here?

     

Log in to post a comment.