linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Fwd: Install belle-sip on raspberry-pi error


From: Guillaume Beraudo
Subject: Re: [Linphone-users] Fwd: Install belle-sip on raspberry-pi error
Date: Wed, 9 Apr 2014 16:43:37 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden
> >:
> 
> > 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 <
> > > address@hidden>:
> > >
> > > > 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:address@hidden <address@hidden>*
> > > >
> > > >
> > > > On Wed, Apr 9, 2014 at 12:54 PM, Diogo Leite <address@hidden
> > >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
> > > >> address@hidden
> > > >> https://lists.nongnu.org/mailman/listinfo/linphone-users
> > > >>
> > > >>
> > > >
> > > > _______________________________________________
> > > > Linphone-users mailing list
> > > > address@hidden
> > > > https://lists.nongnu.org/mailman/listinfo/linphone-users
> > > >
> > > >
> >
> > > _______________________________________________
> > > Linphone-users mailing list
> > > address@hidden
> > > https://lists.nongnu.org/mailman/listinfo/linphone-users
> >
> >
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/linphone-users
> >

> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

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