Index: [thread] [date] [subject] [author]
  From: Josh <pragma@uswest.net>
  To  : ggi-develop@eskimo.com
  Date: Tue, 23 Mar 1999 02:04:51 -0700 (MST)

Compiling problems...

I can't seem to get the libggi snapshots from the last few weeks to
compile on my system. gii compiles ok.

Here's my system setup:
Debian 2.1
Linux 2.2.3
autoconf 2.12
automake 1.3
gcc 2.7.2.3
libc-2.0.7

The compile pukes out in degas/lib/libggi/display/fbdev/visual.c.  Here's
the relevant info:

make[3]: Entering directory `/home/snarfy/degas/lib/libggi/display/fbdev'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include     -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c
visual.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -D_REENTRANT
-D_THREAD_SAFE -g -Wall -Wp,-MD,.deps/visual.pp -c  -fPIC -DPIC visual.c
-o visual.lo
visual.c: In function `GGIdlinit':
visual.c:533: structure has no member named `accel'
visual.c:535: structure has no member named `accel'
visual.c:535: structure has no member named `accel'
visual.c:536: structure has no member named `accel'
visual.c:538: structure has no member named `accel'
visual.c:546: structure has no member named `accel'
visual.c:547: structure has no member named `accel'
make[3]: *** [visual.lo] Error 1
make[3]: Leaving directory `/home/snarfy/degas/lib/libggi/display/fbdev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/snarfy/degas/lib/libggi/display'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/snarfy/degas/lib/libggi'
make: *** [all-recursive-am] Error 2


After getting this, I removed all the header files that debian has for
2.0beta1 and removed all references to ggi in my system so that I could
compile from a fresh tarball.  Unfortunately it still pukes.  I checked
the include files and it *looks* like the structure that gcc is
complaining about (typedef struct fbdev_hook) has a member "char *accel",
so I'm not sure what the problem is.  Even the structure in
<linux/fbdev.h> has a member called accel, so that's not it either.

Help! :)

Josh


Index: [thread] [date] [subject] [author]