Subject: Re: [libssh2] #224: make failed at misc.c

Re: [libssh2] #224: make failed at misc.c

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

#224: make failed at misc.c
---------------------+----------------------
  Reporter: ongtim | Owner: bagder
      Type: defect | Status: reopened
  Priority: normal | Milestone: 1.5.0
 Component: misc | Version:
Resolution: | Keywords:
Blocked By: | Blocks:
---------------------+----------------------
Changes (by rtoguchi):

 * cc: ricardo_caldeira@… (added)
 * status: closed => reopened
 * version: 1.2.8 =>
 * resolution: outdated =>
 * milestone: => 1.5.0

Comment:

 I've found the same problem described on this old ticked when installing
 libssh2-1.4.1 on Cygwin. When executing "make" (version 3.82.90-1), I
 received the same message:

 :
 :
 libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src
 -DLIBSSH2_WIN32 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c
 -DDLL_EXPORT -DPIC -o .libs/misc.o
 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

 Any ideas?
 If further info needed, please contact.

 /Ricardo

-- 
Ticket URL: <http://trac.libssh2.org/ticket/224#comment:5>
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