System: Debian GNU/Linux woody
Compiler: gcc version 2.95.4
GNU C Library stable release version 2.2.5
in choice.c, event.c, locator.c,string.c, stroke.c,umalloc.c,valuator.c I get this error:
c89 -c -g -I../../port/misc -DFONTDBDIR='"/usr/local/xgks/lib/xgksfonts"' -I/usr/include choice.c
In file included from ../../port/misc/stddef.h:9,
from /usr/include/X11/Xlib.h:68,
from gks_implem.h:52,
from choice.c:46:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:337: warning: `offsetof' redefined
../../port/misc/stddef.h:24: warning: this is the location of the previous definition
In file included from choice.c:44:
../../port/misc/signal.h:49: parse error before `sigset_t'
../../port/misc/signal.h:49: warning: no semicolon at end of struct or union
../../port/misc/signal.h:51: parse error before `}'
../../port/misc/signal.h:56: parse error before `*'
../../port/misc/signal.h:57: parse error before `*'
../../port/misc/signal.h:58: parse error before `*'
../../port/misc/signal.h:59: parse error before `*'
../../port/misc/signal.h:60: parse error before `*'
../../port/misc/signal.h:62: parse error before `*'
../../port/misc/signal.h:63: parse error before `*'
../../port/misc/signal.h:64: parse error before `*'
Adding #include <sys/time.h> bevore #include "udposix.h" (like in xport.c) helps but is probably not the
best solution. I suspect the problem lies somewhere else.
Logged In: YES
user_id=68072
xgks compiles now on my system, but all examples I tried make xgks crash in xcolours.c on line 232.
map seems to point to 0x100 which is no valid address, so
map->length leads to a segfault.