On Tuesday 07 July 2015 06:53:32 Raghaw Shukla wrote: > Hi , > > After doing cmake and doing make i get this error everytime. > > $ cmake .. -G"MSYS Makefiles" -DWITH_STATIC_LIB:BOOL=ON > -DZLIB_LIBRARY:FILEPATH > ="/c/Development/lib/libz.a" > -DZLIB_INCLUDE_DIR:PATH="/c/Development/zlib-1.2.3 > /zlib-1.2.3" -DOPENSSL_LIBRARIES:FILEPATH="/c/OpenSSL/libcrypto.a" > -DOPENSSL_IN > CLUDE_DIRS:PATH="/c/OpenSSL/include" > -DOPENSSL_EXTRA_LIBRARIES=/c/OpenSSL/inclu > de/openssl/crypto.h -DCMAKE_BUILD_TYPE=Release > > > > > > > $ make > Scanning dependencies of target ssh_shared > [ 1%] Building C object src/CMakeFiles/ssh_shared.dir/agent.c.obj > [ 1%] Building C object src/CMakeFiles/ssh_shared.dir/auth.c.obj > [ 2%] Building C object src/CMakeFiles/ssh_shared.dir/bignum.c.obj > [ 3%] Building C object src/CMakeFiles/ssh_shared.dir/buffer.c.obj > [ 4%] Building C object src/CMakeFiles/ssh_shared.dir/callbacks.c.obj > [ 4%] Building C object src/CMakeFiles/ssh_shared.dir/channels.c.obj > [ 5%] Building C object src/CMakeFiles/ssh_shared.dir/client.c.obj > [ 6%] Building C object src/CMakeFiles/ssh_shared.dir/config.c.obj > [ 7%] Building C object src/CMakeFiles/ssh_shared.dir/connect.c.obj > j:/Development/libssh-0.7.0/src/connect.c:87:2: error: #error "Your system > must > have getaddrinfo()" > #error "Your system must have getaddrinfo()" > ^ > make[2]: *** [src/CMakeFiles/ssh_shared.dir/connect.c.obj] Error 1 > make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2 > make: *** [all] Error 2 > > > > Anybody any idea why this is happeening??
Compiler too old? It works just fine for me ... -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org a...@cryptomilk.org