Hi, all,
This may be slightly OT, but I couldn't find a glib/gtk newsgroup, so
I'm hoping to find the answer here. I'm trying to compile and install
glib (so I can compile/install gtk, so I can eventually compile/install
gimp) and I can't get it to compile. The configure script runs ok, but
when I try to make it, I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -D_REENTRANT -c gdate.c -fPIC -DPIC -o .libs/gdate.lo
In file included from
/usr/tools/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/time.h:90,
from gdate.c:37:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `gdate.lo'
Current working directory /u/tbrown/src/dl/glib-1.2.8
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /u/tbrown/src/dl/glib-1.2.8
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Any ideas? I glanced through time.h, and siginfo.h, and I couldn't see
anything obvious. Your help would be greatly appreciated.
Cheers,
Todd