1. Junnun Karim's Avatar
    I was trying to build retroarch cores for qnx from "libretro-super" repo on ubuntu.
    But I got some errors about not finding qcc.
    I have Blackberry NDK installed but I can't seem to use qcc in terminal.
    Can anyone please help me out?

    here's the log from "gpsp" core :

    ************************************
    Building gpsp...
    cd "/home/home/libretro-super/libretro-gpsp"
    make platform="qnx" -j7 clean
    rm -f ./main.o ./cpu.o ./gba_memory.o ./video.o ./input.o ./sound.o ./cheats.o ./libretro.o ./gba_cc_lut.o ./libco/libco.o ./cpu_threaded.o gpsp_libretro_qnx.so
    make platform="qnx" -j7 CC="qcc -Vgcc_ntoarmv7le" CXX="QCC -Vgcc_ntoarmv7le_cpp"
    qcc -Vgcc_ntoarmv7le -I. -DGIT_VERSION="" cbcb5df"" -D__BLACKBERRY_QNX_ -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC -DHAVE_MMAP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -Wall -DUSE_LIBCO -DHAVE_DYNAREC -DNDEBUG=1 -fPIC -DFRONTEND_SUPPORTS_RGB565 -O3 -DNDEBUG -c -o main.o main.c
    qcc -Vgcc_ntoarmv7le -I. -DGIT_VERSION="" cbcb5df"" -D__BLACKBERRY_QNX_ -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC -DHAVE_MMAP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -Wall -DUSE_LIBCO -DHAVE_DYNAREC -DNDEBUG=1 -fPIC -DFRONTEND_SUPPORTS_RGB565 -O3 -DNDEBUG -c -o cpu.o cpu.c
    qcc -Vgcc_ntoarmv7le -I. -DGIT_VERSION="" cbcb5df"" -D__BLACKBERRY_QNX_ -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC -DHAVE_MMAP -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -Wall -DUSE_LIBCO -DHAVE_DYNAREC -DNDEBUG=1 -fPIC -DFRONTEND_SUPPORTS_RGB565 -O3 -DNDEBUG -c -o gba_memory.o gba_memory.c
    /bin/sh: 1: qcc: not found/bin/sh: 1:
    qcc: not found
    make: *** [Makefile:499: main.o] Error 127
    make: *** Waiting for unfinished jobs....
    make: *** [Makefile:499: cpu.o] Error 127
    /bin/sh: 1: qcc: not found
    make: *** [Makefile:499: gba_memory.o] Error 127
    cp "gpsp_libretro_qnx.so" "/home/home/libretro-super/dist/qnx/gpsp_libretro_qnx.so"
    cp: cannot stat 'gpsp_libretro_qnx.so': No such file or directory
    ************************************

    EDIT_1:

    Got qcc to work by sourcing the env script in the momentics directory.
    But still couldn't build the cores. Currently trying to figure out the errors...
    (took some time because I'm a newbie.)
    Last edited by Junnun Karim; 03-08-21 at 03:51 AM. Reason: got qcc to work
    03-06-21 12:14 PM

Similar Threads

  1. Backup/restore WhatsApp with factory reset
    By snaresbrook in forum BlackBerry Classic
    Replies: 1
    Last Post: 03-01-21, 08:39 PM
  2. Need Help to Passport Essential Gestures Bypass
    By justphemy in forum BlackBerry Passport
    Replies: 9
    Last Post: 03-01-21, 08:39 AM
  3. Please need help with old Blackberry 8703e (on verizon),
    By rkjohnsjr in forum BlackBerry 87xx Series
    Replies: 11
    Last Post: 02-28-21, 08:16 PM
  4. Replies: 5
    Last Post: 02-23-21, 06:36 PM
  5. Need help with Playbook BBID/login
    By theFred2012 in forum BlackBerry PlayBook
    Replies: 1
    Last Post: 02-17-21, 07:36 AM
LINK TO POST COPIED TO CLIPBOARD