[CMake] Building CMake on Cray XE6

Pettey . Lucas LPettey at drc.com
Wed Oct 9 12:08:36 EDT 2013


Hello!

I am trying to build Cmake 2.8.11.2 on a Cray XE6. I am using the GCC 4.8.0 compiler. I have tried both the ./bootstrap and CMake 2.8.4 to generate the makefile. I get the same error:

Linking CXX executable ../bin/ccmake
cd /u/lpettey/cmake-2.8.11.2/Source && /lustre/home1/local/usp/PETtools/CE/pkgs/cmake-2.8.4/bin/cmake -E cmake_link_script CMakeFiles/ccmake.dir/link.txt --verbose=1
/opt/cray/xt-asyncpe/5.21/bin/CC       CMakeFiles/ccmake.dir/CursesDialog/cmCursesBoolWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesCacheEntryComposite.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesDummyWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesFilePathWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesLabelWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesLongMessageForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesPathWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesStringWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o  -o ../bin/ccmake  libCMakeLib.a CursesDialog/form/libcmForm.a kwsys/libcmsys.a ../Utilities/cmexpat/libcmexpat.a ../Utilities/cmlibarchive/libarchive/libcmlibarchive.a ../Utilities/cmbzip2/libcmbzip2.a ../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/libcmcurl.a ../Utilities/cmzlib/libcmzlib.a -ldl -lnsl -lncurses -lstdc++
../Utilities/cmlibarchive/libarchive/libcmlibarchive.a(archive_read_disk_set_standard_lookup.c.o): In function `lookup_gname_helper':
archive_read_disk_set_standard_lookup.c:(.text+0x5f3): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
kwsys/libcmsys.a(SystemTools.cxx.o): In function `cmsys::SystemTools::ConvertToUnixSlashes(std::string&)':
SystemTools.cxx:(.text+0x209d): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../Utilities/cmcurl/libcmcurl.a(netrc.c.o): In function `Curl_parsenetrc':
netrc.c:(.text+0x9a): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../Utilities/cmlibarchive/libarchive/libcmlibarchive.a(archive_read_disk_set_standard_lookup.c.o): In function `lookup_uname_helper':
archive_read_disk_set_standard_lookup.c:(.text+0x47f): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../Utilities/cmcurl/libcmcurl.a(hostip4.c.o): In function `Curl_getaddrinfo':
hostip4.c:(.text+0xf4): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../Utilities/cmcurl/libcmcurl.a(connect.c.o): In function `tcpnodelay':
connect.c:(.text+0xbad): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/cray/xe-sysroot/4.0.46.securitypatch.20120828/usr/lib64/libncurses.a(lib_mouse.o): In function `initialize_mousetype':
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:432: undefined reference to `dlopen'
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:433: undefined reference to `dlsym'
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:433: undefined reference to `dlsym'
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:433: undefined reference to `dlsym'
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:433: undefined reference to `dlsym'
/usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:438: undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/ccmake] Error 1
make[2]: Leaving directory `/lustre/home1/u/lpettey/cmake-2.8.11.2'
make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
make[1]: Leaving directory `/lustre/home1/u/lpettey/cmake-2.8.11.2'
make: *** [all] Error 2


Ay help is appreciated.

Thanks,
Lucas
________________________________
This electronic message transmission and any attachments that accompany it contain information from DRC® (Dynamics Research Corporation) or its subsidiaries, or the intended recipient, which is privileged, proprietary, business confidential, or otherwise protected from disclosure and is the exclusive property of DRC and/or the intended recipient. The information in this email is solely intended for the use of the individual or entity that is the intended recipient. If you are not the intended recipient, any use, dissemination, distribution, retention, or copying of this communication, attachments, or substance is prohibited. If you have received this electronic transmission in error, please immediately reply to the author via email that you received the message by mistake and also promptly and permanently delete this message and all copies of this email and any attachments. We thank you for your assistance and apologize for any inconvenience.


More information about the CMake mailing list