Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Performing C SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output:
- Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
- Run Build Command:/usr/bin/make "cmTryCompileExec1583685134/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec1583685134.dir/build.make CMakeFiles/cmTryCompileExec1583685134.dir/build
- /opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o
- /usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -Werror -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o -c /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c
- /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c:9:17: error: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Werror,-Wincompatible-pointer-types]
- iconv(conv, &in, &ilen, &out, &olen);
- ^~~
- /usr/include/iconv.h:73:30: note: passing argument to parameter here
- char ** __restrict /*inbuf*/, size_t * __restrict /*inbytesleft*/,
- ^
- 1 error generated.
- make[1]: *** [CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o] Error 1
- make: *** [cmTryCompileExec1583685134/fast] Error 2
- Source file was:
- #include <iconv.h>
- int main(){
- iconv_t conv = 0;
- const char* in = 0;
- size_t ilen = 0;
- char* out = 0;
- size_t olen = 0;
- iconv(conv, &in, &ilen, &out, &olen);
- return 0;
- }
- Determining if the function nanosleep exists in the rt failed with the following output:
- Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
- Run Build Command:/usr/bin/make "cmTryCompileExec506695253/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec506695253.dir/build.make CMakeFiles/cmTryCompileExec506695253.dir/build
- /opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o
- /usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=nanosleep -o CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec506695253
- /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec506695253.dir/link.txt --verbose=1
- /usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=nanosleep -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o -o cmTryCompileExec506695253 -lrt
- ld: library not found for -lrt
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make[1]: *** [cmTryCompileExec506695253] Error 1
- make: *** [cmTryCompileExec506695253/fast] Error 2
- Determining if the function clock_gettime exists in the rt failed with the following output:
- Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
- Run Build Command:/usr/bin/make "cmTryCompileExec4093894644/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec4093894644.dir/build.make CMakeFiles/cmTryCompileExec4093894644.dir/build
- /opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o
- /usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec4093894644
- /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4093894644.dir/link.txt --verbose=1
- /usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=clock_gettime -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o -o cmTryCompileExec4093894644 -lrt
- ld: library not found for -lrt
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make[1]: *** [cmTryCompileExec4093894644] Error 1
- make: *** [cmTryCompileExec4093894644/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement