I'm attempting to install glib 1.2.6 in my homedir
under Solaris 2.7.2, but I keep getting a parse error (see below). I'm
unsure if the error is related to the fact that siginfo.h is located in
/usr/include/sys, whereas the other includes are in
/usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include.
If I view siginfo.h, it looks fine. I don't see any parse errors in the
described structure - perhaps I'm wrong. Has anyone run into this
before? Any suggestions?
[4:39pm] 4 [~/tools/glib-1.2.6]:sunray7% make make all-recursive Making all in . /usr/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c rm -f .libs/gdate.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c -fPIC -DPIC gdate.c -o .libs/gdate.lo In file included from /usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/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 /home/gregoryl/tools/glib-1.2.6 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /home/gregoryl/tools/glib-1.2.6 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' -----from siginfo.h------- struct sigevent { int sigev_notify; /* notification mode */ int sigev_signo; /* signal number */ union sigval sigev_value; /* signal value */ void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; int __sigev_pad2; }; -----end------- |