[CMake] installation problem

Michael Wild themiwi at gmail.com
Sun May 2 04:55:12 EDT 2010


On Sun, May 2, 2010 at 3:40 AM, Zhuang Song <zhuang.song at gmail.com> wrote:

> Hi!
> I am trying to install CMake in our Linux server. I follow the three
> steps: $ ./bootstrap; make; make install
>
> in running bootstrap, I got the following messages:
>
> ***********************************
> cmSystemTools.o: In function
> `cmSystemTools::RemoveRPath(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >*, bool*)':
> cmSystemTools.cxx:(.text+0x3d0): undefined reference to
> `cmELF::cmELF(char const*)'
> cmSystemTools.cxx:(.text+0x3f9): undefined reference to `cmELF::GetRPath()'
> cmSystemTools.cxx:(.text+0x426): undefined reference to
> `cmELF::GetRunPath()'
> cmSystemTools.cxx:(.text+0x4a7): undefined reference to
> `cmELF::GetDynamicEntryCount() const'
> cmSystemTools.cxx:(.text+0x5a2): undefined reference to
> `cmELF::GetDynamicEntryPosition(int) const'
> cmSystemTools.cxx:(.text+0x5dc): undefined reference to
> `cmELF::GetDynamicEntryPosition(int) const'
> cmSystemTools.cxx:(.text+0x612): undefined reference to
> `cmELF::GetDynamicEntryPosition(int) const'
> cmSystemTools.cxx:(.text+0x6d2): undefined reference to
> `cmELF::ReadBytes(unsigned long, unsigned long, char*) const'
> cmSystemTools.cxx:(.text+0x766): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.cxx:(.text+0x77e): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.o: In function
> `cmSystemTools::CheckRPath(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)':
> cmSystemTools.cxx:(.text+0xee6): undefined reference to
> `cmELF::cmELF(char const*)'
> cmSystemTools.cxx:(.text+0xeef): undefined reference to `cmELF::GetRPath()'
> cmSystemTools.cxx:(.text+0xf03): undefined reference to
> `cmELF::GetRunPath()'
> cmSystemTools.cxx:(.text+0xf73): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.cxx:(.text+0xf89): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.o: In function
> `cmSystemTools::ChangeRPath(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >*, bool*)':
> cmSystemTools.cxx:(.text+0x10d8): undefined reference to
> `cmELF::cmELF(char const*)'
> cmSystemTools.cxx:(.text+0x1117): undefined reference to
> `cmELF::GetRPath()'
> cmSystemTools.cxx:(.text+0x1155): undefined reference to
> `cmELF::GetRunPath()'
> cmSystemTools.cxx:(.text+0x1698): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.cxx:(.text+0x16b0): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.o: 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>
> >&)':
> cmSystemTools.cxx:(.text+0x1a91): undefined reference to
> `cmELF::cmELF(char const*)'
> cmSystemTools.cxx:(.text+0x1aab): undefined reference to
> `cmELF::GetSOName(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&)'
> cmSystemTools.cxx:(.text+0x1c6d): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.cxx:(.text+0x1c89): undefined reference to `cmELF::~cmELF()'
> cmSystemTools.o: In function `cmELF::operator bool() const':
> cmSystemTools.cxx:(.text._ZNK5cmELFcvbEv[cmELF::operator bool()
> const]+0x11): undefined reference to `cmELF::Valid() const'
> collect2: ld returned 1 exit status
> gmake: *** [cmake] Error 1
> ---------------------------------------------
> Error when bootstrapping CMake:
> Problem while running gmake
>
> ***********************************
>
> Could anyone let me know what is the problem here?
>
> Thanks,
> Zhuang
>
>
> --
> Zhuang Song, Ph.D.
> Postdoctoral Fellow
> Department of Psychiatry
> University of California, San Diego
> 3350 La Jolla Village Drive (116A)
> San Diego, CA  92161
>

This is just a wild guess, but do you have the binutils package installed?

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100502/17835766/attachment-0001.htm>


More information about the CMake mailing list