Vyacheslav Frolov wrote:
> 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()) {
> --------------------------------------------------------------------------
>
I seem to be having a problem applying this patch all of a sudden, I'm
not sure how I applied it before (I think I did a patch < ./filename).
I have done the following today (19 Sep 2007):
cvs -z9 -d
:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/openh323 co
ptlib_unix
cvs -z9 -d
:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/openh323 co -D
"21 May 2007" opal
cvs -z9 -d
:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/openh323 co
t38modem
I then attempt to patch t38modem with the recommended patch above, which
I have saved into a file called "t38.patch":
cd t38modem
patch < ../t38.patch
and I get the following output:
----------------------------------------------------------------------------------
patching file drv_pty.cxx
Hunk #1 FAILED at 512.
Hunk #2 FAILED at 533.
2 out of 2 hunks FAILED -- saving rejects to file drv_pty.cxx.rej
----------------------------------------------------------------------------------
the contents of drv_pty.cxx is as follows:
----------------------------------------------------------------------------------
***************
*** 512,517 ****
#endif
#endif
struct termios Termios;
if (::tcgetattr(hPty, &Termios) != 0) {
--- 512,518 ----
#endif
#endif
+ /*
struct termios Termios;
if (::tcgetattr(hPty, &Termios) != 0) {
***************
*** 532,537 ****
ClosePty();
return FALSE;
}
#ifdef USE_UNIX98_PTY
if (ptypath == ptyPathUnix98()) {
--- 533,539 ----
ClosePty();
return FALSE;
}
+ */
#ifdef USE_UNIX98_PTY
if (ptypath == ptyPathUnix98()) {
----------------------------------------------------------------------------------
I'm trying to recompile/build t38modem to see if I can get rid of the
segfault problem I am having with sip fax calls.
Any pointers would be greatly appreciated.
Thanks
Bruce
-------------------------------------------------------------------------
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
- References:
- [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
- Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
- Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
- Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
- Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
- Re: [Openh323-devel] Please Help: PWLib, OPAL, T38Modem compilation on Solaris 10 x86
[Open H.323]
[IETF SIP]
[Gnu Gatekeeper]
[Asterisk PBX]
[Fedora Linux]
[Gimp]
[Yosemite News]
[Yosemite Photos]
[Yosemite Campsites]
[ISDN Cause Codes]