[cmake-developers] cmake 2.8.9 rc2 - OS X Lion

Nicholas Yue yue.nicholas at gmail.com
Wed Jul 18 18:00:31 EDT 2012


On 17/07/12 11:59 PM, David Cole wrote:
> On Tue, Jul 17, 2012 at 9:12 AM, Brad King <brad.king at kitware.com> wrote:
>> On 07/16/2012 07:10 PM, Nicholas Yue wrote:
>>> Hi,
>>>
>>> I came across this error while bootstrapping a build on OS X Lion. Has
>>> anyone else seen this ?
>>>
>>> /usr/include/c++/4.2.1/cstdarg:60: error: ‘::va_list’ has not been declared
>>> In file included from /usr/include/c++/4.2.1/iosfwd:45,
>>> from /usr/include/c++/4.2.1/ios:43,
>>> from /usr/include/c++/4.2.1/istream:44,
>>> from /usr/include/c++/4.2.1/fstream:45,
>>> from
>>> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Source/cmStandardIncludes.h:84,
>>> from
>>> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Source/cmStandardIncludes.cxx:12:
>>> /usr/include/c++/4.2.1/bits/c++locale.h: In function ‘int
>>> std::__convert_from_v(int* const&, char*, int, const char*, ...)’:
>>> /usr/include/c++/4.2.1/bits/c++locale.h:76: error: ‘va_list’ was not
>>> declared in this scope
>>> /usr/include/c++/4.2.1/bits/c++locale.h:76: error: expected `;' before
>>> ‘__args’
>>> /usr/include/c++/4.2.1/bits/c++locale.h:77: error: ‘__args’ was not
>>> declared in this scope
>>> make: *** [cmStandardIncludes.o] Error 1
>>> ---------------------------------------------
>>> Error when bootstrapping CMake:
>>> Problem while running make
>>> ---------------------------------------------
>>> Log of errors:
>>> /Users/nicholas/temp/cmake-2.8.9-rc2/cmake-2.8.9-rc2/Bootstrap.cmk/cmake_bootstrap.log
>>> ---------------------------------------------
>> Thanks for reporting back.  Does this happen with
>> CMake 2.8.8's sources or is this new in 2.8.9?
This happens only with the 2.8.9 sources

> And please let us know what version of Mac OS X and what version of
> Xcode/gcc/clang you're using.
OS X Lion : version 10.7.4
Xode : version 4.3.2
gcc : i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. 
build 5658) (LLVM build 2336.9.00)
clang : Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on 
LLVM 3.1svn)

Let me know if you need additional information or tests I need to run.

Regards

-- 
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
Management - Recruitment, career management
http://www.proceduralinsight.com/
http://au.linkedin.com/in/nicholasyue




More information about the cmake-developers mailing list