Subject: [libssh2] #238: Make fails in function gettimeofday

[libssh2] #238: Make fails in function gettimeofday

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Mon, 14 May 2012 17:53:41 -0000

#238: Make fails in function gettimeofday
-------------------------------+------------------
 Reporter: rtoguchi | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone:
Component: API | Version:
 Keywords: make gettimeofday | Blocked By:
   Blocks: |
-------------------------------+------------------
 Hi,
 I'm trying to manually install libssh2 in Cygwin.
 When executing make, the following message is received:

 ''misc.c: In function ‘_libssh2_gettimeofday’:
 misc.c:596:22: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’
 before ‘ns100’
 misc.c:602:37: error: ‘union <anonymous>’ has no member named ‘ft’
 misc.c:603:31: error: ‘union <anonymous>’ has no member named ‘ns100’
 misc.c:604:31: error: ‘union <anonymous>’ has no member named ‘ns100’
 Makefile:396: recipe for target `misc.lo' failed
 make[2]: *** [misc.lo] Error 1
 make[2]: Saindo do diretório `/tmp/libssh2-1.4.1/src'
 Makefile:272: recipe for target `all' failed
 make[1]: *** [all] Error 2''

 Additional info:
 - The command configure executed successfully only with parameter --with-
 gnu-ld.
 - latest Cygwin version, running on Windows XP.
 - libssh2-1.4.1 is used.
 - similar ticket (#224) open in the past with similar problem but closed
 due to no information provided.

 If any additional information is needed, please let me know.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/238>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-14