<br><br><div class="gmail_quote">On Sun, May 2, 2010 at 3:40 AM, Zhuang Song <span dir="ltr"><<a href="mailto:zhuang.song@gmail.com">zhuang.song@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi!<br>
I am trying to install CMake in our Linux server. I follow the three<br>
steps: $ ./bootstrap; make; make install<br>
<br>
in running bootstrap, I got the following messages:<br>
<br>
***********************************<br>
cmSystemTools.o: In function<br>
`cmSystemTools::RemoveRPath(std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> > const&,<br>
std::basic_string<char, std::char_traits<char>, std::allocator<char><br>
>*, bool*)':<br>
cmSystemTools.cxx:(.text+0x3d0): undefined reference to<br>
`cmELF::cmELF(char const*)'<br>
cmSystemTools.cxx:(.text+0x3f9): undefined reference to `cmELF::GetRPath()'<br>
cmSystemTools.cxx:(.text+0x426): undefined reference to `cmELF::GetRunPath()'<br>
cmSystemTools.cxx:(.text+0x4a7): undefined reference to<br>
`cmELF::GetDynamicEntryCount() const'<br>
cmSystemTools.cxx:(.text+0x5a2): undefined reference to<br>
`cmELF::GetDynamicEntryPosition(int) const'<br>
cmSystemTools.cxx:(.text+0x5dc): undefined reference to<br>
`cmELF::GetDynamicEntryPosition(int) const'<br>
cmSystemTools.cxx:(.text+0x612): undefined reference to<br>
`cmELF::GetDynamicEntryPosition(int) const'<br>
cmSystemTools.cxx:(.text+0x6d2): undefined reference to<br>
`cmELF::ReadBytes(unsigned long, unsigned long, char*) const'<br>
cmSystemTools.cxx:(.text+0x766): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.cxx:(.text+0x77e): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.o: In function<br>
`cmSystemTools::CheckRPath(std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> > const&,<br>
std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
const&)':<br>
cmSystemTools.cxx:(.text+0xee6): undefined reference to<br>
`cmELF::cmELF(char const*)'<br>
cmSystemTools.cxx:(.text+0xeef): undefined reference to `cmELF::GetRPath()'<br>
cmSystemTools.cxx:(.text+0xf03): undefined reference to `cmELF::GetRunPath()'<br>
cmSystemTools.cxx:(.text+0xf73): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.cxx:(.text+0xf89): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.o: In function<br>
`cmSystemTools::ChangeRPath(std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> > const&,<br>
std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
const&, std::basic_string<char, std::char_traits<char>,<br>
std::allocator<char> > const&, std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> >*, bool*)':<br>
cmSystemTools.cxx:(.text+0x10d8): undefined reference to<br>
`cmELF::cmELF(char const*)'<br>
cmSystemTools.cxx:(.text+0x1117): undefined reference to `cmELF::GetRPath()'<br>
cmSystemTools.cxx:(.text+0x1155): undefined reference to `cmELF::GetRunPath()'<br>
cmSystemTools.cxx:(.text+0x1698): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.cxx:(.text+0x16b0): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.o: In function<br>
`cmSystemTools::GuessLibrarySOName(std::basic_string<char,<br>
std::char_traits<char>, std::allocator<char> > const&,<br>
std::basic_string<char, std::char_traits<char>, std::allocator<char><br>
>&)':<br>
cmSystemTools.cxx:(.text+0x1a91): undefined reference to<br>
`cmELF::cmELF(char const*)'<br>
cmSystemTools.cxx:(.text+0x1aab): undefined reference to<br>
`cmELF::GetSOName(std::basic_string<char, std::char_traits<char>,<br>
std::allocator<char> >&)'<br>
cmSystemTools.cxx:(.text+0x1c6d): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.cxx:(.text+0x1c89): undefined reference to `cmELF::~cmELF()'<br>
cmSystemTools.o: In function `cmELF::operator bool() const':<br>
cmSystemTools.cxx:(.text._ZNK5cmELFcvbEv[cmELF::operator bool()<br>
const]+0x11): undefined reference to `cmELF::Valid() const'<br>
collect2: ld returned 1 exit status<br>
gmake: *** [cmake] Error 1<br>
---------------------------------------------<br>
Error when bootstrapping CMake:<br>
Problem while running gmake<br>
<br>
***********************************<br>
<br>
Could anyone let me know what is the problem here?<br>
<br>
Thanks,<br>
Zhuang<br>
<br>
<br>
--<br>
Zhuang Song, Ph.D.<br>
Postdoctoral Fellow<br>
Department of Psychiatry<br>
University of California, San Diego<br>
3350 La Jolla Village Drive (116A)<br>
San Diego, CA 92161<br></blockquote><div><br>This is just a wild guess, but do you have the binutils package installed?<br><br>Michael<br> </div></div>