ctwm compilation problem on solaris 8

From: Thomas Linden (tom@daemon.de)
Date: Tue Oct 22 2002 - 09:37:34 CEST


Hi,

I am unable to compile ctwm 3.6 on solaris 8. the old version
3.5.2 was ok, but this one seems to be changed in some way.

First, my compiler (gcc version 2.95.2 19991024) complains, that
these options are not supported:

   CCOPTIONS = -Xc -xF -xcg92

After commenting CCOPTIONS out in the generated Makefile and running
make, I'm getting this error message:

cc -O -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DUSEM4 -DXPM -c gram.c
gram.y: In function `yyparse':
gram.y:686: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `gram.o'

I checked gram.y and found a syntax error:

wingeom_entry : string string { AddToList (&Scr->WindowGeometries, $1, $2) }
                                                                            ^

(semicolon missing).

After I added the missing semicolon, I re-run 'make' and now
it worked.

kind regards, Tom

-- 
 [ Thomas Linden - http://www.daemon.de/ - thomas.linden@daemon.de ] 
 $_=`perl -v`;s;^.*ll;;s;$^=unpack"u","'8V]D;')E<```";s;\W;;gs;$/=7*
 ($^=~s;.;;g);%^=map{$_=>1}split//,lc;$_=join$\,(sort keys(%^))[map{
 ord($_)-$/}split//,'1I7E13?@E:7C1A7C=1:35<7C'];s"0(.)" \U$1"g;print;


This archive was generated by hypermail 2.1.4 : Wed Oct 23 2002 - 06:45:02 CEST