ASMTool icon indicating copy to clipboard operation
ASMTool copied to clipboard

Error "undefined symbol: pci_alloc"

Open CutterXYZ opened this issue 4 months ago • 0 comments

I'm trying to build the project on Fedora 42:

  1. gcc -shared -o libAsmIoLinux.so -fPIC Linux/AsmIOLinux.c
  2. dotnet publish
  3. 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>.

CutterXYZ avatar Sep 10 '25 18:09 CutterXYZ