ASMTool
ASMTool copied to clipboard
Error "undefined symbol: pci_alloc"
I'm trying to build the project on Fedora 42:
-
gcc -shared -o libAsmIoLinux.so -fPIC Linux/AsmIOLinux.c -
dotnet publish -
dotnet AsmTool.dll
The file libAsmIoLinux.so is in the same folder as AsmTool.dll.
I'm getting the error: dotnet: symbol lookup error: /home/user/git clones/ASMTool/AsmTool/bin/Debug/net8.0/libAsmIoLinux.so: undefined symbol: pci_alloc
Package pciutils-devel has been installed to correct an error about missing #include <pci/pci.h>.