After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325135 - compilation error in sftp-method.c
compilation error in sftp-method.c
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
2.13.x
Other All
: High trivial
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-28 11:21 UTC by mathos2
Modified: 2006-02-23 19:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mathos2 2005-12-28 11:21:10 UTC
Please describe the problem:
When I compile gnome-vfs-2.12.2 on my linux system (i686-pc-linux) it stops with
following message:

sftp-method.c:1197: error: storage size of 'tv' isn't known.
[sftp-method.lo] Error1
...

I've tried to compile previous version like 2.10.1 but with the same result.

Steps to reproduce:
1. ./configure
2. make
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
The problem was the structure 'timeval'. To fix it, I added after #include
<stdlib.h> at the top of the file the line:
#include <sys/time.h>

Now, the compilation succeded and it seemed to work correctly.
Comment 1 Christian Neumair 2006-02-23 15:50:10 UTC
Thanks for your bug report!
Confirming, setting some info.
Comment 2 Christian Neumair 2006-02-23 19:07:35 UTC
Fixed, closing.