Problem compiling glib 2.12.4 on Solaris 9




I'm trying to compile glib 2.12.4 on Solaris 9. However, it craps out with this message:

make[4]: Entering directory `/usr/local/src/glib-2.12.4/glib'
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -L/usr/local/lib -pthreads -L/usr/local/lib -Wall -MT gtimer.lo -MD -MP -MF ".deps/gtimer.Tpo" \
 -c -o gtimer.lo `test -f 'gtimer.c' || echo './'`gtimer.c; \
then mv -f ".deps/gtimer.Tpo" ".deps/gtimer.Plo"; \
else rm -f ".deps/gtimer.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -L/usr/local/lib -pthreads -L/usr/local/lib -Wall -MT gtimer.lo -MD -MP -MF .deps/gtimer.Tpo -c gtimer.c -fPIC -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 `/usr/local/src/glib-2.12.4/glib'

Any idea what might be happening here?

Here is some possibly relevant information from the config.log:

It was created by glib configure 2.12.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

$ ./configure --prefix=/usr/local CFLAGS=-L/usr/local/lib CPPFLAGS=-L/usr/local/lib LDFLAGS=-L/usr/local/lib -Wl,-R/usr/local/lib --with-libiconv

## --------- ##
## Platform. ##
## --------- ##

hostname = ontdhcp1
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_118558-34

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Release = 5.9
KernelID = Generic_118558-34
Machine = sun4u

Thanks.

-Greg G





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