Google
  Web www.spinics.net

Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Try this patch:

--------------------------------------------------------------------------
Index: drv_pty.cxx
===================================================================
RCS file: /cvsroot/openh323/contrib/t38modem/drv_pty.cxx,v
retrieving revision 1.7
diff -u -r1.7 drv_pty.cxx
--- drv_pty.cxx 17 Jul 2007 10:03:22 -0000      1.7
+++ drv_pty.cxx 11 Sep 2007 12:25:38 -0000
@@ -512,6 +512,7 @@
    #endif
  #endif

+/*
    struct termios Termios;

    if (::tcgetattr(hPty, &Termios) != 0) {
@@ -532,6 +533,7 @@
      ClosePty();
      return FALSE;
    }
+*/

  #ifdef USE_UNIX98_PTY
    if (ptypath == ptyPathUnix98()) {
--------------------------------------------------------------------------


Bruce McAlister wrote:

> Thank you for the help, I now have t38modem statically linked :)
> 
> Now I have an issue with actually geting t38modem to create/start the
> modem device.
> 
> I have tried the following variants of the command:
> 
> t38modem --no-sip --no-h323 -n -tttt -o /tmp/t38modem0.log -p /dev/ttyp0
> t38modem --no-sip --no-h323 -n -tttt -o /tmp/t38modem0.log -p ttyp0
> 
> the output on the terminal screen is as follows:
> 
> ------------------------------------------------------------------------------------------
> T38Modem Version 1.0.0
>  by OpenH323 Project on Unix SunOS 5.10 (Generic_125101-10-i86pc)
> 
> Disabled H.323 protocol
> Disabled SIP protocol
> ------------------------------------------------------------------------------------------
> 
> but the log file has the following error:
> 
> ------------------------------------------------------------------------------------------
> 2007/09/11 12:54:39.768     T38Modem    T38Modem Version 1.0.0 on Unix
> SunOS 5.10 (Generic_125101-10-i86pc)
> 2007/09/11 12:54:39.769     T38Modem    OpalMan Created manager.
> 2007/09/11 12:54:39.769     T38Modem    OpalEP  Created endpoint: modem
> 2007/09/11 12:54:39.769     T38Modem    ModemEndPoint::ModemEndPoint
> 2007/09/11 12:54:39.769     T38Modem    PseudoModemList::Append ptyp0 (0) OK
> 2007/09/11 12:54:39.770   ptyp0(b):4    RenameCurrentThread old
> ThreadName=PseudoModemPty:08711718
> 2007/09/11 12:54:39.770   ptyp0(b):4    Started for /dev/ttyp0 (accepts all)
> 2007/09/11 12:54:39.770   ptyp0(b):4    ModemEndPoint::OnMyCallback
> command=addmodem extra=10
> 2007/09/11 12:54:39.770   ptyp0(b):4    PseudoModemQ::Enqueue ptyp0
> 2007/09/11 12:54:39.770   ptyp0(b):4    ModemEndPoint::OnMyCallback
> request={
> command=addmodem
> response=confirm
> modemtoken=ptyp0
> }
> 2007/09/11 12:54:39.771   ptyp0(b):4    PseudoModemPty::OpenPty
> tcgetattr ptyp0 ERROR: Inappropriate ioctl for device
> 2007/09/11 12:54:39.771   ptyp0(b):4    Stopped
> ------------------------------------------------------------------------------------------
> 
> Do I need to configure the ports in a specific manner, or am I missing
> something else.
> 
> Any comments/suggestions would be greatly appreciated, I'm almost up and
> running..
> 
> Thanks
> Bruce
> 
> Vyacheslav Frolov wrote:
> 
>>Bruce McAlister wrote:
>>
>>>I have one more question. I would like to to create a standalone package
>>>for t38modem that includes pwlib, opal and t38modem. I have done an "ldd
>>
>>I'd prefer staticaly link pwlib, opal and t38modem:
>>
>>  $ make optnoshared
>>
>>*******************************************************************************************************
>>
>>This message and any attachments (the "message") are confidential and
>>intended solely for the addressees. Any unauthorised use or
>>dissemination is prohibited.
>>Messages are susceptible to alteration. Orange Business Services shall
>>not be liable for the message if altered, changed or
>>falsified. If you are not the intended addressee of this message,
>>please cancel it immediately and inform the sender.
>>*******************************************************************************************************
>>
>>
>>

*******************************************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. Orange Business Services shall not be liable for the message if altered, changed or
falsified. If you are not the intended addressee of this message, please cancel it immediately and inform 
the sender.
*******************************************************************************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openh323-devel mailing list
Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openh323-devel

[Open H.323]     [IETF SIP]     [Gnu Gatekeeper]     [Asterisk PBX]     [Fedora Linux]     [Gimp]     [Yosemite News]     [Yosemite Photos]     [Yosemite Campsites]     [ISDN Cause Codes]

Add to Google Powered by Linux