View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015964CMakeCMakepublic2016-02-10 03:512016-06-10 14:21
ReporterDavid We 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
Platformx86OSWindowsOS Version8.1
Product VersionCMake 3.4.3 
Target VersionFixed in Version 
Summary0015964: Borland Makefile generation Script
DescriptionThe Borland makefiles are not configured correctly.

These defines are missing after the cmake process is finished.

#define HAVE_STRTOULL 1
#define HAVE_GETADDRINFO 1
#define HAVE_NTOHLL 1

Additional InformationI'am using the bcc32 from RadStudio Seattle ( XE10 ).
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040460)
Brad King (manager)
2016-02-10 08:54

What project are you configuring?

There may be information in CMakeFiles/CMakeError.log about why these checks failed.
(0040464)
David We (reporter)
2016-02-10 11:25

I've found something in the "ConfigureChecks.cmake" regarding the HAVE_STRTOULL check.

It's in the UNIX if construct.

This seems logical that the "check_function_exists(strtoull HAVE_STRTOULL)" is not called in a windows enviroment but, if i build the libssh with mingw ( MSYS2 ) it works well.

-->
if (UNIX)
    if (NOT LINUX)
        # libsocket (Solaris)
        check_library_exists(socket getaddrinfo "" HAVE_LIBSOCKET)
        if (HAVE_LIBSOCKET)
            set(HAVE_GETADDRINFO TRUE)
            set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} socket)
        endif (HAVE_LIBSOCKET)

        # libnsl/inet_pton (Solaris)
        check_library_exists(nsl inet_pton "" HAVE_LIBNSL)
        if (HAVE_LIBNSL)
            set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} nsl)
        endif (HAVE_LIBNSL)

        # librt
        check_library_exists(rt nanosleep "" HAVE_LIBRT)
    endif (NOT LINUX)

    check_library_exists(rt clock_gettime "" HAVE_CLOCK_GETTIME)
    if (HAVE_LIBRT OR HAVE_CLOCK_GETTIME)
        set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} rt)
    endif (HAVE_LIBRT OR HAVE_CLOCK_GETTIME)

    check_library_exists(util forkpty "" HAVE_LIBUTIL)
    check_function_exists(cfmakeraw HAVE_CFMAKERAW)
    check_function_exists(strtoull HAVE_STRTOULL)
    check_function_exists(__strtoull HAVE___STRTOULL)
endif (UNIX)
<--
(0040465)
Brad King (manager)
2016-02-10 11:36

Re 0015964:0040464: That appears to be in the libssh code and is not an issue with upstream CMake. Please raise this issue over there.
(0041257)
Kitware Robot (administrator)
2016-06-10 14:21

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-02-10 03:51 David We New Issue
2016-02-10 08:54 Brad King Note Added: 0040460
2016-02-10 11:09 David We Note Added: 0040461
2016-02-10 11:15 David We Note Added: 0040462
2016-02-10 11:25 David We Note Added: 0040464
2016-02-10 11:36 Brad King Note Added: 0040465
2016-02-10 11:36 Brad King Status new => resolved
2016-02-10 11:36 Brad King Resolution open => no change required
2016-02-10 18:41 David We Note Deleted: 0040461
2016-02-10 18:41 David We Note Deleted: 0040462
2016-06-10 14:21 Kitware Robot Note Added: 0041257
2016-06-10 14:21 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team