Update problem

i can't update my garuda Linux

so i try to remove pcsx2, but i can't too.

cat /var/tmp/pamac-build-serejo-garuda/pcsx2-git/src/build/CMakeFiles/CMakeError.log
Determining if the function pcap_get_pfring_id exists failed with the following output:
Change Dir: /var/tmp/pamac-build-serejo-garuda/pcsx2-git/src/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_6e67e && [1/2] Building C object CMakeFiles/cmTC_6e67e.dir/CheckFunctionExi
cc1: warning: command-line option ‘-Wno-overloaded-virtual’ is valid for C++/ObjC++ but not for C
[2/2] Linking C executable cmTC_6e67e
FAILED: cmTC_6e67e
: && /usr/bin/cc -m32 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -mfxsr -march=native -pipe
-fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp -mfpmath=sse -Wall -Wextra -Wno-attributes -Wn
o-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -Wno-overloaded-virtual -Wno-unused-value  -
Wstrict-aliasing -Wstrict-overflow=1  -D_FORTIFY_SOURCE=2  -Wformat -Wformat-security -DNDEBUG  -O2 -DCHECK_FUNCTION
_EXISTS=pcap_get_pfring_id -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CMakeFiles/cmTC_6e67e.dir/CheckFunction
Exists.c.o -o cmTC_6e67e  /usr/lib32/libpcap.so && :
/usr/bin/ld: CMakeFiles/cmTC_6e67e.dir/CheckFunctionExists.c.o: na função "main":
CheckFunctionExists.c:(.text.startup+0x12): referência não definida para "pcap_get_pfring_id"
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

You build something with pamac / cmake.
But what is the output in terminal for

sudo pacman -Syu


Better you read the log files first and please no pictures from terminal.

1 Like
sudo pacman -R pcsx2-git
1 Like