Hello,

i want to build libssh for iOS but cmake fails.

the iOS tolchain is in the attachment. Have someone try to build libssh for ios?

command:

cmake -DCMAKE_TOOLCHAIN_FILE=/Users/da/Downloads/ios.toolchain.cmake
-DOPENSSL_LIBRARIES=/Users/da/openssl-ios/lib/
-DOPENSSL_INCLUDE_DIRS=/Users/da/openssl-ios/include/  -G Xcode ..


Shell output:

-- Toolchain using default iOS SDK:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk

-- Looking for include file pthread.h

-- Looking for include file pthread.h - not found

-- Could NOT find Threads (missing:  Threads_FOUND)

-- Looking for argp.h

-- Looking for argp.h - not found

-- Looking for pty.h

-- Looking for pty.h - not found

-- Looking for termios.h

-- Looking for termios.h - not found

-- Looking for openssl/aes.h

-- Looking for openssl/aes.h - not found

-- Looking for openssl/blowfish.h

-- Looking for openssl/blowfish.h - not found

-- Looking for openssl/des.h

-- Looking for openssl/des.h - not found

-- Looking for strncpy

-- Looking for strncpy - not found

-- Looking for vsnprintf

-- Looking for vsnprintf - not found

-- Looking for snprintf

-- Looking for snprintf - not found

-- Looking for getaddrinfo in socket

-- Looking for getaddrinfo in socket - not found

-- Looking for hstrerror in resolv

-- Looking for hstrerror in resolv - not found

-- Looking for inet_pton in nsl

-- Looking for inet_pton in nsl - not found

-- Looking for nanosleep in rt

-- Looking for nanosleep in rt - not found

-- Looking for clock_gettime in rt

-- Looking for clock_gettime in rt - not found

-- Looking for getaddrinfo

-- Looking for getaddrinfo - not found

-- Looking for poll

-- Looking for poll - not found

-- Looking for select

-- Looking for select - not found

-- Looking for cfmakeraw

-- Looking for cfmakeraw - not found

-- Looking for regcomp

-- Looking for regcomp - not found

-- Looking for ntohll

-- Looking for ntohll - not found

-- Check if the system is big endian

-- Searching 16 bit integer

-- Looking for sys/types.h

-- Looking for sys/types.h - not found

-- Looking for stdint.h

-- Looking for stdint.h - not found

-- Looking for stddef.h

-- Looking for stddef.h - not found

-- Check size of unsigned short

-- Check size of unsigned short - failed

-- Check size of unsigned int

-- Check size of unsigned int - failed

-- Check size of unsigned long

-- Check size of unsigned long - failed

CMake Error at /opt/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44
(message):

  no suitable type found

Call Stack (most recent call first):

  ConfigureChecks.cmake:157 (test_big_endian)

  CMakeLists.txt:67 (include)





-- Configuring incomplete, errors occurred!

See also "/Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeOutput.log".

See also "/Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeError.log".

Attachment: ios.toolchain.cmake
Description: Binary data

Determining if files pthread.h exist failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1620528320 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1620528320 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)

Source:
/* */
#include <pthread.h>


int main(){return 0;}

Determining if the include file argp.h exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2474574298 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2474574298 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file pty.h exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec308016582 
-configuration Debug
=== BUILD TARGET cmTryCompileExec308016582 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file termios.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1410086652 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1410086652 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file openssl/aes.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1784298045 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1784298045 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file openssl/blowfish.h exists failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1490555415 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1490555415 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file openssl/des.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2355962321 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2355962321 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function strncpy exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec3428842601 
-configuration Debug
=== BUILD TARGET cmTryCompileExec3428842601 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function vsnprintf exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1746254645 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1746254645 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function snprintf exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec3769848603 
-configuration Debug
=== BUILD TARGET cmTryCompileExec3769848603 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function getaddrinfo exists in the socket failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2681179688 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2681179688 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function hstrerror exists in the resolv failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec3817519401 
-configuration Debug
=== BUILD TARGET cmTryCompileExec3817519401 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function inet_pton exists in the nsl failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1632886714 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1632886714 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function nanosleep exists in the rt failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec3453429924 
-configuration Debug
=== BUILD TARGET cmTryCompileExec3453429924 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function clock_gettime exists in the rt failed with the 
following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2146768357 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2146768357 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function getaddrinfo exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec903677444 
-configuration Debug
=== BUILD TARGET cmTryCompileExec903677444 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function poll exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec4179707674 
-configuration Debug
=== BUILD TARGET cmTryCompileExec4179707674 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function select exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2992588207 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2992588207 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function cfmakeraw exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec143373177 
-configuration Debug
=== BUILD TARGET cmTryCompileExec143373177 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function regcomp exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1207609989 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1207609989 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the function ntohll exists failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2610498503 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2610498503 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file sys/types.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1600845066 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1600845066 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file stdint.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2938504857 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2938504857 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining if the include file stddef.h exists failed with the following 
output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec560661482 
-configuration Debug
=== BUILD TARGET cmTryCompileExec560661482 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)


Determining size of unsigned short failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2768718702 
-configuration Debug
=== BUILD TARGET cmTryCompileExec2768718702 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)

/Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c:


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif

#define SIZE (sizeof(unsigned short))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining size of unsigned int failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec1823937355 
-configuration Debug
=== BUILD TARGET cmTryCompileExec1823937355 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)

/Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c:


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif

#define SIZE (sizeof(unsigned int))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining size of unsigned long failed with the following output:
Change Dir: /Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CMakeTmp

Run Build Command:/opt/local/bin/cmakexbuild -project 
CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec3285530893 
-configuration Debug
=== BUILD TARGET cmTryCompileExec3285530893 OF PROJECT CMAKE_TRY_COMPILE WITH 
CONFIGURATION Debug ===

Check dependencies
target specifies product type 'com.apple.product-type.tool', but there's no 
such product type for the 'iphoneos' platform

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)

/Users/da/Downloads/libssh-0.5.2/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif

#define SIZE (sizeof(unsigned long))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


The target system is: Darwin - 1 - 
The host system is: Darwin - 13.1.0 - i386

Reply via email to