Error compiling glib glib-2.12.4 under cygwin 1.5.21



I downloaded the glib sources from the following URL:
ftp://ftp.gtk.org/pub/glib/2.12/glib-2.12.4.tar.bz2

After extracting the source, I am able to run ./configure with no
errors, however when I run make, I get the following error(s):


 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
 -DG_DISABLE_CAST_
CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -D_REENTRANT -g -O2
-Wall -MT g
timer.lo -MD -MP -MF .deps/gtimer.Tpo -c gtimer.c  -DPIC -o
.libs/gtimer.o
gtimer.c: In function `g_timer_elapsed':
gtimer.c:264: error: structure has no member named `tv_nsec'
gtimer.c:264: error: structure has no member named `tv_nsec'
gtimer.c:266: error: structure has no member named `tv_nsec'
gtimer.c:270: error: structure has no member named `tv_nsec'
gtimer.c:270: error: structure has no member named `tv_nsec'
gtimer.c:270: error: structure has no member named `tv_nsec'
gtimer.c:273: error: structure has no member named `tv_nsec'
gtimer.c:282: error: structure has no member named `tv_nsec'
make[4]: *** [gtimer.lo] Error 1
make[4]: Leaving directory `/home/Administrator/glib-2.12.4/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Administrator/glib-2.12.4/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/glib-2.12.4/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/glib-2.12.4'
make: *** [all] Error 2


--
Andy
http://andy.dynamicbits.com

-- 
http://www.fastmail.fm - Send your email first class




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