linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Unable to build, latest sources, ndk and plataform-


From: 宋智峰
Subject: Re: [Linphone-users] Unable to build, latest sources, ndk and plataform-tools
Date: Mon, 22 Feb 2016 17:13:19 +0800

Hi Victor
 
I'm experiencing the same problem while building the app today. Did you resolve it?
 
Thanks,
Frank 016-02-19

宋智峰

发件人:Victor <address@hidden>
发送时间:2015-05-21 22:18
主题:[Linphone-users] Unable to build, latest sources, ndk and plataform-tools
收件人:"linphone-users"<address@hidden>
抄送:
 
Hello, i've been able to build the linphone app for android several times previously successfully.
However i removed the sources i had, and cloned them again with git to have clean sources, in a try to get a new/updated build of linphone.

I'm using android ndk 10e, the plataform-tools files are updated, java is 1.7.0.80

I do:

export PATH=$PATH:/opt/android-ndk/:/opt/android-sdk-update-manager/tools/:/opt/android-sdk-update-manager/platform-tools/
make BUILD_FOR_X86=0 BUILD_OPUS=0 BUILD_UPNP=0 BUILD_G729=1


And if fails with this message:

*********************************************************************************
    [AR] libvpx_g.a
    [CP] libvpx.a < libvpx_g.a
make[2]: No se hace nada para 'all'.
make[1]: se sale del directorio '/root/linphone-android/submodules/externals/build/libvpx/arm'
ant -e -S javah
Buildfile: /root/linphone-android/build.xml
No sub-builds to iterate on
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:56: error: cannot find symbol
                        .setVisibility(Notification.VISIBILITY_PRIVATE)
                                                   ^
  symbol:   variable VISIBILITY_PRIVATE
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:55: error: cannot find symbol
                        .setCategory(Notification.CATEGORY_MESSAGE)
                                                 ^
  symbol:   variable CATEGORY_MESSAGE
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:74: error: cannot find symbol
                        .setVisibility(Notification.VISIBILITY_PUBLIC)
                                                   ^
  symbol:   variable VISIBILITY_PUBLIC
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:73: error: cannot find symbol
                        .setCategory(Notification.CATEGORY_CALL)
                                                 ^
  symbol:   variable CATEGORY_CALL
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:92: error: cannot find symbol
                                .setVisibility(Notification.VISIBILITY_SECRET)
                                                           ^
  symbol:   variable VISIBILITY_SECRET
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:91: error: cannot find symbol
                                .setCategory(Notification.CATEGORY_SERVICE)
                                                         ^
  symbol:   variable CATEGORY_SERVICE
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:102: error: cannot find symbol
                                .setVisibility(Notification.VISIBILITY_SECRET)
                                                           ^
  symbol:   variable VISIBILITY_SECRET
  location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:101: error: cannot find symbol
                                .setCategory(Notification.CATEGORY_SERVICE)
                                                         ^
  symbol:   variable CATEGORY_SERVICE
  location: class Notification
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
8 errors

BUILD FAILED
/opt/android-sdk-update-manager/tools/ant/build.xml:720: The following error occurred while executing this line:
/opt/android-sdk-update-manager/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.

Total time: 6 seconds
Makefile:455: fallo en las instrucciones para el objetivo 'javah'
make: *** [javah] Error 1

******************************************************

Any idea about what's wrong?

Thanks!

reply via email to

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