ld: Undefined symbols:
___errno_location, referenced from:
_main in bootstrap-9463a1.o
_utils_findProjectDir in bootstrap-9463a1.o
_plugin_mgr_Mgr_show in bootstrap-9463a1.o
_file_utils_Writer_write in bootstrap-9463a1.o
_file_utils_Writer_write in bootstrap-9463a1.o
_file_utils_Reader_open in bootstrap-9463a1.o
_file_utils_Reader_open in bootstrap-9463a1.o
...
_stderr, referenced from:
_console_error in bootstrap-9463a1.o
_console_error in bootstrap-9463a1.o
_source_mgr_SourceMgr_open in bootstrap-9463a1.o
_console_warn in bootstrap-9463a1.o
_console_warn in bootstrap-9463a1.o
_source_mgr_SourceMgr_openInternal in bootstrap-9463a1.o
_source_mgr_SourceMgr_openInternal in bootstrap-9463a1.o
...
_stdout, referenced from:
_process_utils_run_args in bootstrap-9463a1.o
_process_utils_run in bootstrap-9463a1.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang version:
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: x86_64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
I can reproduce that here.. It used to be fixed in the C++ version, but I now need to re-fix this in the C2 version as well. I already got it working here, but need a better solution than my current hack...
When running
make -C bootstrap
, I got this error:clang version: