linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Build failed with gcc 4.6.0 and kernel 2.6.38


From: nucleo
Subject: [Linphone-users] Build failed with gcc 4.6.0 and kernel 2.6.38
Date: Wed, 25 May 2011 18:56:42 +0300
User-agent: KNode/4.4.11

Hi,

linphone and ortp builds failed with gcc 4.6.0 because of set and unused 
variables.
One of such errors:

stun.c:1997:11: error: variable 'discard' set but not used 
[-Werror=unused-but-set-variable]
stun.c: In function 'stunNatType':
stun.c:2166:17: error: variable 'testIchangedAddr' set but not used 
[-Werror=unused-but-set-
variable]

Attached patches linphone-3.4.3-unused.patch and ortp-0.16.5-unused.patch fixed 
builds for me.

Other problem building mediastreamer with kernel 2.6.38 because of removed 
videodev.h.
Attached patch mediastreamer-2.7.3-videodev.patch replaces linux/videodev.h
with libv4l1-videodev.h from libv4l and fixes mediastreamer build for me.

-- 
Alexey Kurov <address@hidden>

Attachment: linphone-3.4.3-unused.patch
Description: Text Data

Attachment: mediastreamer-2.7.3-videodev.patch
Description: Text Data

Attachment: ortp-0.16.5-unused.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]