[CMake] cmake 2.6.4 bootstrap failure x86_64

James Yoo james.yoo at gmail.com
Fri Jun 19 12:11:04 EDT 2009


Hi,

I'm sure this question has been answered before, but I really did try to
find the answer via yabingle and was utterly unsuccessful... so let me
apologize in advance.

I've never used cmake before but I need to install it so that I can install
Mayavi via VTK.

./bootstrap --prefix=$MYINSTALLPREFIX
.....
g++  -I/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source
-I/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Bootstrap.cmk
cmake.o cmakemain.o cmakewizard.o cmComma
ndArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o
cmDepends.o cmDependsC.o cmDocumentationFormatter.o
cmDocumentationFormatterText.o cmPolicies.o cmProper
ty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o
cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o
cmExportInstallFileGenerator.o cmInstallDirectoryGenerator
.o cmGeneratedFileStream.o cmGlobalGenerator.o cmLocalGenerator.o
cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o
cmInstallScriptGenerator.o cmInstallTarg
etGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o
cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o
cmLocalUnixMakefileGenerator3.o cmMakefileEx
ecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o
cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o
cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o c
mCustomCommand.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o
cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o
cmComputeTargetDepends.o cmComputeC
omponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o
cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o
ProcessUNIX.o String.o System.o -o cmake
cmSystemTools.o(.text+0x4db2): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
*
...
* undefined reference to `cmELF::cmELF(char const*)'
cmSystemTools.o(.text+0x4dcc): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
: undefined reference to `cmELF::GetSOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
cmSystemTools.o(.text+0x4dd8): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
: undefined reference to `cmELF::~cmELF()'
cmSystemTools.o(.text+0x4dfe): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
: undefined reference to `cmELF::~cmELF()'
cmSystemTools.o(.text+0x4e2c): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
: undefined reference to `cmELF::~cmELF()'
cmSystemTools.o(.text+0x4e88): In function
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >&)':
: undefined reference to `cmELF::~cmELF()'
...
*
*collect2: ld returned 1 exit status
gmake: *** [cmake] Error 1


here's uname -a

Linux 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43 EST 2007 x86_64 x86_64
x86_64 GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090619/f0d41ba5/attachment.htm>


More information about the CMake mailing list