Files attached

Thanks,

Juan

On Thu, Jun 24, 2010 at 2:56 PM, Brad King <brad.k...@kitware.com> wrote:

> j s wrote:
> > So if I remove /opt/local/bin from my path, but use /opt/local/bin/cmake
> > (Macports) to build, it will work.
> >
> > The compiler found is /usr/bin/gcc when /opt/local/bin/ is not in my
> > path.  In our group we typically symlink /opt/local/bin to gcc-mp-4.3,
> > which may be causing the conflict.  I do know that, at least in the
> > past, that cmake will use /usr/bin/c++ instead of /opt/local/bin/g++.
> >
> > Attached is the file you requested.  My only guess is that either the
> > compiler or other Macports tool is problematic.
>
> The FundamentalTypes.h ends up with this:
>
> > /* The size of fundamental types.  Types that do not exist have size 0.
>  */
> > #define cmsys_SIZEOF_CHAR 1
> > #define cmsys_SIZEOF_SHORT __SIZEOF_SHORT__
> > #define cmsys_SIZEOF_INT __SIZEOF_INT__
> > #define cmsys_SIZEOF_LONG __SIZEOF_LONG__
> > #define cmsys_SIZEOF_LONG_LONG __SIZEOF_LONG_LONG__
> > #define cmsys_SIZEOF___INT64 0
> [snip]
> > #if cmsys_SIZEOF_INT == 4
>
> but the #if fails.  Somehow the compiler used to detect the
> availability of macros like __SIZEOF_INT__ and the compiler
> used to actually compile later are behaving differently.
>
> From the CMakeOutput.log you sent it looks like the compiler
>
>  /opt/local/bin/gcc
>
> is used while checking for the macros.  Please run the build
> with "make VERBOSE=1" to see the full compiler command line
> that fails at build time.  Post it.
>
> Also, what is the output of
>
>  touch empty.c
>  /opt/local/bin/gcc -E empty.c -dM
>
> ?
>
> Thanks,
> -Brad
>
/opt/local/bin/cmake -H/redacted/cmake/cmake-2.8.1 
-B/redacted/cmake/cmake_debug --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start 
/redacted/cmake/cmake_debug/CMakeFiles 
/redacted/cmake/cmake_debug/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f Source/kwsys/CMakeFiles/cmsys.dir/build.make 
Source/kwsys/CMakeFiles/cmsys.dir/depend
cd /redacted/cmake/cmake_debug && /opt/local/bin/cmake -E cmake_depends "Unix 
Makefiles" /redacted/cmake/cmake-2.8.1 /redacted/cmake/cmake-2.8.1/Source/kwsys 
/redacted/cmake/cmake_debug /redacted/cmake/cmake_debug/Source/kwsys 
/redacted/cmake/cmake_debug/Source/kwsys/CMakeFiles/cmsys.dir/DependInfo.cmake 
--color=
make -f Source/kwsys/CMakeFiles/cmsys.dir/build.make 
Source/kwsys/CMakeFiles/cmsys.dir/build
/opt/local/bin/cmake -E cmake_progress_report 
/redacted/cmake/cmake_debug/CMakeFiles 84
[  1%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.o
cd /redacted/cmake/cmake_debug/Source/kwsys && /usr/bin/c++   
-DKWSYS_NAMESPACE=cmsys -I/redacted/cmake/cmake_debug/Source 
-I/redacted/cmake/cmake_debug/Source/kwsys   -o 
CMakeFiles/cmsys.dir/SystemInformation.o -c 
/redacted/cmake/cmake-2.8.1/Source/kwsys/SystemInformation.cxx
In file included from 
/redacted/cmake/cmake-2.8.1/Source/kwsys/SystemInformation.cxx:29:
/redacted/cmake/cmake_debug/Source/cmsys/FundamentalType.h:75:3: error: #error 
"No native data type can represent a 16-bit integer."
/redacted/cmake/cmake_debug/Source/cmsys/FundamentalType.h:86:3: error: #error 
"No native data type can represent a 32-bit integer."
/redacted/cmake/cmake_debug/Source/cmsys/FundamentalType.h:106:3: error: #error 
"No native data type can represent a 64-bit integer."
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.o] Error 1
make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
make: *** [all] Error 2
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define __DEC64_DEN__ 0.000000000000001E-383DD
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define __FLT_EVAL_METHOD__ 0
#define __x86_64 1
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 5
#define __DEC64_MAX_EXP__ 384
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define __APPLE_CC__ 1
#define __UINTMAX_TYPE__ long unsigned int
#define __DEC32_EPSILON__ 1E-6DF
#define __LDBL_MAX_EXP__ 16384
#define __SCHAR_MAX__ 127
#define __DBL_DIG__ 15
#define __SIZEOF_INT__ 4
#define __SIZEOF_POINTER__ 8
#define __USER_LABEL_PREFIX__ _
#define __STDC_HOSTED__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __DEC32_MAX__ 9.999999E96DF
#define __SIZEOF_LONG__ 8
#define __APPLE__ 1
#define __DECIMAL_DIG__ 21
#define __LDBL_HAS_QUIET_NAN__ 1
#define __DYNAMIC__ 1
#define __GNUC__ 4
#define __MMX__ 1
#define __FLT_HAS_DENORM__ 1
#define __SIZEOF_LONG_DOUBLE__ 16
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_HAS_INFINITY__ 1
#define __DEC32_MIN_EXP__ (-95)
#define __LDBL_HAS_DENORM__ 1
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __DEC32_MIN__ 1E-95DF
#define __DBL_MAX_EXP__ 1024
#define __DEC128_EPSILON__ 1E-33DL
#define __SSE2_MATH__ 1
#define __amd64 1
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __SIZEOF_SIZE_T__ 8
#define __SIZEOF_WINT_T__ 4
#define __GXX_ABI_VERSION 1002
#define __FLT_MIN_EXP__ (-125)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __LP64__ 1
#define __DEC128_MIN__ 1E-6143DL
#define __REGISTER_PREFIX__ 
#define __DBL_HAS_DENORM__ 1
#define __NO_INLINE__ 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "4.3.5"
#define __DEC64_EPSILON__ 1E-15DD
#define __DEC128_MIN_EXP__ (-6143)
#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1060
#define __SIZE_TYPE__ long unsigned int
#define __DEC32_DEN__ 0.000001E-95DF
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
#define __SSE_MATH__ 1
#define __k8 1
#define __SIZEOF_PTRDIFF_T__ 8
#define __x86_64__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 9223372036854775807L
#define __FLT_HAS_INFINITY__ 1
#define __DEC64_MAX__ 9.999999999999999E384DD
#define __DEC64_MANT_DIG__ 16
#define __DEC32_MAX_EXP__ 96
#define __DEC128_DEN__ 0.000000000000000000000000000000001E-6143DL
#define __LITTLE_ENDIAN__ 1
#define __SSE2__ 1
#define __LDBL_MANT_DIG__ 64
#define __DBL_HAS_QUIET_NAN__ 1
#define __k8__ 1
#define __WCHAR_TYPE__ int
#define __SIZEOF_FLOAT__ 4
#define __pic__ 2
#define __DEC64_MIN_EXP__ (-383)
#define __FLT_DIG__ 6
#define __INT_MAX__ 2147483647
#define __MACH__ 1
#define __amd64__ 1
#define __FLT_MAX_EXP__ 128
#define __DBL_MANT_DIG__ 53
#define __DEC64_MIN__ 1E-383DD
#define __WINT_TYPE__ int
#define __SIZEOF_SHORT__ 2
#define __SSE__ 1
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MAX_10_EXP__ 4932
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define _LP64 1
#define __SIZEOF_WCHAR_T__ 4
#define __DEC_EVAL_METHOD__ 2
#define __INTMAX_MAX__ 9223372036854775807L
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __PIC__ 2
#define __FLT_MAX__ 3.40282347e+38F
#define __SIZEOF_DOUBLE__ 8
#define __FLT_MIN_10_EXP__ (-37)
#define __INTMAX_TYPE__ long int
#define __DEC128_MAX_EXP__ 6144
#define __GNUC_MINOR__ 3
#define __DEC32_MANT_DIG__ 7
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
#define __STDC__ 1
#define __PTRDIFF_TYPE__ long int
#define __DEC128_MANT_DIG__ 34
#define __LDBL_MIN_10_EXP__ (-4931)
#define __SIZEOF_LONG_LONG__ 8
#define __LDBL_DIG__ 18
#define __GNUC_GNU_INLINE__ 1
#define __SSE3__ 1
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to