Skip to content

Error "undefined symbol: pci_alloc" #21

@CutterXYZ

Description

@CutterXYZ

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>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions