언어 설정

Menu
Sites
Language
Skipping incompatible library

I have problem with implementation of Knox Tizen standard SDK.

I am using:

-Windows 7 Enterprise x64, SP 1

-Tizen SDK IDE Version : 2.4.0 Rev3 Build id : 20151223-1451

-Knox Tizen SDK released 20151207

 

To reproduce, create Hello World sample native project, add Knox Tizen SDK libs and inc files and add "mdm" to C++ Linker libraries.

After build my project, following errors appears:

    skipping incompatible C:/IT/workspace/Tizen/HelloWorld/lib/libmdm.so when searching for -lmdm

    cannot find -lmdm

Any idea why compliler skip libmdm.so file ?

 Console log:

10:16:43 **** Incremental Build of configuration Debug for project HelloWorld ****
ninja all 
[1/2] Building src/helloworld.o
[2/2] Linking helloworld
FAILED: clang++.exe -o helloworld src/test.o src/helloworld.o   -lmdm -L"C:/IT/workspace/Tizen/HelloWorld/lib" -target i386-tizen-linux-gnueabi -gcc-toolchain "C:/IT/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.9/" -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed  -pie -lpthread -Xlinker -rpath="/home/developer/sdk_tools/lib" --sysroot="C:/IT/tizen-sdk/tools/smart-build-interface/../../platforms/tizen-2.4/mobile/rootstraps/mobile-2.4-emulator.core" -Xlinker --version-script="C:/IT/workspace/Tizen/HelloWorld/.exportMap" -L"C:/IT/tizen-sdk/tools/smart-build-interface/../../platforms/tizen-2.4/mobile/rootstraps/mobile-2.4-emulator.core/usr/lib" -lBrokenLocale -laccounts-svc -lanl -lappcore-agent -lattach-panel -lbadge -lbase-utils-i18n -lbundle -lcairo -lcalendar-service2 -lcapi-appfw-alarm -lcapi-appfw-app-common -lcapi-appfw-app-control -lcapi-appfw-application -lcapi-appfw-app-manager -lcapi-appfw-event -lcapi-appfw-package-manager -lcapi-appfw-preference -lcapi-appfw-widget-application -lcapi-base-common -lcapi-content-media-content -lcapi-content-mime-type -lcapi-data-control -lcapi-geofence-manager -lcapi-location-manager -lcapi-maps-service -lcapi-media-audio-io -lcapi-media-camera -lcapi-media-codec -lcapi-media-controller -lcapi-media-image-util -lcapi-media-metadata-editor -lcapi-media-metadata-extractor -lcapi-media-player -lcapi-media-radio -lcapi-media-recorder -lcapi-media-screen-mirroring -lcapi-media-sound-manager -lcapi-media-thumbnail-util -lcapi-media-tone-player -lcapi-media-tool -lcapi-media-video-util -lcapi-media-vision -lcapi-media-wav-player -lcapi-message-port -lcapi-messaging-email -lcapi-messaging-messages -lcapi-network-bluetooth -lcapi-network-connection -lcapi-network-nfc -lcapi-network-smartcard -lcapi-network-wifi -lcapi-system-device -lcapi-system-info -lcapi-system-media-key -lcapi-system-runtime-info -lcapi-system-sensor -lcapi-system-system-settings -lcapi-telephony -lcapi-ui-efl-util -lcapi-ui-inputmethod-manager -lcapi-ui-inputmethod -lcapi-web-url-download -lcidn -lcontacts-service2 -lcontext -lcore-context-manager -lcore-sync-client -lcrypto -lcrypt -lc -lcurl -ldali-adaptor -ldali-core -ldali-toolkit -ldlog -ldl -lebluez -leconnman0_7x -lecore_buffer -lecore_con -lecore_evas -lecore_file -lecore_imf_evas -lecore_imf -lecore_input_evas -lecore_input -lecore_ipc -lecore -lecore_x -ledbus -ledje -leet -lefl-extension -lefreet_mime -lefreet -lefreet_trash -lehal -leina -leio -lelementary -lembryo -lenotify -leofono -leom -leo -lethumb_client -lethumb -leukit -levas -lewebkit2 -lexif -lfeedback -lfontconfig -lfreetype -lgio-2.0 -lglib-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lharfbuzz-icu -lharfbuzz -ljson-glib-1.0 -lkey-manager-client -lminicontrol-provider -lminicontrol-viewer -lminizip -lm -lnotification -lnsl -lnss_compat -lnss_dns -lnss_files -lnss_hesiod -lnss_nisplus -lnss_nis -loauth2 -loauth -lopenal -lphonenumber-utils -lprivilege-info -lpthread -lpush -lresolv -lrt -lservice-adaptor-client -lshortcut -lsqlite3 -lssl -lstorage -lstt -ltbm -lthread_db -lttrace -ltts -lutil -lvc-elm -lvc -lwidget_service -lwidget_viewer_evas -lwifi-direct -lxml2 -lz -Xlinker -rpath="/opt/usr/apps/org.example.helloworld/lib" -Werror-implicit-function-declaration
c:/it/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.9/bin/../lib/gcc/i386-linux-gnueabi/4.9.2/../../../../i386-linux-gnueabi/bin/ld.exe: skipping incompatible C:/IT/workspace/Tizen/HelloWorld/lib/libmdm.so when searching for -lmdm

c:/it/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.9/bin/../lib/gcc/i386-linux-gnueabi/4.9.2/../../../../i386-linux-gnueabi/bin/ld.exe: cannot find -lmdm

collect2.exe: error: ld returned 1 exit status

clang++.exe: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

ninja: build stopped: subcommand failed.

10:16:48 Build Finished (took 4s.878ms)

 

Edited by: Lukas K on 05 2월, 2016
답변 바로가기

Responses

2 댓글
Mark as answer
Shinjae Lee

Hi, as far as I understood, mdm build is possible in target only.

I think that you build x86 configuration not arm configuration.

Lukas K

You're right! I've changed Tizen settings architecture for ARMv7 and I can build my project with no errors. Thanks.

-

Unfortunately, when I deploy my project to emulator, architecture settings changes automatically to x86. How can I create x64 Tizen 2.4 emulator? I cannot find option to do that in manager.