linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] [Linphone-users] Linphone 3.5.0 got errors


From: Gerhard Stengel
Subject: Re: [Linphone-developers] [Linphone-users] Linphone 3.5.0 got errors
Date: Mon, 26 Dec 2011 10:28:31 +0100
User-agent: KMail/4.7.2 (Linux/2.6.37.6-0.9-desktop; KDE/4.7.2; x86_64; ; )

Hi,

the problem is an incorrect declaration and use of 
linphone_core_tunnel_available. I suppose it's void, so I added (void) in the 
declaration/definition and removed the argument in the offending call, see 
attached patch (vs. latest git master).

best regards

Gerhard


Am Freitag, 23. Dezember 2011, 18:18:35 schrieb Oleg Miloshev:
>  I have just tried to compile linphone 3.5.0 on Open Suse 11.4 x 64 and Open
> Suse 12.2 x 64. Configure passed okey but I received error on make .Here
> are the errors :
> 
> address@hidden:~/Desktop/linphone-3.5.0> make
> make  all-recursive
> make[1]: Entering directory `/home/two/Desktop/linphone-3.5.0'
> Making all in build
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/build'
> Making all in macos
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/build/macos'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/build/macos'
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/build'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/build'
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/build'
> Making all in m4
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/m4'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/m4'
> Making all in pixmaps
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/pixmaps'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/pixmaps'
> Making all in po
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/po'
> Making all in oRTP
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> make  all-recursive
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> Making all in src
> make[4]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP/src'
> Making all in .
> make[5]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP/src'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/src'
> Making all in tests
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests' Making all in
> win_receiver
> make[6]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests/win_receiver' make[6]:
> Nothing to be done for `all'.
> make[6]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests/win_receiver' Making all
> in win_sender
> make[6]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests/win_sender' make[6]:
> Nothing to be done for `all'.
> make[6]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests/win_sender' make[6]:
> Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests'
> make[6]: Nothing to be done for `all-am'.
> make[6]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests'
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/src/tests' make[4]: Leaving
> directory `/home/two/Desktop/linphone-3.5.0/oRTP/src' Making all in build
> make[4]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP/build'
> Making all in win32native
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/win32native' make[5]: Nothing
> to be done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/win32native' Making all in
> wince
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/wince' make[5]: Nothing to be
> done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/wince' Making all in winmob
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/winmob' make[5]: Nothing to be
> done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/build/winmob' make[5]: Entering
> directory `/home/two/Desktop/linphone-3.5.0/oRTP/build' make[5]: Nothing to
> be done for `all-am'.
> make[5]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/build'
> make[4]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/build'
> Making all in include
> make[4]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP/include'
> Making all in ortp
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/include/ortp' make[5]: Nothing to be
> done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/oRTP/include/ortp' make[5]: Entering
> directory `/home/two/Desktop/linphone-3.5.0/oRTP/include' make[5]: Nothing
> to be done for `all-am'.
> make[5]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/include'
> make[4]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP/include'
> make[4]: Entering directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/oRTP'
> Making all in mediastreamer2
> make[2]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2' make  all-recursive
> make[3]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2' Making all in po
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/po' make[4]: Nothing to be
> done for `all'.
> make[4]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/po' Making all in src
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/src' if test -d ../.git ;
> then \
>         /bin/echo -n "#define GIT_VERSION " > gitversion.h.tmp &&\
>         /bin/echo \"`cd .. && git describe`\" >> gitversion.h.tmp &&\
>         if test "`cat gitversion.h.tmp`" != "`cat ./gitversion.h`" ; then \
>                 cp -f gitversion.h.tmp ./gitversion.h ; \
>         fi \
>         && rm -f gitversion.h.tmp ;\
> fi
> if ! test -f ./gitversion.h ; then \
>         /bin/echo -n "#define GIT_VERSION \"unknown\" " > ./gitversion.h ;\
> fi
> make  all-am
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/src' if test -d ../.git ;
> then \
>         /bin/echo -n "#define GIT_VERSION " > gitversion.h.tmp &&\
>         /bin/echo \"`cd .. && git describe`\" >> gitversion.h.tmp &&\
>         if test "`cat gitversion.h.tmp`" != "`cat ./gitversion.h`" ; then \
>                 cp -f gitversion.h.tmp ./gitversion.h ; \
>         fi \
>         && rm -f gitversion.h.tmp ;\
> fi
> if ! test -f ./gitversion.h ; then \
>         /bin/echo -n "#define GIT_VERSION \"unknown\" " > ./gitversion.h ;\
> fi
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/src' make[4]: Leaving
> directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2/src' Making all
> in build
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build' Making all in
> win32native
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native' Making
> all in mediastream
> make[6]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native/mediastr
> eam' make[6]: Nothing to be done for `all'.
> make[6]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native/mediastr
> eam' make[6]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native'
> make[6]: Nothing to be done for `all-am'.
> make[6]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native'
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32native' Making
> all in win32-novideo
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32-novideo'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/win32-novideo'
> Making all in wince
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/wince' make[5]:
> Nothing to be done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/wince' Making all in
> winmob
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/winmob' make[5]:
> Nothing to be done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build/winmob' make[5]:
> Entering directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build' make[4]: Leaving
> directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2/build' Making
> all in include
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include' Making all in
> mediastreamer2
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include/mediastreamer2'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include/mediastreamer2'
> make[5]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include' make[5]: Nothing
> to be done for `all-am'.
> make[5]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include' make[4]: Leaving
> directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2/include' Making
> all in tests
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/tests' make[4]: Nothing to
> be done for `all'.
> make[4]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/tests' Making all in help
> make[4]: Entering directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/help' make[4]: Nothing to
> be done for `all'.
> make[4]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2/help' make[4]: Entering
> directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2' make[4]:
> Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2'
> make[3]: Leaving directory
> `/home/two/Desktop/linphone-3.5.0/mediastreamer2' make[2]: Leaving
> directory `/home/two/Desktop/linphone-3.5.0/mediastreamer2' Making all in
> coreapi
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/coreapi'
> Making all in .
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/coreapi'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/coreapi'
> Making all in help
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/coreapi/help'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/coreapi/help'
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/coreapi'
> Making all in console
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/console'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/console'
> Making all in gtk
> make[2]: Entering directory `/home/two/Desktop/linphone-3.5.0/gtk'
> make  all-am
> make[3]: Entering directory `/home/two/Desktop/linphone-3.5.0/gtk'
>   CC     propertybox.o
> cc1: warnings being treated as errors
> propertybox.c: In function ‘linphone_gtk_show_parameters’:
> propertybox.c:992:2: error: call to function
> ‘linphone_core_tunnel_available’ without a real prototype
> ../coreapi/linphonecore.h:350:8: note: ‘linphone_core_tunnel_available’ was
> declared here make[3]: *** [propertybox.o] Error 1
> make[3]: Leaving directory `/home/two/Desktop/linphone-3.5.0/gtk'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/two/Desktop/linphone-3.5.0/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/two/Desktop/linphone-3.5.0'
> make: *** [all] Error 2
> address@hidden:~/Desktop/linphone-3.5.0>
> 
> Any help for solving the issue will be welcome.
> Oleg
> 
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users

Attachment: linphone_compile_fix.diff
Description: Text Data


reply via email to

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