[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error during make of libssh


yeah it still gives errors

On Wed, Jul 8, 2015 at 5:07 PM, Aris Adamantiadis <aris@xxxxxxxxxxxx> wrote:

>  Does it work if you remove the -DWITCH_STATIC_LIB option ?
>
> Le 08/07/15 08:23, Raghaw Shukla a écrit :
>
> Hi Andreas,
>
>  Can u please let me know the version/configuration of your
> gcc/compiler.I am using MINGW .
>
> On Tue, Jul 7, 2015 at 12:45 PM, Andreas Schneider <asn@xxxxxxxxxxxxxx>
> wrote:
>
>>  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                asn@xxxxxxxxxxxxxx
>>
>>
>>
>
>
>  --
> Raghaw Shukla
> Software Engineer(AutoPilot Development Team)
> Aurora Integrated Systems,Bangalore.
> Email:raghaw.shukla@xxxxxxxxxxxxx
> Mobile:9972580305
>
>
>


-- 
Raghaw Shukla
Software Engineer(AutoPilot Development Team)
Aurora Integrated Systems,Bangalore.
Email:raghaw.shukla@xxxxxxxxxxxxx
Mobile:9972580305

References:
error during make of libsshRaghaw Shukla <raghaw.wesee@xxxxxxxxx>
Re: error during make of libsshAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: error during make of libsshRaghaw Shukla <raghaw.wesee@xxxxxxxxx>
Re: error during make of libsshAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org