The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14798 
====================================================================== 
Reported By:                John Szakmeister
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14798
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-08 09:35 EST
Last Modified:              2014-03-08 09:35 EST
====================================================================== 
Summary:                    CMake fails to build correctly from source on
FreeBSD...
Description: 
When trying to build CMake from source, I end up with the following errors:

[  5%] Building CXX object
Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o
/home/jszakmeister/source/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1478:3:
error: unknown type name 'Dl_info'
  Dl_info info;
  ^
/home/jszakmeister/source/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:3631:15:
error: use of undeclared identifier 'backtrace'
  int nFrames=backtrace(stackSymbols,256);
              ^
2 errors generated.
gmake[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o] Error
1
gmake[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
gmake: *** [all] Error 2

It appears that the dlfcn.h header is not being included in places, but there
may be some other issues too.

Steps to Reproduce: 
A simple download, extract, ./configure && make will show the problem.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-08 09:35 John SzakmeisterNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to