Error compiling gda/gda.idl




I'm trying to compile gnome-db on a RedHat 6.1 with the latest RedHat
GNOME packages (which I believe are based on October GNOME).  However, I
get the following errors during compilation:

  ../gda/gda.idl:21: Warning: `LOCK_READONLY' underscores within
   identifiers are discouraged for use with C-language IDL mappings
  ../gda/gda.idl:198: Error: `GNOME' undeclared identifier

  ** WARNING **: ../gda/gda.idl compilation failed

And then I get the following error:

  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.
    -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include
    -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
    -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include
    a-I/usr/lib/glib/include -g -O2 -Wall -Wp,-MD,.deps/gda-common.pp -c
    -fPIC -DPIC gda-common.c -o .libs/gda-common.lo
    gcc: gda-common.c: No such file or directory

I tried this with the latest snapshot (gnome-db-0.0.27.tar.gz) and the
version that is currently in CVS. I get the error in both cases.

I tried putting #include "gnome-factory.idl" in gda.idl, but that didn't
seem to help.

The offending line seems to be the first one in this block below:

  interface ConnectionFactory : GNOME::GenericFactory {
                Object create_connection(in string goad_id)
                        raises (CannotActivate);
        };

Thanks,

Brian Jepson * (bjepson@ids.net)  *  http://users.ids.net/~bjepson



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