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 359683 - gtimer.c: In function 'IA__g_timer_elapsed' 'struct timeval' has no member named 'tv_nsec'
gtimer.c: In function 'IA__g_timer_elapsed' 'struct timeval' has no member na...
Status: RESOLVED DUPLICATE of bug 353694
Product: glib
Classification: Platform
Component: general
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-10-04 19:21 UTC by Gabor Z. Papp
Modified: 2006-10-06 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gabor Z. Papp 2006-10-04 19:21:41 UTC
Please describe the problem:
Trying to compile glib 2.12.4 on linux 2.4/glibc 2.2.5 with gcc 4.1.1

gtimer.c: In function 'IA__g_timer_elapsed':
gtimer.c:264: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:264: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:266: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:270: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:270: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:270: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:273: error: 'struct timeval' has no member named 'tv_nsec'
gtimer.c:282: error: 'struct timeval' has no member named 'tv_nsec'
make[4]: *** [gtimer.lo] Error 1

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
[kernel]
Linux gzp1 2.4.32-gzp1 #1 Sat Jan 7 16:31:17 CET 2006 i686 GNU/Linux

[glibc]
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Compiled by GNU CC version 2.95.4 20010319 (prerelease).
Compiled on a Linux 2.4.17 system on 2002-01-21.

[gcc]
gcc (GCC) 4.1.1

[binutils]
GNU ld version 2.17.50.0.3 20060715
Comment 1 Jens Granseuer 2006-10-06 12:29:49 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 353694 ***