Try with make CFLAGS="-Wno-error".

*Guillaume BIENKOWSKI*

*http://www.belledonne-communications.com/
<http://www.belledonne-communications.com/>*

* sip:[email protected] <sip%[email protected]>*


On Thu, Apr 10, 2014 at 12:29 PM, Diogo Leite <[email protected]>wrote:

> Hello,
>
> I solved the problem with bellesip doing in ubuntu ./autogen.sh
> ./configure and make and I copied the folder to the pi and then I done on
> pi ./autogen.sh ./configure and make and it worked.
>
> Now when I try to do make to linphone I get this error:
>
> Making all in src
> make[4]: Entering directory `/home/pi/linphone/mediastreamer2/src'
> if test -d ../.git ; then \
>  /bin/echo -n "#define GIT_VERSION " > gitversion.h.tmp &&\
> /bin/echo \"`cd .. && git describe --always`\" >> 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/pi/linphone/mediastreamer2/src'
> if test -d ../.git ; then \
> /bin/echo -n "#define GIT_VERSION " > gitversion.h.tmp &&\
>  /bin/echo \"`cd .. && git describe --always`\" >> 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
>   CC     voip/msvideo_neon.lo
> voip/msvideo_neon.c:382:13: error: 'reverse_and_down_scale_32bytes_neon'
> defined but not used [-Werror=unused-function]
> voip/msvideo_neon.c:401:13: error: 'reverse_16bytes_neon' defined but not
> used [-Werror=unused-function]
> voip/msvideo_neon.c:420:13: error: 'deinterlace_and_reverse_2x8bytes_neon'
> defined but not used [-Werror=unused-function]
> voip/msvideo_neon.c:439:13: error:
> 'deinterlace_down_scale_and_reverse_2x16bytes_neon' defined but not used
> [-Werror=unused-function]
> cc1: all warnings being treated as errors
> make[5]: *** [voip/msvideo_neon.lo] Error 1
> make[5]: Leaving directory `/home/pi/linphone/mediastreamer2/src'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/home/pi/linphone/mediastreamer2/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/pi/linphone/mediastreamer2'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/pi/linphone/mediastreamer2'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pi/linphone'
> make: *** [all] Error 2
>
>
> Any solution for this?
>
> Thank you
>
>
>
> 2014-04-09 16:30 GMT+01:00 BIENKOWSKI Guillaume <
> [email protected]>:
>
> Actually I believe you have to issue a make under your Ubuntu to prepare
>> the C files.
>> No need to finish the compilation; once the g files have been processed
>> you can stop the compilation, and copy the generated files on your Pi.
>>
>> *Guillaume BIENKOWSKI*
>>
>> *http://www.belledonne-communications.com/
>> <http://www.belledonne-communications.com/> *
>>
>> *sip:[email protected] <sip%[email protected]>*
>>
>>
>> On Wed, Apr 9, 2014 at 5:25 PM, Diogo Leite <[email protected]>wrote:
>>
>>> Still not working I use ubuntu and works and I copied to the pi after
>>> doing ./autogen.sh and ./configure and on pi I done make but gave the same
>>> error:
>>>
>>> Makefile:661: warning: overriding commands for target `.NOTPARALLEL'
>>> Makefile:655: warning: ignoring old commands for target `.NOTPARALLEL'
>>> /usr/bin/antlr3  -make -Xmultithreaded  -fo  . ./belle_sip_message.g
>>> two-threaded DFA conversion
>>> warning(200): ./belle_sip_message.g:1147:8: Decision can match input
>>> such as "CRLF" using multiple alternatives: 1, 2
>>> As a result, alternative(s) 2 were disabled for that input
>>> warning(200): ./belle_sip_message.g:1147:8: Decision can match input
>>> such as "SP" using multiple alternatives: 1, 2
>>>
>>>
>>> java -version on pi:
>>> java version "1.7.0_25"
>>> OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1~deb7u1+rpi1)
>>> OpenJDK Zero VM (build 22.0-b10, mixed mode)
>>>
>>>
>>> 2014-04-09 15:43 GMT+01:00 Guillaume Beraudo <
>>> [email protected]>:
>>>
>>> Hi,
>>>>
>>>> I guess you are doing all this on your PI.
>>>> As a consequence, you need a JVM running on the PI since you need to
>>>> have some C files generated from the .g files.
>>>>
>>>> However, you may do on a PC
>>>> git clone, ./autogen.sh,  ./configure
>>>>
>>>> Then copy the result to you PI and do on the PI:
>>>> ./configure -> make -> sudo make install
>>>>
>>>>
>>>>
>>>> Anyway, if you have the openjdk on PI it works great:
>>>> java version "1.7.0_51"
>>>> OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1)
>>>> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
>>>>
>>>>
>>>>
>>>> On Wed, Apr 09, 2014 at 03:27:59PM +0100, Diogo Leite wrote:
>>>> > you can explain a little more please. Because now I not understand
>>>> what I
>>>> > need to do to correct this problem.
>>>> >
>>>> > The steps I do after clone git are: ./autogen.sh -> ./configure ->
>>>> make ->
>>>> > sudo make install
>>>> >
>>>> > Thank you for your help.
>>>> >
>>>> >
>>>> > 2014-04-09 15:11 GMT+01:00 Guillaume Beraudo <
>>>> [email protected]
>>>> > >:
>>>> >
>>>> > > Hi,
>>>> > >
>>>> > >
>>>> > > Java is only required to generate some files before the compilation
>>>> of
>>>> > > belle-sip. You may  generate these files on your main computer and
>>>> copy
>>>> > > them to your PI.
>>>> > >
>>>> > >
>>>> > > Guillaume Beraudo
>>>> > >
>>>> > >
>>>> > > On Wed, Apr 09, 2014 at 03:02:54PM +0100, Diogo Leite wrote:
>>>> > > > I tried to install but I don't know if I installed the correct
>>>> package. I
>>>> > > > only found this package:
>>>> > > > - jvm-7-avian-jre
>>>> > > >
>>>> > > > I already tried to remove gcj too.
>>>> > > >
>>>> > > > I still have the same error when I do make.
>>>> > > >
>>>> > > >
>>>> > > > 2014-04-09 13:19 GMT+01:00 BIENKOWSKI Guillaume <
>>>> > > > [email protected]>:
>>>> > > >
>>>> > > > > Hello Diogo,
>>>> > > > >
>>>> > > > > We found that using the GCJ java virtual machine produces these
>>>> errors,
>>>> > > > > whereas using the Oracle version goes flawlessly...
>>>> > > > > I suggest trying to install the Oracle JVM and update your
>>>> > > alternatives,
>>>> > > > > and retry.
>>>> > > > >
>>>> > > > > Cheers,
>>>> > > > >
>>>> > > > > *Guillaume BIENKOWSKI*
>>>> > > > >
>>>> > > > > *http://www.belledonne-communications.com/
>>>> > > > > <http://www.belledonne-communications.com/> *
>>>> > > > >
>>>> > > > > *sip:[email protected] <sip%[email protected]>*
>>>> > > > >
>>>> > > > >
>>>> > > > > On Wed, Apr 9, 2014 at 12:54 PM, Diogo Leite <
>>>> [email protected]
>>>> > > >wrote:
>>>> > > > >
>>>> > > > >> Hello,
>>>> > > > >>
>>>> > > > >> when I execute make on raspberry-pi to install belle-sip I get
>>>> this
>>>> > > error:
>>>> > > > >>
>>>> > > > >>
>>>> > > > >>
>>>> > > > >>
>>>> > > > >>  Makefile:574: warning: overriding commands for target
>>>> `.NOTPARALLEL'
>>>> > > > >> Makefile:568: warning: ignoring old commands for target
>>>> `.NOTPARALLEL'
>>>> > > > >> /usr/bin/antlr3  -make -Xmultithreaded  -fo  .
>>>> ./belle_sip_message.g
>>>> > > > >> two-threaded DFA conversion
>>>> > > > >> warning(200): ./belle_sip_message.g:1147:8: Decision can match
>>>> input
>>>> > > such
>>>> > > > >> as "CRLF" using multiple alternatives: 1, 2
>>>> > > > >> As a result, alternative(s) 2 were disabled for that input
>>>> > > > >> warning(200): ./belle_sip_message.g:1147:8: Decision can match
>>>> input
>>>> > > such
>>>> > > > >> as "SP" using multiple alternatives: 1, 2
>>>> > > > >> As a result, alternative(s) 2 were disabled for that input
>>>> > > > >> warning(200): ./belle_sip_message.g:1419:42: Decision can
>>>> match input
>>>> > > > >> such as "SP" using multiple alternatives: 1, 2, 3
>>>> > > > >> As a result, alternative(s) 3,2 were disabled for that input
>>>> > > > >> warning(200): ./belle_sip_message.g:1419:42: Decision can
>>>> match input
>>>> > > > >> such as "SEMI" using multiple alternatives: 1, 2
>>>> > > > >> As a result, alternative(s) 2 were disabled for that input
>>>> > > > >> warning(200): ./belle_sip_message.g:1419:42: Decision can
>>>> match input
>>>> > > > >> such as "CRLF" using multiple alternatives: 1, 2, 3
>>>> > > > >> As a result, alternative(s) 3,2 were disabled for that input
>>>> > > > >> error(201): ./belle_sip_message.g:1419:42: The following
>>>> alternatives
>>>> > > can
>>>> > > > >> never be matched: 2
>>>> > > > >>
>>>> > > > >> warning(205): ./belle_sip_message.g:454:3: ANTLR could not
>>>> analyze
>>>> > > this
>>>> > > > >> decision in rule dig_resp; often this is because of recursive
>>>> rule
>>>> > > > >> references visible from the left edge of alternatives.  ANTLR
>>>> will
>>>> > > > >> re-analyze the decision with a fixed lookahead of k=1.
>>>>  Consider using
>>>> > > > >> "options {k=1;}" for that decision and possibly adding a
>>>> syntactic
>>>> > > > >> predicate.
>>>> > > > >> error(10):  internal error:
>>>> > > > >> org.antlr.tool.Grammar.createLookaheadDFA(Grammar.java:1279):
>>>> could
>>>> > > not
>>>> > > > >> even do k=1 for decision 32; reason: timed out (>1000ms)
>>>> > > > >>
>>>> > > > >> ....................
>>>> > > > >>
>>>> > > > >> error(10):  internal error: ./belle_sip_message.g :
>>>> > > > >> java.lang.NullPointerException:
>>>> > > > >>
>>>> > > > >>
>>>> > >
>>>> org.antlr.analysis.DFAOptimizer.optimizeExitBranches(DFAOptimizer.java:185)
>>>> > > > >> org.antlr.analysis.DFAOptimizer.optimize(DFAOptimizer.java:164)
>>>> > > > >> org.antlr.analysis.DFAOptimizer.optimize(DFAOptimizer.java:143)
>>>> > > > >>
>>>> org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:314)
>>>> > > > >> org.antlr.Tool.generateRecognizer(Tool.java:641)
>>>> > > > >> org.antlr.Tool.process(Tool.java:454)
>>>> > > > >> org.antlr.Tool.main(Tool.java:91)
>>>> > > > >> make[3]: *** [belle_sip_messageParser.c] Error 1
>>>> > > > >> make[3]: Leaving directory
>>>> `/home/pi/belle-sip-1.3.0/src/grammars'
>>>> > > > >> make[2]: *** [all-recursive] Error 1
>>>> > > > >> make[2]: Leaving directory `/home/pi/belle-sip-1.3.0/src'
>>>> > > > >> make[1]: *** [all-recursive] Error 1
>>>> > > > >> make[1]: Leaving directory `/home/pi/belle-sip-1.3.0'
>>>> > > > >> make: *** [all] Error 2
>>>> > > > >>
>>>> > > > >>
>>>> > > > >> Antlr version:
>>>> > > > >> antlr3 - version 3.2-7
>>>> > > > >>
>>>> > > > >>
>>>> > > > >>
>>>> > > > >> How I can install belle-sip on raspberry-pi?
>>>> > > > >>
>>>> > > > >> Thank you
>>>> > > > >>
>>>> > > > >>
>>>> > > > >> _______________________________________________
>>>> > > > >> Linphone-users mailing list
>>>> > > > >> [email protected]
>>>> > > > >> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>> > > > >>
>>>> > > > >>
>>>> > > > >
>>>> > > > > _______________________________________________
>>>> > > > > Linphone-users mailing list
>>>> > > > > [email protected]
>>>> > > > > https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>> > > > >
>>>> > > > >
>>>> > >
>>>> > > > _______________________________________________
>>>> > > > Linphone-users mailing list
>>>> > > > [email protected]
>>>> > > > https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>> > >
>>>> > >
>>>> > > _______________________________________________
>>>> > > Linphone-users mailing list
>>>> > > [email protected]
>>>> > > https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>> > >
>>>>
>>>> > _______________________________________________
>>>> > Linphone-users mailing list
>>>> > [email protected]
>>>> > https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>>
>>>>
>>>> _______________________________________________
>>>> Linphone-users mailing list
>>>> [email protected]
>>>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> Linphone-users mailing list
>>> [email protected]
>>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>>
>>
>> _______________________________________________
>> Linphone-users mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>>
>
> _______________________________________________
> Linphone-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to