Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Anyone got libnative_camera working on Nexus 9 Lollipop ?

Hi,

Does anyone got libnative_camera working on lollipop on a Nexus 9, I tried including the .so files and through opencv_manager but both (obviously) got stuck on a missing symbol.

Below are the errors by opencv_manager.

Thanks,

Bruno

 dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.4.0.so"..." 

dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.3.0.so"..."

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.2.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.1.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r3.0.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.3.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.2.0.so"..."

Anyone got libnative_camera working on Nexus 9 Lollipop ?

Hi,

Does anyone got libnative_camera working on lollipop on a Nexus 9, I tried including the .so files and through opencv_manager but both (obviously) got stuck on a missing symbol.

Below are the errors by opencv_manager.

Thanks,

Bruno

 dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.4.0.so"..." 

dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.3.0.so"..."

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.2.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.1.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r3.0.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.3.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.2.0.so"..."

-

looks like BufferQueue(android::sp<android::igraphicbufferalloc> const&) is removed.

I find it back on my nexus7 (kitkat 4.4.4):

[email protected] ~/Android/analyze/nexus7/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
   371: 00024c79   428 FUNC    GLOBAL DEFAULT    8 _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE

But not on the Nexus 9 (Lollipop 5.01)

[email protected] ~/Android/analyze/nexus9/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
[email protected] ~/Android/analyze/nexus9/system/lib $

_ZN7android6Camera10disconnectEv must be deprecated some time ago since I don't find any reference

Anyone got libnative_camera working on Nexus 9 Lollipop ?

Hi,

Does anyone got libnative_camera working on lollipop on a Nexus 9, I tried including the .so files and through opencv_manager but both (obviously) got stuck on a missing symbol.

Below are the errors by opencv_manager.

Thanks,

Bruno

 dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.4.0.so"..." 

dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.3.0.so"..."

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.2.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.1.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r3.0.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.3.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.2.0.so"..."

-

looks like BufferQueue(android::sp<android::igraphicbufferalloc> const&) is removed.

I find it back on my nexus7 (kitkat 4.4.4):

[email protected] ~/Android/analyze/nexus7/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
   371: 00024c79   428 FUNC    GLOBAL DEFAULT    8 _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE

But not on the Nexus 9 (Lollipop 5.01)5.0.1)

[email protected] ~/Android/analyze/nexus9/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
[email protected] ~/Android/analyze/nexus9/system/lib $

_ZN7android6Camera10disconnectEv must be deprecated some time ago since I don't find any reference

Anyone got libnative_camera working on Nexus 9 Lollipop ?

Hi,

Does anyone got libnative_camera working on lollipop on a Nexus 9, I tried including the .so files and through opencv_manager but both (obviously) got stuck on a missing symbol.

Below are the errors by opencv_manager.

Thanks,

Bruno

 dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.4.0.so"..." 

dlerror="dlopen failed: cannot locate symbol "_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE" referenced by "libnative_camera_r4.3.0.so"..."

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.2.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.1.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r4.0.0.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r3.0.1.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.3.3.so"..."                                

dlerror="dlopen failed: cannot locate symbol "_ZN7android6Camera10disconnectEv" referenced by "libnative_camera_r2.2.0.so"..."

-

looks like BufferQueue(android::sp<android::igraphicbufferalloc> const&) is removed.

I find it back on my nexus7 (kitkat 4.4.4):

[email protected] ~/Android/analyze/nexus7/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
   371: 00024c79   428 FUNC    GLOBAL DEFAULT    8 _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE

But not on the Nexus 9 (Lollipop 5.0.1)

[email protected] ~/Android/analyze/nexus9/system/lib $ readelf -Ws libgui.so | grep _ZN7android11BufferQueueC1ERKNS_2spINS_19IGraphicBufferAllocEEE
[email protected] ~/Android/analyze/nexus9/system/lib $

_ZN7android6Camera10disconnectEv must be deprecated some time ago since I don't find any reference

Update: BufferQueue constructors are idd deleted some time ago: http://85.214.228.141/android-legacy/android_frameworks_native/commit/e0d5862ad85f7bf4feb1eee9444bf3a5b49c5842