Skip to content

[Bug]: Compiling on M1 #59

@ChrWekatr

Description

@ChrWekatr

Pre-Submission Checklist

  • I confirm this is NOT a code signing / certificate error.
  • I have attached the log file (required for bug reports).

Describe the Bug

Hi,
the following problem occurred while compiling the driver on an M1.
First of all ... the kext is compiling and signing fine.
HAL is not compiling due to missing symbols. This is caused by my architecture arm64.

Can anyone help me on reconfigure the build options?
Thanks

Device Model

Allen & Heath Xone:DB4

Operating System

macOS 15 (Sequoia)

📎 Attach Debug Log (REQUIRED)

from terminal:
Warning: unable to build chain to self-signed root for signer "Apple Development: xxx@xxx.xx (xxxxxxxxxx)"
/Users/xxxxxxxx/Library/Polytec/db4/snd-xonedb4/macos/Build/Release/OzzyHAL.driver: errSecInternalComponent

from Xcode:
Undefined symbols for architecture arm64:
"_IOConnectMapMemory", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
"_IOConnectUnmapMemory", referenced from:
OzzyHAL::UnmapSharedMemory() in OzzyHAL.o
"_IOObjectRelease", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
"_IOServiceClose", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
OzzyHAL::MapSharedMemory() in OzzyHAL.o
OzzyHAL::UnmapSharedMemory() in OzzyHAL.o
"_IOServiceGetMatchingService", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
"_IOServiceMatching", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
"_IOServiceOpen", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
"_kIOMainPortDefault", referenced from:
OzzyHAL::MapSharedMemory() in OzzyHAL.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Build OzzyHAL_2026-03-01T09-51-30.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions