Re: Compiling libgda



On 18 Dec 2000 22:18:08 +0100, Philipp Leusmann wrote:
> Hi,
> 
> i try to compile libgda 0.2.1 on a SuSE 6.4 PPC-System. All dependencies are
> fulfilled AFAIK. The compilation stops with the follwing output:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/glib/include -D_REENTRANT -I/
> usr/lib/glib/include -I/usr/X11R6/include -I/opt/gnome/include/gnome-xml -I/
> opt/gnome/include/gconf/1 -I/usr/include -I/usr/lib/glib/include -I/usr/incl
> ude -I/usr/lib/glib/include -I/usr/lib/glib/include -D_REENTRANT -I/usr/lib/
> glib/include -I/usr/X11R6/include -I/opt/gnome/include/gnome-xml -I/opt/gnom
> e/include/gconf/1 -I/usr/include -I/usr/lib/glib/include -I/usr/include -I/u
> sr/lib/glib/include -I. -I../../lib/gda-common -g -O2 -c
> GDA-skels.c  -fPIC -DPIC -o .libs/GDA-skels.lo
> GDA-skels.c: In function `get_skel_GDA_ConnectionFactory':
> GDA-skels.c:7869: structure has no member named `ref'
> GDA-skels.c:7870: `_ORBIT_skel_GNOME_ObjectFactory_ref' undeclared (first
> use in this function)
> GDA-skels.c:7870: (Each undeclared identifier is reported only once
> GDA-skels.c:7870: for each function it appears in.)
> GDA-skels.c:7875: structure has no member named `unref'
> GDA-skels.c:7876: `_ORBIT_skel_GNOME_ObjectFactory_unref' undeclared (first
> use in this function)
> make[3]: *** [GDA-skels.lo] Error 1
> make[3]: Leaving directory `/usr/src/libgda-0.2.1/lib/gda-server'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/libgda-0.2.1/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/libgda-0.2.1'
> make: *** [all-recursive-am] Error 2
> 
> 
> Could someone please tell me how to fix this?
> 
>

yes, that's a known problem caused by different versions of ORBit. The
solution is easy though: just remove the GDA* files and rerun make.
Those files should be re-generated with you orbit-idl compiler, so there
shouldn't be any problem after removing them

cheers





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