


















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....
Can you please ad "groups=('libretro')" (sans quotes) so this shows up when installing the "libretro" group package set?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Compiling works but linking does not:
... 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.