Error compiling gtk+hs in Red Hat Linux 7.0

José Romildo Malaquias romildo@urano.iceb.ufop.br
Sun, 5 Nov 2000 05:14:23 -0200


Hello.

When trying to build gtk+hs from CVS I am
getting the following error message:

====================
+ make
Entering preparation phase...
make[1]: Entering directory `/home/romildo/rpms/BUILD/gtk+hs-0.10.1/glib'
/usr/bin/c2hs --cppopts="-I/usr/lib/glib/include -I/usr/X11R6/include" glib.h GL
ist.chs
c2hs: Generic fatal error.

/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:43: (column 26) [FATAL]
 
  >>> Syntax error!
  The symbol `__gnuc_va_list' does not fit here.

make[1]: *** [GList.hs] Error 1
make[1]: Leaving directory `/home/romildo/rpms/BUILD/gtk+hs-0.10.1/glib'
make: *** [prep] Error 2
====================

I am using c2hs from CVS. The system is Red Hat Linux 7.0.
Any clues?

Romildo
-- 
Prof. José Romildo Malaquias <romildo@iceb.ufop.br>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil