zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

*super useful* Here are all of my patches #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you happen to look at a few of the previously submitted issues, you
might see that I have replied with a few different patch files to solve
various problems. Below is a list of all of the patches, and a description
of what each does. To apply any of the patches, simply cd into your
libjingle-0.4.0 directory, and run:

patch -p1 < [something].patch

*** 64-bit.patch ***
  The call to sscanf in talk/base/httpbase.cc reads a "%d" into a size_t
variable (data_size_). However, on a 64-bit platform, this will result in
data corruption, because the sscanf is only setting the lowest 32 bits of a
64 bit value. This patch has sscanf read to an unsigned int, and then
copies that value into the size_t variable. NOTE: applying this patch does
NOT break libjingle on 32 bit stuff.

*** ortp.patch ***
  This patch makes it possible to use oRTP libraries newer than version
0.7.1 (like the current one, 0.13.1). NOTA BENE: applying this patch will
*require* you to upgrade to a newer version of oRTP, because it is not
backwards compatible. Download ortp from:
http://download.savannah.nongnu.org/releases/linphone/ortp/sources/

*** gcc4.patch ***
  This was referenced in Issue #2. For a nice description of this
particular gcc4 change, check this page:
http://www.fourmilab.ch/fourmilog/archives/2006-05/000699.html

*** libjingle-fileshare.patch ***
  This patch was copied from issue #11. It deals with template
specification issues.

*** mutex.patch ***
  This patch fixes issue #7

Hope this helps somebody!

I just applied all of these patches to a freshly extracted source tarball,
configured & compiled without error. Let me know if you get anything different.

Original issue reported on code.google.com by mattwinter on 14 Nov 2007 at 7:22

Attachments:

GoogleCodeExporter commented 9 years ago
It appears that even though one can modify libjingle to *compile* with the 
newest
libortp, it is inadvisable to do so. I've had much better luck getting the call
example to connect without crashing if I use version 0.7.1 of oRTP the library.

Original comment by mattwinter on 16 Nov 2007 at 8:18

GoogleCodeExporter commented 9 years ago
hi mattwinter,
     Thanx a lot brother... , you made my day!!.I was able to build libjingle 
without errors on opensuse10.2 .

keep this wonderful work going .....

Original comment by shanky1...@gmail.com on 24 Feb 2008 at 6:42

GoogleCodeExporter commented 9 years ago
@mattwinter
do you have patch about relayserver?

Original comment by greatfoolbear on 21 Feb 2010 at 6:14

GoogleCodeExporter commented 9 years ago
Still have the same compilation errors ('memset' was not declared in this 
scope).
I have debian-lenny/pentium 4 (32 bits), gcc 4.3.
Is the 32 bits an issue? Did anyone compiled it on a 32 bits machine already?
Thanks,
Izhar

Original comment by IzharGal...@gmail.com on 15 Mar 2010 at 5:07

GoogleCodeExporter commented 9 years ago
Hi, 
I am also getting the same error as Izhar on Ubuntu with gcc 4.3. following is 
the error:
In file included from messagequeue.cc:40:
../../talk/base/messagequeue.h: In constructor 'talk_base::Message::Message()':
../../talk/base/messagequeue.h:121: error: 'memset' was not declared in this 
scope
if anybody can tell me what is the issue?
Thanks
Nidhi

Original comment by nidhitul...@googlemail.com on 26 Mar 2010 at 8:47

GoogleCodeExporter commented 9 years ago
please try this: http://foolbear.blogspot.com/2010/02/libjingle-for-ubuntu.html

Original comment by greatfoolbear on 26 Mar 2010 at 9:02

GoogleCodeExporter commented 9 years ago
I have the same error ('memset' was not declared in this scope). I tried to 
follow the instructions from foolbear blog, but I couldn't download the patch 
"http://libjingle.googlecode.com/issues/attachment?aid=8593976822449450369&name=
libjingle-fileshare.patch". I also tried without following this particular 
step, but the problem persists.
Thanks,
Diogo

Original comment by diogocpe...@gmail.com on 24 Jun 2010 at 2:21

GoogleCodeExporter commented 9 years ago
@diogocpedrosa, plz try 
http://libjingle.googlecode.com/issues/attachment?aid=4503649034658890724&name=l
ibjingle-fileshare.patch&token=b248ba7e6a0805aede1e469e97c606ef

Original comment by greatfoolbear on 24 Jun 2010 at 2:57

GoogleCodeExporter commented 9 years ago
Hi, greatfoolbear!

Thanks for your answare! I just noticed that the patch that I was looking for 
is attached in this site! I'm realy sorry.

This is bad news, because I had alaredy installed all the patchs in this sites 
before following the instructions from the foolbear blog. The problem persists 
:(

Regards,
Diogo

Original comment by diogocpe...@gmail.com on 24 Jun 2010 at 7:21

GoogleCodeExporter commented 9 years ago
why my problem still cannot go away after I did all the patch and add "#include 
<stdio.h>" to the files as greatfoolbear suggested.

Original comment by gmp...@gmail.com on 16 Aug 2010 at 10:43

GoogleCodeExporter commented 9 years ago
@diogocpedrosa,

please try attached file, unzip and overwrite into original file.

Original comment by greatfoolbear on 25 Aug 2010 at 8:43

Attachments:

GoogleCodeExporter commented 9 years ago
This is good. I did change based on the libjingle-0.4.0.patch, plus 
greatfoolbear's instructions. It works and I got successfully build the 
application. 
Thanks.

Original comment by gmp...@gmail.com on 1 Sep 2010 at 3:37

GoogleCodeExporter commented 9 years ago
welcome!

Original comment by greatfoolbear on 1 Sep 2010 at 3:53

GoogleCodeExporter commented 9 years ago
Closing out old issues.

Original comment by pthatc...@google.com on 3 Nov 2010 at 7:23

GoogleCodeExporter commented 9 years ago
Closing out old issues.

Original comment by pthatc...@google.com on 3 Nov 2010 at 7:24