[Top][All Lists]

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

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

From: Simon Morlat
Subject: Re: [Linphone-users] Build failed with gcc 4.6.0 and kernel 2.6.38
Date: Tue, 31 May 2011 10:56:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110424 Thunderbird/3.1.10


Thanks for reporting these compilation problems.
I have just commited the fixes to git.


On 25/05/2011 17:56, nucleo wrote:

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-

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.

_______________________________________________ Linphone-users mailing list address@hidden

reply via email to

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