[cmake-developers] [CMake 0015882]: bootstrap fails with Undefined symbol nanosleep

Mantis Bug Tracker mantis at public.kitware.com
Sat Dec 12 13:26:17 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15882 
====================================================================== 
Reported By:                Dennis Clarke
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15882
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-12-12 13:26 EST
Last Modified:              2015-12-12 13:26 EST
====================================================================== 
Summary:                    bootstrap fails with Undefined symbol nanosleep
Description: 
$ LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib ; export  LD_LIBRARY_PATH

$ ./bootstrap --no-qt-gui --system-curl --system-expat --system-zlib
--system-bzip2 --no-system-libarchive 

.
.
.

/opt/solarisstudio12.4/bin/CC  -dalign -erroff=%none -errtags=yes -ftrap=%none
-g -xcode=pic32 -m64 -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2
-xcache=8/16/4:4096/64/16 -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil
-xregs=no%appl -xs -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO
-library=stlport4 
-I/usr/local/build/cmake-3.4.1_SunOS5.10_sparcv9.003/Bootstrap.cmk
-I/usr/local/build/cmake-3.4.1_SunOS5.10_sparcv9.003/Source  
-I/usr/local/build/cmake-3.4.1_SunOS5.10_sparcv9.003/Bootstrap.cmk  cmake.o
cmakemain.o cmcmd.o cmCommandArgumentLexer.o cmCommandArgumentParser.o
cmCommandArgumentParserHelper.o cmCommonTargetGenerator.o
cmCPackPropertiesGenerator.o cmDefinitions.o cmDepends.o cmDependsC.o
cmDocumentationFormatter.o cmPolicies.o cmProperty.o cmPropertyMap.o
cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o
cmExportFileGenerator.o cmExportInstallFileGenerator.o
cmExportTryCompileFileGenerator.o cmExportSet.o cmExportSetMap.o
cmExternalMakefileProjectGenerator.o cmGeneratorExpressionEvaluationFile.o
cmGeneratedFileStream.o cmGeneratorTarget.o cmGeneratorExpressionContext.o
cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluator.o
cmGeneratorExpressionLexer.o cmGeneratorExpressionNode.o
cmGeneratorExpressionParser.o cmGeneratorExpression.o cmGlobalCommonGenerator.o
cmGlobalGenerator.o cmInstallDirectoryGenerator.o cmLocalCommonGenerator.o
cmLocalGenerator.o cmInstalledFile.o cmInstallGenerator.o
cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o
cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o
cmSourceFileLocation.o cmState.o cmSystemTools.o cmTestGenerator.o cmVersion.o
cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o
cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o
cmMakefileUtilityTargetGenerator.o cmOutputConverter.o cmOSXBundleGenerator.o
cmNewLineStyle.o cmBootstrapCommands1.o cmBootstrapCommands2.o
cmCommandsForBootstrap.o cmTarget.o cmTest.o cmCustomCommand.o
cmCustomCommandGenerator.o cmCacheManager.o cmListFileCache.o
cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o
cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o
cmExprParserHelper.o cmListFileLexer.o Directory.o EncodingCXX.o FStream.o
Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o String.o
System.o Terminal.o -o cmake
Undefined                       first referenced
 symbol                             in file
nanosleep                          
/usr/local/lib/libstlport.a(__tQqIQdun-yXoTTDUVT.o)
bool std::less<unsigned long>::operator()(const unsigned long&,const unsigned
long&)const       cmBootstrapCommands2.o
ld: fatal: symbol referencing errors. No output written to cmake
gmake: *** [cmake] Error 2
---------------------------------------------
Error when bootstrapping CMake:
Problem while running /usr/local/bin/gmake
---------------------------------------------
Log of errors:
/usr/local/build/cmake-3.4.1_SunOS5.10_sparcv9.003/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-12-12 13:26 Dennis Clarke  New Issue                                    
======================================================================



More information about the cmake-developers mailing list