RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Scheduled Pinned Locked Moved Help and Support
    amigalr-puaex86x86-64
    6 Posts 3 Posters 733 Views
    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.
    • Y
      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
      • mituM
        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.

        Y 1 Reply Last reply Reply Quote 1
        • Y
          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
          • DjDiabolikD
            DjDiabolik
            last edited by

            @mitu confirm again this issue at today..........

            Yesterday i have tryed to compile lr-puae but it's fail.

            Need to write all story.

            Recently i have received in gift a, i don't call if i can call a NUC, a Asus WM40B.
            I have installed UBUNTU 22.04.1 and also i have installed all retropie-setup basically core and package.

            Apparently all works whitout any issue but last night i have tryed to compile LR-PUAE and it's fail....... the retropie-setup let me in to check the log and in the log it's appears a very similar errors reported here by @yserra

            It's fixable ? It's exist an alternative ?

            And Damn... it's my MiniPC can call a Intel NUC ? Lol :)

            P.S. I have also a similar issue when try to compiling lr-mame........ here after about 30 minutes i see Terminal apparently crash and it's closing himself but it's a totally different story...... if need i try to open another dedicated thread.

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

              @DjDiabolik said in impossible to build lr-PUAE on Intel NUC:

              It's fixable ? It's exist an alternative ?

              Upstream project will fix their build on newer distros with a recent glibc, you'll have to wait until they do so to use lr-puae. Use an older Ubuntu LTS version or one of the other Amiga emulators available (lr-puae-2021, fs-uae) in the mean time.

              P.S. I have also a similar issue when try to compiling lr-mame.

              You're probably low on RAM - on an 64bit PC I thin you need at least 8Gb (if not more) to compile current MAME.

              DjDiabolikD 1 Reply Last reply Reply Quote 0
              • DjDiabolikD
                DjDiabolik @mitu
                last edited by DjDiabolik

                @mitu said in impossible to build lr-PUAE on Intel NUC:

                Upstream project will fix their build on newer distros with a recent glibc, you'll have to wait until they do so to use lr-puae. Use an older Ubuntu LTS version or one of the other Amiga emulators available (lr-puae-2021, fs-uae) in the mean time.

                mmmm.. using a old version of lts it's not best idea for me. For absurd i have installed OS recently on this miniPC :)
                Try to consider fs-aue but reading this guide quickly:
                https://retropie.org.uk/forum/topic/18409/guide-getting-emulationstation-to-work-with-fs-uae
                Need to re-read whit more accurancy and know if it's on my knowledge :)

                You're probably low on RAM - on an 64bit PC I thin you need at least 8Gb (if not more) to compile current MAME.

                mmmm also here.... my actually miniPC as only 4GB of ram DDR3. i can limit the usage of build in some mode (problably on future i can't build future version or update thru retropie-setup but but it's better than nothing) ?

                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.