RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    impossible to build lr-PUAE on Intel NUC

    Help and Support
    amiga lr-puae x86 x86-64
    2
    3
    45
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yserra
      yserra last edited by

      Hi all,

      Hardware : Intel NUC 8i7HVK ("Hades Canyon") with Core i7-88009G, 16 GB of RAM, 1 TB hard drive
      Monitor : HDMI->DVI Dell Monitor without speakers
      Sound : simple headset from the front jack (works very well during games)
      System : Ubuntu 22.04 64-bit Desktop, Linux 5.15.0-43-generic, Retropie 4.8.2
      Home directory : /home/yann (not /home/pi)

      I just migrated my Raspberry Pi 4's RetroPie ROMs/BIOS/Configs environment to an Intel PC NUC. Everything works like a charm, except Amiga emulation (I'm using the excellent Amiberry on Raspberry ; it's so sad only lr-PUAE is available on x86...).

      I can only install (the lower) lr-PUAE2021, not the real lr-PUAE. Since I can't install any binary, I can only compile from the source, here is the error I get when RetroPie-setup tries to build lr-PUAE:

      ...
      cc -fPIC  -march=native -O2 -Wstringop-overflow=0 -Wno-unused-result -O3 -Wno-format -Wno-format-security -DHAVE_7ZIP -D_7ZIP_ST -std=gnu99 -DINLINE="inline" -D__LIBRETRO__ -MMD -DUSE_LIBRETRO_VFS -DWITH_CHD -DGIT_VERSION=\"" a9608db"\"   -I./sources/src -I./sources/src/include -I. -I./retrodep -I./deps/7zip -I./libretro -I./libretro-common/include -I./libretro-common/include/compat/zlib -I./deps/libchdr/include -c -o sources/src/audio.o sources/src/audio.c
      In file included from sources/src/audio.c:45:
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      /usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:1: error: expected ‘;’ before ‘extern’
        133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
            | ^~~~~~~~~~~~~~
      make: *** [Makefile:333 : sources/src/audio.o] Erreur 1
      make: *** Attente des tâches non terminées....
      Could not successfully build lr-puae - P-UAE Amiga emulator port for libretro (/home/yann/RetroPie-Setup/tmp/build/lr-puae/puae_libretro.so not found).
      

      Could you please tell me what I'm missing?
      Many thanks.

      1 Reply Last reply Reply Quote 0
      • mitu
        mitu Global Moderator last edited by

        Looks like an upstream issue, due to the newer glibc - https://github.com/libretro/libretro-uae/pull/529.
        fs-uae (another Amiga emulator available) should also be available on x86.

        repojohnray created this issue in libretro/libretro-uae

        open Build fix: glibc 2.35+ #529

        yserra 1 Reply Last reply Reply Quote 1
        • yserra
          yserra @mitu last edited by

          @mitu Thank you for this answer.

          As far as I understand, FS-UAE - which is a fantastic emulator I use on my Mac - needs extra .fsuae config files for every single game to run them from Emulationstation.

          Since I try to keep my collections synchronized between the Raspberry and the PC, I will then wait for the Libretro team to fix the issue on lr-PUAE (or for an Amiberry x86 version, which would be the best solution in my case, but, unfortunately, it doesn't seem to be on the pipe).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.