aterm compilation

Christof (christof@ds2.uw.edu.pl)
14 Dec 2000 21:13:03 +0100


I have some strange problem. I try to compile aterm with afterstep
support. configure works well and make appropiate Makefile and config.h
Then i do 'make' and this is what i get:

-----------
make[1]: Entering directory `/tmp/ex/aterm-0.4.0/src'
/bin/sed -n -f ./makeprotos-sed command.c > command.pro
/bin/sed -n -f ./makeprotos-sed graphics.c > graphics.pro
/bin/sed -n -f ./makeprotos-sed grkelot.c > grkelot.pro
/bin/sed -n -f ./makeprotos-sed main.c > main.pro
/bin/sed -n -f ./makeprotos-sed menubar.c > menubar.pro
/bin/sed -n -f ./makeprotos-sed misc.c > misc.pro
/bin/sed -n -f ./makeprotos-sed netdisp.c > netdisp.pro
/bin/sed -n -f ./makeprotos-sed rmemset.c > rmemset.pro
/bin/sed -n -f ./makeprotos-sed screen.c > screen.pro
/bin/sed -n -f ./makeprotos-sed scrollbar2.c > scrollbar2.pro
/bin/sed -n -f ./makeprotos-sed utmp.c > utmp.pro
/bin/sed -n -f ./makeprotos-sed xdefaults.c > xdefaults.pro
/bin/sed -n -f ./makeprotos-sed pixmap.c > pixmap.pro
/bin/sed -n -f ./makeprotos-sed ximage_utils.c > ximage_utils.pro
gcc -DHAVE_CONFIG_H -DDEBUG_STRICT  -c -I/tmp/prog/include -I/tmp/prog/X11R6/include -I/usr/X11R6/include     -I. -I.. -I.  -O command.c
In file included from libafterstep.h:16,
                 from rxvt.h:144,
                 from command.c:49:
/tmp/prog/X11R6/include/afterstep/screen.h:138: parse error before `name_list'
/tmp/prog/X11R6/include/afterstep/screen.h:138: warning: no semicolon at end of struct or union
/tmp/prog/X11R6/include/afterstep/screen.h:247: parse error before `}'
/tmp/prog/X11R6/include/afterstep/screen.h:248: warning: data definition has no type or storage class
/tmp/prog/X11R6/include/afterstep/screen.h:250: parse error before `Scr'
/tmp/prog/X11R6/include/afterstep/screen.h:250: warning: data definition has no type or storage class
make[1]: *** [command.o] Error 1
make[1]: Leaving directory `/tmp/ex/aterm-0.4.0/src'
make[1]: Entering directory `/tmp/ex/aterm-0.4.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ex/aterm-0.4.0/doc'
make[1]: Entering directory `/tmp/ex/aterm-0.4.0/src/graphics'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ex/aterm-0.4.0/src/graphics'
------------

Not too much so i've put it all here.
Why parse error?!
I suppose it may depends from this -D options at gcc.
My configure options are:
./configure --prefix=/tmp/prog --enable-background-image --enable-fading --disable-backspace-key --disable-delete-key --disable-keepscrolling --enable-aftersteplibs --enable-utmp --enable-dlmalloc --with-term=rxvt

./configure --prefix=/tmp/prog --enable-aftersteplibs - gives the same effect.

What is wrong?
-- 
                                                   Krzysiek
--------------------------------------------------------------------
To unsubscribe from this mailing list, simply type the following at #
echo "unsubscribe as-users <your_email>" | mail majordomo@afterstep.org