Package Details: libretro-hatari-enhanced-git 5546.46dc6d95-1

Git Clone URL: https://aur.archlinux.org/libretro-hatari-enhanced-git.git (read-only, click to copy)
Package Base: libretro-hatari-enhanced-git
Description: libretro implementation of Hatari v1.8 (Atari ST/STE/TT/Falcon) with IPF support
Upstream URL: https://github.com/libretro/hatari
Licenses: GPL2
Groups: libretro
Submitter: OJaksch
Maintainer: None
Last Packager: OJaksch
Votes: 4
Popularity: 0.000005
First Submitted: 2015-11-10 15:54 (UTC)
Last Updated: 2021-01-05 11:27 (UTC)

Latest Comments

megamik commented on 2025-03-22 11:39 (UTC) (edited on 2026-04-14 12:11 (UTC) by megamik)

Compiling works but linking does not:

/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: warning: relocation against `co_active_handle' in read-only section `.text'
/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: in function `co_switch':
<artificial>:(.text+0x3): undefined reference to `co_active_handle'
/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `co_active_handle' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value

... however the -fPIC flag is already being used during the compilation step.

It seems to be related to the makepkg environment, as it works when you build this outside makepkg (just executing the "make -f Makefile.libretro" command), even with the capsimage support patch applied.

You can fix this by editing the PKGBUILD file adding the following line after the "makedepends=..." one:

options=('!buildflags')
... and then building the package via "makepkg" as usual.

DocMAX commented on 2024-04-29 07:02 (UTC)

cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"" a4c9eb0bc cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"" a4c9eb0bc src/file.c:21:10: fatal error: winsock2.h: No such file or directory 21 | #include <winsock2.h> | ^~~~ compilation terminated. make: *** [Makefile.libretro:255: src/file.o] Error 1 make: *** Waiting for unfinished jobs....

ProfessorKaos64 commented on 2016-09-15 14:25 (UTC)

Can you please ad "groups=('libretro')" (sans quotes) so this shows up when installing the "libretro" group package set?