linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Linphone - Android (Belledonne) Compile Error


From: Tahir Jilani
Subject: Re: [Linphone-users] Linphone - Android (Belledonne) Compile Error
Date: Tue, 29 Mar 2016 10:37:56 +0500

Hi Ranjendra,

Are you performing NDK Build on Windows platform? Last time it was two years back when I tried on Windows machine and it was a pain. Now I build linphone source with NDK on my MacBook and its flawless. On windows I remember I had to assign user permissions to each of the files/folders in the source code.
I built the latest source code on Mac yesterday evening, I had to upgrade UPnP library to its latest version and the build went fine.
Let me know if I can help you building this on Mac. I am here my skype is tahir.jilani

Regards, 



On Wed, Mar 23, 2016 at 12:53 PM, Rajendra pulakkil <address@hidden> wrote:
Hello Team,


we are getting Following error when compile latest linphone android(Belledonne) downloaded from github

 git clone git://git.linphone.org/linphone-android.git --recursive

ERROR:
--------------------------
Scanning dependencies of target linphonecore-jni-header
make[6]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/Build/linphone'
make[6]: Entering directory `/usr/local/src/linphone-android/WORK/android-arm/Build/linphone'
error: cannot access org.linphone.core.LinphoneAddressImpl
class file for org.linphone.core.LinphoneAddressImpl not found
javadoc: error - Class org.linphone.core.LinphoneAddressImpl not found.
error: cannot access org.linphone.core.LinphoneAuthInfoImpl
class file for org.linphone.core.LinphoneAuthInfoImpl not found
javadoc: error - Class org.linphone.core.LinphoneAuthInfoImpl not found.
error: cannot access org.linphone.core.LinphoneCallImpl
class file for org.linphone.core.LinphoneCallImpl not found
javadoc: error - Class org.linphone.core.LinphoneCallImpl not found.
error: cannot access org.linphone.core.LinphoneCallLogImpl
class file for org.linphone.core.LinphoneCallLogImpl not found
javadoc: error - Class org.linphone.core.LinphoneCallLogImpl not found.
error: cannot access org.linphone.core.LinphoneCallParamsImpl
class file for org.linphone.core.LinphoneCallParamsImpl not found
javadoc: error - Class org.linphone.core.LinphoneCallParamsImpl not found.
error: cannot access org.linphone.core.LinphoneCallStatsImpl
class file for org.linphone.core.LinphoneCallStatsImpl not found
javadoc: error - Class org.linphone.core.LinphoneCallStatsImpl not found.
error: cannot access org.linphone.core.LinphoneChatMessageImpl
class file for org.linphone.core.LinphoneChatMessageImpl not found
javadoc: error - Class org.linphone.core.LinphoneChatMessageImpl not found.
error: cannot access org.linphone.core.LinphoneChatRoomImpl
class file for org.linphone.core.LinphoneChatRoomImpl not found
javadoc: error - Class org.linphone.core.LinphoneChatRoomImpl not found.
error: cannot access org.linphone.core.LinphoneCoreFactoryImpl
class file for org.linphone.core.LinphoneCoreFactoryImpl not found
javadoc: error - Class org.linphone.core.LinphoneCoreFactoryImpl not found.
error: cannot access org.linphone.core.LinphoneCoreImpl
class file for org.linphone.core.LinphoneCoreImpl not found
javadoc: error - Class org.linphone.core.LinphoneCoreImpl not found.
error: cannot access org.linphone.core.LinphoneFriendImpl
class file for org.linphone.core.LinphoneFriendImpl not found
javadoc: error - Class org.linphone.core.LinphoneFriendImpl not found.
error: cannot access org.linphone.core.LinphoneProxyConfigImpl
class file for org.linphone.core.LinphoneProxyConfigImpl not found
javadoc: error - Class org.linphone.core.LinphoneProxyConfigImpl not found.
error: cannot access org.linphone.core.PayloadTypeImpl
class file for org.linphone.core.PayloadTypeImpl not found
javadoc: error - Class org.linphone.core.PayloadTypeImpl not found.
error: cannot access org.linphone.core.LpConfigImpl
class file for org.linphone.core.LpConfigImpl not found
javadoc: error - Class org.linphone.core.LpConfigImpl not found.
error: cannot access org.linphone.core.LinphoneInfoMessageImpl
class file for org.linphone.core.LinphoneInfoMessageImpl not found
javadoc: error - Class org.linphone.core.LinphoneInfoMessageImpl not found.
error: cannot access org.linphone.core.LinphoneEventImpl
class file for org.linphone.core.LinphoneEventImpl not found
javadoc: error - Class org.linphone.core.LinphoneEventImpl not found.
error: cannot access org.linphone.core.PresenceActivityImpl
class file for org.linphone.core.PresenceActivityImpl not found
javadoc: error - Class org.linphone.core.PresenceActivityImpl not found.
error: cannot access org.linphone.core.PresenceModelImpl
class file for org.linphone.core.PresenceModelImpl not found
javadoc: error - Class org.linphone.core.PresenceModelImpl not found.
error: cannot access org.linphone.core.PresenceNoteImpl
class file for org.linphone.core.PresenceNoteImpl not found
javadoc: error - Class org.linphone.core.PresenceNoteImpl not found.
error: cannot access org.linphone.core.PresencePersonImpl
class file for org.linphone.core.PresencePersonImpl not found
javadoc: error - Class org.linphone.core.PresencePersonImpl not found.
error: cannot access org.linphone.core.PresenceServiceImpl
class file for org.linphone.core.PresenceServiceImpl not found
javadoc: error - Class org.linphone.core.PresenceServiceImpl not found.
error: cannot access org.linphone.core.ErrorInfoImpl
class file for org.linphone.core.ErrorInfoImpl not found
javadoc: error - Class org.linphone.core.ErrorInfoImpl not found.
error: cannot access org.linphone.core.TunnelConfigImpl
class file for org.linphone.core.TunnelConfigImpl not found
javadoc: error - Class org.linphone.core.TunnelConfigImpl not found.
Error: No classes were specified on the command line.  Try -help.
make[6]: *** [java/CMakeFiles/linphonecore-jni-header] Error 15
make[6]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/Build/linphone'
make[5]: *** [java/CMakeFiles/linphonecore-jni-header.dir/all] Error 2
make[5]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/Build/linphone'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/Build/linphone'
make[3]: *** [/usr/local/src/linphone-android/WORK/android-arm/Stamp/EP_linphone/EP_linphone-build] Error 2
make[3]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/cmake'
make[2]: *** [CMakeFiles/EP_linphone.dir/all] Error 2
make[2]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/cmake'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/linphone-android/WORK/android-arm/cmake'
make: *** [arm-build] Error 2
---------------------------------------------------------------------------------------------------------------------------------------

But we can see that all  those class files(LinphoneAddressImpl.java) are   in submodules/linphone/java/impl/org/linphone/core/ , but  its return class file not found.


SDK and android-ndk-r10c   are downloaded and set paths for platform-tools,tools and android-ndk-r10c in .bashrc file


echo $PATH variable return following output

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-6-oracle/bin:/usr/lib/jvm/java-6-oracle/db/bin:/usr/lib/jvm/java-6-oracle/jre/bin:/home/test/Android/Sdk/tools:/home/test/Android/Sdk/platform-tools:/home/test/Downloads/android-ndk-r10c


Content of a  .classpath file

<classpath>
        <classpathentry excluding="org/linphone/mediastream/MediastreamerActivity.java" kind="src" path="submodules/linphone/mediastreamer2/java/src"/>
        <classpathentry kind="src" path="submodules/linphone/java/j2se"/>
        <classpathentry kind="src" path="submodules/linphone/java/common"/>
        <classpathentry kind="src" path="submodules/linphone/java/impl"/>
        <classpathentry kind="src" path="submodules/externals/axmlrpc/src/main/java"/>
        <classpathentry kind="src" path="submodules/linphone/coreapi/help/java"/>
        <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
        <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
        <classpathentry kind="lib" path="libs/android-support-v4.jar"/>
        <classpathentry exported="true" kind="lib" path="libs/gcm.jar"/>
        <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="src" path="gen"/>
        <classpathentry kind="output" path="bin/classes"/>
</classpath>

please help us to solve this issue

thanks in advance and awaiting for reply

--
Thanks & regards



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




--
Tahir Jilani

Co-founder & CTO

Lahore, Pakistan

Notice of Confidentiality: This message is intended solely for the use of its addressee and may contain privileged or confidential information. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.

reply via email to

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