[Insight-users] Problems compiling itk for Tcl
reny at ctm.ulpgc.es
reny at ctm.ulpgc.es
Tue, 02 Mar 2004 18:12:28 +0000
Hi again,
As Luis Ibáñez told me, I first try to build itk with Tcl option Off.
Itk was built without problems and I ran some itk code that worked
correctly, so the problem is itk building with tcl option turned on. The
CMakeError.log is listed below. Thanks in advance.
Determining the endianes of the system passed. The system is little
endianTest produced following output:
Building object file TestBigEndian.o...
gcc -o TestBigEndian.o -I/home/reny/itk/itk_built/CMakeTmp
-c /usr/local/share/CMake/Modules/TestBigEndian.c
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
gcc -fPIC TestBigEndian.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
Determining if the function pthread_create exists in the pthreads failed
with the following output:
Building object file CheckFunctionExists.o...
gcc -o CheckFunctionExists.o
-DCHECK_FUNCTION_EXISTS=pthread_create
-I/home/reny/itk/itk_built/CMakeTmp -c
/usr/local/share/CMake/Modules/CheckFunctionExists.c
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
gcc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIC
CheckFunctionExists.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test MY_NEW_TEST failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50 -DMY_NEW_TEST
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DMY_NEW_TEST -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_FOR_SCOPE_HACK failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_FOR_SCOPE_HACK -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_FOR_SCOPE_HACK -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_STATIC_CONST_INIT_NO_DEFN failed with the following
output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_STATIC_CONST_INIT_NO_DEFN -I/home/reny/itk/itk_built/CMakeTmp
-c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_STATIC_CONST_INIT_NO_DEFN
-fPIC vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
vxl_platform_tests.o: In function `main':
vxl_platform_tests.o(.text+0x1e): undefined reference to `A::x'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_NULL_TMPL_ARGS failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_NULL_TMPL_ARGS -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning: friend
declaration `T dot (const victor<T> &, const victor<T> &)'
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning:
declares a non-template function
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning:
(if this is not what you intended, make sure the function template has
already been declared and add
<> after the function name here) -Wno-non-template-friend disables this
warning.
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `T dot (const victor<T> &, const victor<T> &) [with T =
double]':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:422:
instantiated from here
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
gmake: *** [vxl_platform_tests.o] Error 1
Performing Try-Run Test VCL_HAS_TEMPLATE_SYMBOLS failed to compile with
the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_HAS_TEMPLATE_SYMBOLS -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_HAS_TEMPLATE_SYMBOLS -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
vxl_platform_tests.o: In function `caller(void)':
vxl_platform_tests.o(.text+0x10): undefined reference to `void
function<double>(double *, int)'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_HAS_SLICED_DESTRUCTOR_BUG succeeded with the
following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_HAS_SLICED_DESTRUCTOR_BUG -I/home/reny/itk/itk_built/CMakeTmp
-c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_HAS_SLICED_DESTRUCTOR_BUG
-fPIC vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
Determining if the include file ostream exists failed with the following
output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:19: ostream: No
such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file streambuf exists failed with the
following output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:21: streambuf:
No such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file ios exists failed with the following
output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:15: ios: No
such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file locale exists failed with the following
output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:18: locale: No
such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file istream exists failed with the following
output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:19: istream: No
such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file limits exists failed with the following
output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:18: limits: No
such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the include file ieeefp.h exists failed with the
following output:
Building object file CheckIncludeFile.o...
c++ -o CheckIncludeFile.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckIncludeFile.cxx:1:20: ieeefp.h:
No such file or directory
gmake: *** [CheckIncludeFile.o] Error 1
Determining if the finite exist failed with the following output:
Building object file CheckSymbolExists.o...
gcc -o CheckSymbolExists.o
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckSymbolExists.c
/home/reny/itk/itk_built/CMakeTmp/CheckSymbolExists.c:2:20: ieeefp.h: No
such file or directory
gmake: *** [CheckSymbolExists.o] Error 1
File /home/reny/itk/itk_built/CMakeTmp/CheckSymbolExists.c:
/* */
#include <ieeefp.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef finite
cmakeRequireSymbol(0,&finite);
#endif
return 0;
}
Determining the endianes of the system passed. The system is little
endianTest produced following output:
Building object file TestBigEndian.o...
gcc -o TestBigEndian.o -I/home/reny/itk/itk_built/CMakeTmp
-c /usr/local/share/CMake/Modules/TestBigEndian.c
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
gcc -fPIC TestBigEndian.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
Performing Test VCL_CHAR_IS_SIGNED succeeded with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_CHAR_IS_SIGNED -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_CHAR_IS_SIGNED -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic -lm
Looking for 64-bit int. Failed with the following output:
(FLAGS=-DVXL_HAS_TYPE_OF_SIZE -I/home/reny/itk/itk_built/CMakeTmp)
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVXL_HAS_TYPE_OF_SIZE -I/home/reny/itk/itk_built/CMakeTmp
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:955:
`__int64'
was not declared in this scope
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:955:
parse
error before `,'
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `double cast (...)':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`a'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
(Each
undeclared identifier is reported only once for each function it appears
in.)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`b'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`c'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `int main ()':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:968:
`__int64'
undeclared (first use this function)
gmake: *** [vxl_platform_tests.o] Error 1
Determining if the useconds_t exist failed with the following output:
Building object file CheckTypeExists.o...
c++ -o CheckTypeExists.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: `useconds_t'
was not declared in this scope
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: parse error
before `)'
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx: In function `void
cmakeRequireSymbol (...)':
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: `dummy'
undeclared (first use this function)
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: (Each
undeclared identifier is reported only
once for each function it appears in.)
gmake: *** [CheckTypeExists.o] Error 1
File /home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.c:
/* */
#include <unistd.h>
void cmakeRequireSymbol(useconds_t dummy){(void)dummy;}
int main()
{return 0;
}
Determining if the function tell exists failed with the following
output:
Building object file CheckFunctionExists.o...
gcc -o CheckFunctionExists.o -DCHECK_FUNCTION_EXISTS=tell
-I/home/reny/itk/itk_built/CMakeTmp -c
/usr/local/share/CMake/Modules/CheckFunctionExists.c
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
gcc -DCHECK_FUNCTION_EXISTS=tell -fPIC
CheckFunctionExists.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic -lm
CheckFunctionExists.o: In function `main':
CheckFunctionExists.o(.text+0x7): undefined reference to `tell'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test MY_NEW_TEST failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50 -DMY_NEW_TEST
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DMY_NEW_TEST -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_FOR_SCOPE_HACK failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_FOR_SCOPE_HACK -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_FOR_SCOPE_HACK -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_STATIC_CONST_INIT_NO_DEFN failed with the following
output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_STATIC_CONST_INIT_NO_DEFN -I/home/reny/itk/itk_built/CMakeTmp
-c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_STATIC_CONST_INIT_NO_DEFN
-fPIC vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
vxl_platform_tests.o: In function `main':
vxl_platform_tests.o(.text+0x1e): undefined reference to `A::x'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_NULL_TMPL_ARGS failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_NULL_TMPL_ARGS -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning: friend
declaration `T dot (const victor<T> &, const victor<T> &)'
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning:
declares a non-template function
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:408:
warning:
(if this is not what you intended, make sure the function template has
already been declared and add
<> after the function name here) -Wno-non-template-friend disables this
warning.
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `T dot (const victor<T> &, const victor<T> &) [with T =
double]':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:422:
instantiated from here
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:411:
`double
victor<double>::data[3]' is private
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:419:
within
this context
gmake: *** [vxl_platform_tests.o] Error 1
Performing Try-Run Test VCL_HAS_TEMPLATE_SYMBOLS failed to compile with
the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_HAS_TEMPLATE_SYMBOLS -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_HAS_TEMPLATE_SYMBOLS -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
vxl_platform_tests.o: In function `caller(void)':
vxl_platform_tests.o(.text+0x10): undefined reference to `void
function<double>(double *, int)'
collect2: ld returned 1 exit status
gmake: *** [/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec] Error 1
Performing Test VCL_HAS_SLICED_DESTRUCTOR_BUG succeeded with the
following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_HAS_SLICED_DESTRUCTOR_BUG -I/home/reny/itk/itk_built/CMakeTmp
-c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_HAS_SLICED_DESTRUCTOR_BUG
-fPIC vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic
Performing Test VCL_CHAR_IS_SIGNED succeeded with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVCL_CHAR_IS_SIGNED -I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_CHAR_IS_SIGNED -fPIC
vxl_platform_tests.o -o
/home/reny/itk/itk_built/CMakeTmp/cmTryCompileExec -rdynamic -lm
Looking for 64-bit int. Failed with the following output:
(FLAGS=-DVXL_HAS_TYPE_OF_SIZE -I/home/reny/itk/itk_built/CMakeTmp)
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50
-DVXL_HAS_TYPE_OF_SIZE -I/home/reny/itk/itk_built/CMakeTmp
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:955:
`__int64'
was not declared in this scope
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:955:
parse
error before `,'
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `double cast (...)':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`a'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
(Each
undeclared identifier is reported only once for each function it appears
in.)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`b'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:957:
`c'
undeclared (first use this function)
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:
In
function `int main ()':
/home/reny/itk/InsightToolkit-1.6.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx:968:
`__int64'
undeclared (first use this function)
gmake: *** [vxl_platform_tests.o] Error 1
Determining if the useconds_t exist failed with the following output:
Building object file CheckTypeExists.o...
c++ -o CheckTypeExists.o -ftemplate-depth-50
-I/home/reny/itk/itk_built/CMakeTmp -c
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: `useconds_t'
was not declared in this scope
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: parse error
before `)'
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx: In function `void
cmakeRequireSymbol (...)':
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: `dummy'
undeclared (first use this function)
/home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.cxx:4: (Each
undeclared identifier is reported only
once for each function it appears in.)
gmake: *** [CheckTypeExists.o] Error 1
File /home/reny/itk/itk_built/CMakeTmp/CheckTypeExists.c:
/* */
#include <unistd.h>
void cmakeRequireSymbol(useconds_t dummy){(void)dummy;}
int main()
{return 0;
}