linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone MAC OSX belle-sip compile


From: Paulo Vicentini
Subject: Re: [Linphone-developers] Linphone MAC OSX belle-sip compile
Date: Fri, 9 Aug 2013 14:24:53 -0300

you might use antlr-3.4-complete.jar under antlr3/

Paulo


On Fri, Aug 9, 2013 at 4:39 AM, Emil Sandberg <address@hidden> wrote:
Hi, 

I'm stuck on the compile on belle-sip and cant complete the build on linphone for mac. 

Get this error: 

test2s-Mac:belle-sip test2$ ./configure && make && make install
checking build system type... x86_64-apple-darwin12.0.0
checking host system type... x86_64-apple-darwin12.0.0
checking target system type... x86_64-apple-darwin12.0.0
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /opt/local/bin/grep
checking for egrep... /opt/local/bin/grep -E
checking for fgrep... /opt/local/bin/grep -F
checking for ld used by gcc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12.0.0 file names to x86_64-apple-darwin12.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.0.0 file names to toolchain format... func_convert_file_noop
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking antlr3.h usability... no
checking antlr3.h presence... no
checking for antlr3.h... no
checking whether antlr3StringStreamNew is declared... no
checking whether res_ndestroy is declared... yes
configure: error: Could not find antlr3 development files. Please install antlr3 version > 3.2 (libantlr3c-dev on debian/ubuntu systems)
test2s-Mac:belle-sip test2$

tried making my own antlr from git but get error there aswell. 

using the command to build: mvn -Dmaven.test.skip=true

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ANTLR Master build control POM .................... SUCCESS [0.702s]
[INFO] Antlr Runtime 3.4.1-SNAPSHOT ...................... SUCCESS [1.514s]
[INFO] ANTLR Tool 3.4.1-SNAPSHOT ......................... FAILURE [8.750s]
[INFO] Maven plugin for ANTLR V3 ......................... SKIPPED
[INFO] ANTLR gUnit ....................................... SKIPPED
[INFO] Maven plugin for gUnit ANTLR V3 ................... SKIPPED
[INFO] ANTLR3 Maven Archetype ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.051s
[INFO] Finished at: Fri Aug 09 00:36:09 PDT 2013
[INFO] Final Memory: 25M/458M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project antlr: Compilation failure: Compilation failure:
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/tool/Grammar.java:[795,19] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/tool/Grammar.java:[1632,17] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/tool/Grammar.java:[1648,17] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[602,14] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[608,14] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[614,14] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[819,8] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[873,15] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/codegen/CodeGenerator.java:[883,15] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/src/main/java/org/antlr/tool/GrammarNonDeterminismMessage.java:[109,7] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[3472,22] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[3723,21] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[3874,34] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[5172,27] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[5220,33] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[5284,33] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[6203,45] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[6522,67] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[6550,62] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[6904,27] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[6944,32] error: method addAggr in class ST cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /Users/test2/Dev/antlr3/tool/target/generated-sources/antlr3/org/antlr/grammar/v3/CodeGenTreeWalker.java:[7467,39] error: method addAggr in class ST cannot be applied to given types;
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :antlr
test2s-Mac:antlr3 test2$

Any help appreciated 

Best Regards Emil

--

   Emil Sandberg
 JoiceCare Support 
    073-5250659
 

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



reply via email to

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