-
-
Notifications
You must be signed in to change notification settings - Fork 9
[Bug]: Compiling on M1 #59
Description
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)