checkra1n / PongoOS

pongoOS
https://checkra.in
Other
2.49k stars 405 forks source link

Can't build testmodule example (iOS15 Branch) #157

Closed ghost closed 1 year ago

ghost commented 1 year ago
0x@0x-MBP PongoOS % cd example
0x@0x-MBP example % cd testmodule
0x@0x-MBP testmodule % make
xcrun -sdk iphoneos clang -o build/testmodule --target=arm64-apple-ios12.0 -Wall -Wunused-label -Werror -O3 -flto -ffreestanding -U__nonnull -nostdlibinc -DTARGET_OS_OSX=0 -DTARGET_OS_MACCATALYST=0 -I../../newlib/aarch64-none-darwin/include -nostdlib -static -Wl,-fatal_warnings -Wl,-dead_strip -Wl,-Z   -I../../apple-include/ -I../include/ -Wl,-kext main.c
ld: can't open output file for writing: build/testmodule, errno=2 for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build/testmodule] Error 1
chrisspankroy commented 1 year ago

Does the build folder you're trying to create testmodule in exist?