Created
February 7, 2015 06:38
-
-
Save cnblogs-dudu/b314a28943bb365c4077 to your computer and use it in GitHub Desktop.
coreclr build error log on mac os x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 22%] Building C object src/pal/tests/palsuite/c_runtime/atof/test1/CMakeFiles/paltest_atof_test1.dir/test1.c.o | |
Undefined symbols for architecture x86_64: | |
"_CloseHandle", referenced from: | |
_main in example1.c.o | |
"_CopyFileW", referenced from: | |
_main in example1.c.o | |
"_CreateFileW", referenced from: | |
_main in example1.c.o | |
"_DeleteFileW", referenced from: | |
_main in example1.c.o | |
"_PAL_Initialize", referenced from: | |
_main in example1.c.o | |
"_PAL_Terminate", referenced from: | |
_main in example1.c.o | |
"_SetCurrentDirectoryW", referenced from: | |
_main in example1.c.o | |
"_WriteFile", referenced from: | |
_main in example1.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[2]: *** [src/pal/src/examples/palexmpl] Error 1 | |
make[1]: *** [src/pal/src/examples/CMakeFiles/palexmpl.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
Linking CXX executable paltest_acos_test1 | |
Linking CXX executable paltest_atan2_test1 | |
Linking CXX executable paltest_asin_test1 | |
Linking CXX executable paltest_abs_test1 | |
Linking CXX executable paltest_atan_test1 | |
Linking CXX executable paltest_atof_test1 | |
ld: warning: ld: warning: ignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.aignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.a | |
ld: warning: ignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.a | |
ld: warning: ignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.a | |
ld: warning: ignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.a | |
ld: warning: ignoring file ../../../../../src/libCoreClrPal.a, file was built for archive which is not the architecture being linked (x86_64): ../../../../../src/libCoreClrPal.a | |
Undefined symbols for architecture x86_64: | |
"_MultiByteToWideChar", referenced from: | |
_convert in test1.c.o | |
"_PAL_Initialize", referenced from: | |
_main in test1.c.o | |
"_PAL_Terminate", referenced from: | |
_main in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
_Fail in test1.c.o | |
"_PAL_acos", referenced from: | |
_main in test1.c.o | |
"_PAL_malloc", referenced from: | |
_convert in test1.c.o | |
_convertC in test1.c.o | |
"_PAL_printf", referenced from: | |
_Fail in test1.c.o | |
"_PAL_vprintf", referenced from: | |
_Trace in test1.c.o | |
_Fail in test1.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in test1.c.o | |
"__finite", referenced from: | |
_main in test1.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
Undefined symbols for architecture x86_64: | |
"_MultiByteToWideChar", referenced from: | |
_convert in test1.c.o | |
"_PAL_Initialize", referenced from: | |
_main in test1.c.o | |
"_PAL_Terminate", referenced from: | |
_main in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
_Fail in test1.c.o | |
"_PAL_malloc", referenced from: | |
_convert in test1.c.o | |
_convertC in test1.c.o | |
"_PAL_printf", referenced from: | |
_Fail in test1.c.o | |
"_PAL_vprintf", referenced from: | |
_Trace in test1.c.o | |
_Fail in test1.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in test1.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
Undefined symbols for architecture x86_64: | |
"_MultiByteToWideChar", referenced from: | |
_convert in test1.c.o | |
"_PAL_Initialize", referenced from: | |
_main in test1.c.o | |
"_PAL_Terminate", referenced from: | |
_main in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
_Fail in test1.c.o | |
"_PAL_atan2", referenced from: | |
_DoTest in test1.c.o | |
"_PAL_malloc", referenced from: | |
_convert in test1.c.o | |
_convertC in test1.c.o | |
"_PAL_printf", referenced from: | |
_Fail in test1.c.o | |
"_PAL_vprintf", referenced from: | |
_Trace in test1.c.o | |
_Fail in test1.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in test1.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/acos/test1/paltest_acos_test1] Error 1 | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/atan/test1/paltest_atan_test1] Error 1 | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/atan2/test1/paltest_atan2_test1] Error 1 | |
make[1]: *** [src/pal/tests/palsuite/c_runtime/acos/test1/CMakeFiles/paltest_acos_test1.dir/all] Error 2 | |
make[1]: *** [src/pal/tests/palsuite/c_runtime/atan/test1/CMakeFiles/paltest_atan_test1.dir/all] Error 2 | |
make[1]: *** [src/pal/tests/palsuite/c_runtime/atan2/test1/CMakeFiles/paltest_atan2_test1.dir/all] Error 2 | |
Undefined symbols for architecture x86_64: | |
Undefined symbols for architecture x86_64: | |
"_MultiByteToWideChar", referenced from: | |
"_MultiByteToWideChar", referenced from: | |
_convert in test1.c.o | |
_convert in abs.c.o | |
"_PAL_Initialize", referenced from: | |
_main in test1.c.o | |
"_PAL_Initialize", referenced from: | |
"_PAL_Terminate", referenced from: | |
_main in abs.c.o | |
_main in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
"_PAL_Terminate", referenced from: | |
_Fail in test1.c.o | |
"_PAL_malloc", referenced from: | |
_main in abs.c.o | |
_convert in test1.c.o | |
_convertC in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
"_PAL_printf", referenced from: | |
_Fail in abs.c.o | |
_Fail in test1.c.o | |
"_PAL_vprintf", referenced from: | |
"_PAL_malloc", referenced from: | |
_Trace in test1.c.o | |
_Fail in test1.c.o | |
_convert in abs.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in abs.c.o | |
_convertC in test1.c.o | |
"_PAL_printf", referenced from: | |
_Fail in abs.c.o | |
"_PAL_vprintf", referenced from: | |
_Trace in abs.c.o | |
_Fail in abs.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in abs.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/abs/test1/paltest_abs_test1] Error 1 | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/atof/test1/paltest_atof_test1] Error 1 | |
Undefined symbols for architecture x86_64: | |
make[1]: "_MultiByteToWideChar", referenced from: | |
*** [src/pal/tests/palsuite/c_runtime/atof/test1/CMakeFiles/paltest_atof_test1.dir/all] Error 2 | |
_convert in test1.c.o | |
"_PAL_Initialize", referenced from: | |
_main in test1.c.o | |
"_PAL_Terminate", referenced from: | |
_main in test1.c.o | |
"_PAL_TerminateEx", referenced from: | |
make[1]: _Fail in test1.c.o | |
*** [src/pal/tests/palsuite/c_runtime/abs/test1/CMakeFiles/paltest_abs_test1.dir/all] Error 2 | |
"_PAL_asin", referenced from: | |
_main in test1.c.o | |
"_PAL_malloc", referenced from: | |
_convert in test1.c.o | |
_convertC in test1.c.o | |
"_PAL_printf", referenced from: | |
_Fail in test1.c.o | |
"_PAL_vprintf", referenced from: | |
_Trace in test1.c.o | |
_Fail in test1.c.o | |
"_WideCharToMultiByte", referenced from: | |
_convertC in test1.c.o | |
"__finite", referenced from: | |
_main in test1.c.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[2]: *** [src/pal/tests/palsuite/c_runtime/asin/test1/paltest_asin_test1] Error 1 | |
make[1]: *** [src/pal/tests/palsuite/c_runtime/asin/test1/CMakeFiles/paltest_asin_test1.dir/all] Error 2 | |
[ 27%] Built target cee_dac | |
[ 39%] Built target cee_wks | |
make: *** [all] Error 2 | |
Failed to build coreclr components. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am receiving the same error, any thoughts?