Hello,
I downloaded the last retroarch source from git and tried to compile it. I can successfully compile 64 cores but 11 falied. I need your help to compile gw, mame like and bsnes cores. I think ffmpeg does not compile because Ubuntu uses libavcodec fork instead?
This is the end of retroarch compilation:
… g++ -std=gnu++0x -o bnes_libretro.so -dynamiclib obj/nes-interface.o obj/nes-system.o obj/nes-scheduler.o obj/nes-input.o obj/nes-cartridge.o obj/nes-memory.o obj/nes-cpu.o obj/nes-apu.o obj/nes-ppu.o obj/nes-cheat.o obj/libnes.o obj/libco.o /usr/lib/gcc/x86_64-linux-gnu/4.9/…/…/…/x86_64-linux-gnu/crt1.o: dans la fonction « _start »: /build/buildd/glibc-2.21/csu/…/sysdeps/x86_64/start.S:114: référence indéfinie vers « main » collect2: error: ld returned 1 exit status Makefile:69: recipe for target ‘bnes_libretro.so’ failed make: *** [bnes_libretro.so] Error 1 cp “bnes_libretro.so” “/home/romain/Applications_persos/Jeux/Emulateurs/RetroArch/libretro-super09082015/dist/unix/bnes_libretro.so” cp: impossible d’évaluer «bnes_libretro.so»: Aucun fichier ou dossier de ce type === Building RetroArch test cores === === OpenGL enabled === cd “/home/romain/Applications_persos/Jeux/Emulateurs/RetroArch/libretro-super09082015/retroarch/cores/libretro-test-gl” make -f “Makefile” platform=“unix-opengl” “-j4” clean rm -f libretro-test.o …/…/libretro-common/glsym/rglgen.o …/…/libretro-common/glsym/glsym_gl.o testgl_libretro.dll make -f “Makefile” platform=“unix-opengl” CC=“gcc” CXX=“g++” “-j4” gcc -I…/…/libretro-common/include -I… -O3 -std=gnu99 -Wall -pedantic -c -o libretro-test.o libretro-test.c gcc -I…/…/libretro-common/include -I… -O3 -std=gnu99 -Wall -pedantic -c -o …/…/libretro-common/glsym/rglgen.o …/…/libretro-common/glsym/rglgen.c gcc -I…/…/libretro-common/include -I… -O3 -std=gnu99 -Wall -pedantic -c -o …/…/libretro-common/glsym/glsym_gl.o …/…/libretro-common/glsym/glsym_gl.c gcc -shared -static-libgcc -static-libstdc++ -s -Wl,–version-script=link.T -Wl,–no-undefined -o testgl_libretro.dll libretro-test.o …/…/libretro-common/glsym/rglgen.o …/…/libretro-common/glsym/glsym_gl.o -lopengl32 -lm /usr/bin/ld.bfd.real: libretro-test.o: réadressage de R_X86_64_32 en vertu de «.rodata.str1.1» ne peut être utilisé lors de la création d’un objet partagé; recompilez avec -fPIC libretro-test.o: error adding symbols: Mauvaise valeur collect2: error: ld returned 1 exit status Makefile:149: recipe for target ‘testgl_libretro.dll’ failed make: *** [testgl_libretro.dll] Error 1 Failed to build retroarch cp “testgl_libretro.so” “/home/romain/Applications_persos/Jeux/Emulateurs/RetroArch/libretro-super09082015/dist/unix/testgl_libretro.so” cp: impossible d’évaluer «testgl_libretro.so»: Aucun fichier ou dossier de ce type cd “/home/romain/Applications_persos/Jeux/Emulateurs/RetroArch/libretro-super09082015/retroarch/cores/libretro-test” make -f “Makefile” platform=“unix-opengl” “-j4” clean rm -f libretro-test.o test_libretro.dll make -f “Makefile” platform=“unix-opengl” CC=“gcc” CXX=“g++” “-j4” gcc -O3 -Wall -pedantic -std=gnu99 -c -o libretro-test.o libretro-test.c gcc -shared -static-libgcc -static-libstdc++ -s -Wl,–version-script=link.T -Wl,–no-undefined -o test_libretro.dll libretro-test.o -lm /usr/bin/ld.bfd.real: libretro-test.o: réadressage de R_X86_64_32 en vertu de «.rodata.str1.1» ne peut être utilisé lors de la création d’un objet partagé; recompilez avec -fPIC libretro-test.o: error adding symbols: Mauvaise valeur collect2: error: ld returned 1 exit status Makefile:75: recipe for target ‘test_libretro.dll’ failed make: *** [test_libretro.dll] Error 1 Failed to build retroarch cp “test_libretro.so” “/home/romain/Applications_persos/Jeux/Emulateurs/RetroArch/libretro-super09082015/dist/unix/test_libretro.so” cp: impossible d’évaluer «test_libretro.so»: Aucun fichier ou dossier de ce type 64 core(s) successfully processed: 2048 bluemsx dosbox catsfc fb_alpha fceumm fmsx gambatte handy stella nestopia nxengine prboom quicknes snes9x_next tyrquake vba_next vecx mgba genesis_plus_gx bsnes_cplusplus98 mednafen_gba mednafen_lynx mednafen_ngp mednafen_pce_fast mednafen_supergrafx mednafen_vb mednafen_wswan prosystem 81 fuse tgbdual gpsp o2em 4do desmume picodrive virtualjaguar mupen64plus 3dengine snes9x vbam scummvm mednafen_pcfx mednafen_psx mednafen_snes yabause hatari meteor dinothawr stonesoup bsnes_accuracy bsnes_balanced bsnes_performance bsnes_mercury_accuracy bsnes_mercury_balanced bsnes_mercury_performance mame emux_chip8 emux_gb emux_nes emux_sms pcsx_rearmed ppsspp 11 core(s) failed: mame078 gw lutro mame139 mame159 mess ume ffmpeg bnes testgl test
Thank you for your help.