[CMake] Install problems
Gheorghe Iancu
g_iancu at arcor.de
Wed May 20 03:02:45 EDT 2009
Hi,
I wanted to install CMake cmake-2.4.8 on an AIX powerpc (OS version 5.2)
gmake version:
GNU Make version 3.71, by Richard Stallman and Roland McGrath.
compiler:
VisualAge C++ Professional / C for AIX Compiler, Version 6
I got the following error:
[ 15%] Built target cmzlib
Scanning dependencies of target cmcurl
[ 15%] Building C object
Utilities/cmcurl/CMakeFiles/cmcurl.dir/strerror.o
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 45.1: 1506-343 (S) Redeclaration of curl_easy_strerror differs
from previous declaration on line 1318 of
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/curl/curl.h".
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 45.1: 1506-050 (I) Return type "unsigned char*" in
redeclaration is not compatible with the previous return type "const
unsigned char*".
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 254.1: 1506-343 (S) Redeclaration of curl_multi_strerror
differs from previous declaration on line 215 of
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/curl/multi.h".
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 254.1: 1506-050 (I) Return type "unsigned char*" in
redeclaration is not compatible with the previous return type "const
unsigned char*".
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 283.1: 1506-343 (S) Redeclaration of curl_share_strerror
differs from previous declaration on line 1329 of
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/curl/curl.h".
"/u/giancu/download/install/cmake-2.4.8/Utilities/cmcurl/strerror.c",
line 283.1: 1506-050 (I) Return type "unsigned char*" in
redeclaration is not compatible with the previous return type "const
unsigned char*".
gmake[2]: *** [Utilities/cmcurl/CMakeFiles/cmcurl.dir/strerror.o]
Error 1
gmake[1]: *** [Utilities/cmcurl/CMakeFiles/cmcurl.dir/all] Error 2
gmake: *** [all] Error 2
I also tryied with CMake cmake-2.6.4 and there it didn't pass a
configure test:
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-0296 (S) A return value of type
"cmsys::auto_ptr<cmFunctionBlocker>" cannot be initialized with an
rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>".
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-0218 (I) The call does not match any parameter list
for "auto_ptr<cmFunctionBlocker>::auto_ptr<cmFunctionBlocker>".
"/u/giancu/download/install/cmake-2.6.4/Bootstrap.cmk/cmsys/auto_ptr.hxx",
line 81.3: 1540-1283 (I) "cmsys::auto_ptr<class
cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not
a viable candidate.
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-0295 (I) A parameter of type
"cmsys::auto_ptr<cmFunctionBlocker> &" cannot be initialized with an
rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>".
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-1290 (I) An rvalue cannot be converted to a reference
to a non-const type.
"/u/giancu/download/install/cmake-2.6.4/Bootstrap.cmk/cmsys/auto_ptr.hxx",
line 108.3: 1540-1283 (I) "cmsys::auto_ptr<class
cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not
a viable candidate.
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-0295 (I) A parameter of type
"cmsys::auto_ptr<cmFunctionBlocker> &" cannot be initialized with an
rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>".
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-1290 (I) An rvalue cannot be converted to a reference
to a non-const type.
"/u/giancu/download/install/cmake-2.6.4/Bootstrap.cmk/cmsys/auto_ptr.hxx",
line 178.3: 1540-1283 (I) "cmsys::auto_ptr<class
cmFunctionBlocker>::auto_ptr(detail::auto_ptr_ref<cmFunctionBlocker>)"
is not a viable candidate.
"/u/giancu/download/install/cmake-2.6.4/Source/cmMakefile.cxx", line
2586.14: 1540-0295 (I) A parameter of type
"cmsys::detail::auto_ptr_ref<cmFunctionBlocker>" cannot be
initialized with an rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>".
"/u/giancu/download/install/cmake-2.6.4/Bootstrap.cmk/cmsys/auto_ptr.hxx",
line 81.3: 1540-1283 (I) "cmsys::auto_ptr<class
cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not
a viable candidate.
gmake: *** [cmMakefile.o] Error 1
More information about the CMake
mailing list