compilation problem using GModule



Hi,

I'm having trouble compiling a file that uses GModules.

/bin/sh ../libtool --mode=compile gcc -g -O2 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../src
-I/home/wayne/ZZ/src -DVERSION=\"0.01\" -c blah.c -o tmpblah.so.lo 
rm -f .libs/tmpblah.so.lo

blah.c:87: parse error before `*'
blah.c:87: warning: data definition has no type or storage class
blah.c:93: parse error before `*'
blah.c:620: parse error before `*'
blah.c: In function `zz_plugin_init':
blah.c:621: `h' undeclared (first use in this function)
blah.c:621: (Each undeclared identifier is reported only once
blah.c:621: for each function it appears in.)
make: *** [blah.so] Error 1

---
$ glib-config --cflags gmodule
-I/usr/include/glib-1.2 -I/usr/lib/glib/include

All of the errors above are directly related to GModules:
87: GModule *handle;
etc.

---

I'd appreciate any help.

Thanks,
Wayne Davis






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]