linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Build Linphone Android - Error


From: kanishka
Subject: [Linphone-developers] Build Linphone Android - Error
Date: Mon, 27 Jun 2016 00:34:01 -0700 (MST)

I am trying to build linphone android on my mac OS X El Capitan. 


./prepare.py -DENABLE_NON_FREE_CODECS=ON  completed fine, I am getting the
error when i try to make the project

it says 
-- Looking for arpa/nameser.h - not found
-- Looking for ctype.h

error log as bellow


kanishkas-MacBook-Pro:linphone-android kanishkasomaratne$ make
android update project --path . --target android-24
Updated project.properties
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file ./proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
android update test-project --path tests -m .
Resolved location of main project to:
/Users/kanishkasomaratne/Desktop/git/linphone-android/tests
Error: No project.properties at:
/Users/kanishkasomaratne/Desktop/git/linphone-android/tests
ant clean
Buildfile: /Users/kanishkasomaratne/Desktop/git/linphone-android/build.xml
[getbuildtools] Using latest Build Tools: 24.0.0

-check-env:
 [checkenv] Android SDK Tools Revision 25.1.7
 [checkenv] Installed at /Users/kanishkasomaratne/Library/Android/sdk

-setup:
     [echo] Project Name: Linphone
  [gettype] Project Type: Application

-pre-clean:

clean:
[getlibpath] Library dependencies:
[getlibpath] No Libraries
   [subant] No sub-builds to iterate on

BUILD SUCCESSFUL
Total time: 2 seconds
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C
WORK/android-arm/cmake
Scanning dependencies of target EP_antlr3c
[  1%] Creating directories for 'EP_antlr3c'
[  1%] No download step for 'EP_antlr3c'
[  1%] No patch step for 'EP_antlr3c'
[  2%] No update step for 'EP_antlr3c'
[  3%] Performing configure step for 'EP_antlr3c'
loading initial cache file
/Users/kanishkasomaratne/Desktop/git/linphone-android/WORK/android-arm//tmp/EP_antlr3c/EP_antlr3c-cache-RelWithDebInfo.cmake
-- Using sysroot path:
/Users/kanishkasomaratne/Downloads/android-ndk-r12/platforms/android-14/arch-arm
-- Using sysroot path:
/Users/kanishkasomaratne/Downloads/android-ndk-r12/platforms/android-14/arch-arm
-- The C compiler identification is Clang 3.8.256229
-- Check for working C compiler:
/Users/kanishkasomaratne/Downloads/android-ndk-r12/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Check for working C compiler:
/Users/kanishkasomaratne/Downloads/android-ndk-r12/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for arpa/nameser.h
-- Looking for arpa/nameser.h - not found
-- Looking for ctype.h
-- Looking for ctype.h - not found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - not found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for memory.h
-- Looking for memory.h - not found
-- Looking for netdb.h
-- Looking for netdb.h - not found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - not found
-- Looking for netinet/tcp.h
-- Looking for netinet/tcp.h - not found
-- Looking for resolv.h
-- Looking for resolv.h - not found
-- Looking for socket.h
-- Looking for socket.h - not found
-- Looking for stdarg.h
-- Looking for stdarg.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stdlib.h
-- Looking for stdlib.h - not found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for string.h
-- Looking for string.h - not found
-- Looking for sys/malloc.h
-- Looking for sys/malloc.h - not found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for accept
-- Looking for accept - not found
-- Looking for memmove
-- Looking for memmove - not found
-- Looking for memset
-- Looking for memset - not found
-- Looking for strdup
-- Looking for strdup - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of int8_t
-- Check size of int8_t - failed
-- Check size of uint8_t
-- Check size of uint8_t - failed
-- Check size of int16_t
-- Check size of int16_t - failed
-- Check size of uint16_t
-- Check size of uint16_t - failed
-- Check size of int32_t
-- Check size of int32_t - failed
-- Check size of uint32_t
-- Check size of uint32_t - failed
-- Check size of int64_t
-- Check size of int64_t - failed
-- Check size of uint64_t
-- Check size of uint64_t - failed
-- Check size of intptr_t
-- Check size of intptr_t - failed
-- Check size of uintptr_t
-- Check size of uintptr_t - failed
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_SHARED


-- Build files have been written to:
/Users/kanishkasomaratne/Desktop/git/linphone-android/WORK/android-arm/Build/antlr3c
[  4%] Forcing build for 'EP_antlr3c'
[  4%] Performing build step for 'EP_antlr3c'
Scanning dependencies of target antlr3c
[  4%] Building C object
runtime/C/src/CMakeFiles/antlr3c.dir/antlr3baserecognizer.c.o
In file included from
/Users/kanishkasomaratne/Desktop/git/linphone-android/submodules/externals/antlr3/runtime/C/src/antlr3baserecognizer.c:9:
In file included from
/Users/kanishkasomaratne/Desktop/git/linphone-android/submodules/externals/antlr3/runtime/C/include/antlr3baserecognizer.h:39:
/Users/kanishkasomaratne/Desktop/git/linphone-android/submodules/externals/antlr3/runtime/C/include/antlr3defs.h:372:13:
error: 
      unknown type name 'socklen_t'; did you mean '__socklen_t'?
   typedef  socklen_t   ANTLR3_SALENT;
            ^~~~~~~~~
            __socklen_t
/Users/kanishkasomaratne/Downloads/android-ndk-r12/platforms/android-14/arch-arm/usr/include/sys/_types.h:57:20:
note: 
      '__socklen_t' declared here
typedef __uint32_t      __socklen_t;    /* length type for network syscalls
*/
                        ^
1 error generated.
make[6]: *** [runtime/C/src/CMakeFiles/antlr3c.dir/antlr3baserecognizer.c.o]
Error 1
make[5]: *** [runtime/C/src/CMakeFiles/antlr3c.dir/all] Error 2
make[4]: *** [all] Error 2
make[3]: ***
[/Users/kanishkasomaratne/Desktop/git/linphone-android/WORK/android-arm/Stamp/EP_antlr3c/EP_antlr3c-build]
Error 2
make[2]: *** [CMakeFiles/EP_antlr3c.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [arm-build] Error 2



--
View this message in context: 
http://nongnu.13855.n7.nabble.com/Build-Linphone-Android-Error-tp213254.html
Sent from the linphone-developers mailing list archive at Nabble.com.



reply via email to

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