Guest User

Untitled

a guest
Jan 21st, 2017
7
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PlatformSDK [faraday@probook ~]$ sdk-manage-mod --use-chroot-as $(id -un) --target --install $VENDOR-$DEVICE-$PORT_ARCH Mer-SB2-armv7hl Jolla-latest-Sailfish_SDK_Target-armv7hl.tar.bz2
  2.  
  3. Unpacking target ...
  4. Setting up SB2
  5. Using /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc to detect target architecture:
  6. collect2: fatal error: cannot find 'ld'
  7. compilation terminated.
  8. Finished writing sb2.gcc.config
  9. gcc configured.
  10. sb2-init: Target architecture is 'armv7hl'
  11. sb2-init: Host architecture is 'i[3456]86'
  12. No targets found, create some with sb2-init!
  13. Finished writing sb2.config
  14. sb2-init: Creating Debian build system settings for this target:
  15. target_uuidgen: generating a unique id for huawei-frd-armv7hl target
  16. Target huawei-frd-armv7hl now setup
  17. PlatformSDK [faraday@probook ~]$ sdk-assistant list
  18. huawei-frd-armv7hl
  19. PlatformSDK [faraday@probook ~]$ sdk-manage --target --list
  20. sudo: unknown user: mersdk sudo: unable to initialize policy plugin
  21. PlatformSDK [faraday@probook ~]$ sdk-manage --toolchain --list
  22. Mer-SB2-armv7hl,i
  23. Mer-SB2-armv7tnhl,
  24. Mer-SB2-i486,i
  25. PlatformSDK [faraday@probook ~]$ ls -al main.c
  26. -rw-rw-r-- 1 faraday faraday 107 Jan 21 13:01 main.c
  27. PlatformSDK [faraday@probook ~]$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test
  28. armv7hl-meego-linux-gnueabi-gcc: error: main.c: No such file or directory
  29. armv7hl-meego-linux-gnueabi-gcc: fatal error: no input files
  30. compilation terminated.
  31. PlatformSDK [faraday@probook ~]$
RAW Paste Data