0.1.4 breeaks compilation on Alpha system

Brian E.W. Wood (beww@intac.com)
Wed, 28 Oct 1998 22:54:00 -0500 (EST)


Hi guys, and much thanks for all your good work so far.

I have been seeking a decent WYSIWYG word processor for My Alpha machine
running Linux for a long time with no success at all, and believe me I have
tried them all. There are many WP solutions for Linux running on the Intel
platform but I am running an Alpha and a couple of Sparcs.

I look with interest at your project. I'm not really a programmer but it is my
hope that I can contribute in some way. I can usually figure out why a program
won't compile, and I have some experience in porting apps to the 64-bit alpha
platform.

Although I really don't have the time I guess I'll have to figure out cvs but
here's what I can tell you about the tarball releases so far:

The 0.1.1 and 0.1.2 tarballs compiled just fine on the Alpha, and worked just
fine within their limitations.

0.1.3 compiled OK only after I removed the 486-specific platform flags from the
linux.mk file. I sent some mail to your info address about this but I guess I
sent it to the wrong place.

0.1.4 had the same problem with linux.mk but had many other problems and would
not compile. The problem began with:

make[2]: Entering directory `/usr/src/abi-0.1.4/src/ev/unix'
ev_UnixKeyboard.cpp:
In file included from /usr/local/include/gdk/gdktypes.h:25,
from /usr/local/include/gdk/gdk.h:23,
from ev_UnixKeyboard.cpp:21:
/usr/local/include/glib.h:22: glibconfig.h: No such file or directory
In file included from /usr/local/include/gdk/gdk.h:23,
from ev_UnixKeyboard.cpp:21:
/usr/local/include/gdk/gdktypes.h:710: syntax error before `;'
/usr/local/include/gdk/gdktypes.h:714: syntax error before `;'
/usr/local/include/gdk/gdktypes.h:718: syntax error before `;'
/usr/local/include/gdk/gdktypes.h:727: syntax error before `,'
/usr/local/include/gdk/gdktypes.h:728: syntax error before `;'

with *many* more such errors

This was followed by:

/usr/local/include/gdk/gdk.h:53: syntax error before `('
/usr/local/include/gdk/gdk.h:54: syntax error before `('
/usr/local/include/gdk/gdk.h:55: `guint32' was not declared in this scope
/usr/local/include/gdk/gdk.h:55: parse error before `)'
/usr/local/include/gdk/gdk.h:76: type specifier omitted for parameter
/usr/local/include/gdk/gdk.h:76: parse error before `)'
/usr/local/include/gdk/gdk.h:77: `guint32' was not declared in this scope
/usr/local/include/gdk/gdk.h:77: parse error before `)'
/usr/local/include/gdk/gdk.h:81: type specifier omitted for parameter
/usr/local/include/gdk/gdk.h:81: parse error before `)'
/usr/local/include/gdk/gdk.h:82: `guint32' was not declared in this scope
/usr/local/include/gdk/gdk.h:82: parse error before `)'
/usr/local/include/gdk/gdk.h:125: `guint32' was not declared in this scope
/usr/local/include/gdk/gdk.h:125: parse error before `)'
/usr/local/include/gdk/gdk.h:209: type specifier omitted for parameter
/usr/local/include/gdk/gdk.h:209: parse error before `,'
/usr/local/include/gdk/gdk.h:217: type specifier omitted for parameter

again, many more such.

Please understand that I do not claim that these problems are with your code, in
fact it seems clear that they are with the gdk headers. I will look into this
further when I get the time.

I am willing to put in as much time as I can in trying to resolve these
problems. I really think it is important that your project remain
platform-independent and run on all ports of Linux. If you folks can point me
in the right direction(s) I'd like to help.

My system is a SX164 Alpha running RedHat 5.0. Compiler is EGCS 1.1b. GTK+
1.0.6.

Although your docs say I need gtk+1.0.5 version 1.0.6 was listed as a
maintanance release, containing only bugfixes, was I wrong in using it?

Any suggestions appreciated, thanks.

---
Brian E.W. Wood  beww@intac.com


This archive was generated by hypermail 1.03b2.