Using the latest CVS version (pgui-dev20020320) I run into a problem compiling
themetools/themec/symtab.c. The error I'm getting is:

make[1]: Entering directory `/tmp/pgui-dev20020320/themetools/themec'
gcc -DPACKAGE=\"pgui-themetools\" -DVERSION=\"1.1.1\" -DYYTEXT_POINTER=1
-DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRDUP=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1  -I. -I.  -I../include    -g -O2 -c symtab.c
symtab.c:15: warning: initialization makes integer from pointer without a cast
symtab.c:1045: `OPENSTEP' undeclared here (not in a function)
symtab.c:1045: initializer element is not constant
symtab.c:1045: (near initialization for `symboltab[1030].value')
make[1]: *** [symtab.o] Error 1
make[1]: Leaving directory `/tmp/pgui-dev20020320/themetools/themec'
make: *** [all-recursive] Error 1


It seems that mksymtab.pl is pulling in OPENSTEP from my /usr/include/GL/gl.h:

#if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO))
#define OPENSTEP
#endif

I can easily modify mksymtab.pl to skip this but I'm wondering if there's a
better way of doing it?

--
Jason Bodnar
[EMAIL PROTECTED]
http://www.shakabuku.org


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to