After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 69801 - Compilation fails
Compilation fails
Status: RESOLVED DUPLICATE of bug 69058
Product: libgda
Classification: Other
Component: c++ bindings
0.2.90
Other Linux
: Normal normal
: GNOME-1-x
Assigned To: Chris Wiegand
Rodrigo Moya
Depends on:
Blocks:
 
 
Reported: 2002-01-27 07:51 UTC by sefer tov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sefer tov 2002-01-27 07:51:05 UTC
Hi!

I tried to compile both libgda 0.2.94 & 0.2.95 and they both die 
during compilation with the same error.

$ ./configure --prefix=/usr --with-sybase=/opt/sybase 
--with-postgres=/opt/postgresql
$ make
.
.
.
(I have both sybase and postgresql libraries installed)

creating libgda-server.la
(cd .libs && rm -f libgda-server.la && ln -s ../libgda-server.la 
libgda-server.la)
make[3]: Leaving directory `/home/zvi/t/libgda-0.2.95/lib/gda-server'
make[3]: Entering directory `/home/zvi/t/libgda-0.2.95/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zvi/t/libgda-0.2.95/lib'
make[2]: Leaving directory `/home/zvi/t/libgda-0.2.95/lib'
Making all in bindings
make[2]: Entering directory `/home/zvi/t/libgda-0.2.95/bindings'
Making all in c++
make[3]: Entering directory `/home/zvi/t/libgda-0.2.95/bindings/c++'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I/usr/include 	-I../../lib/gda-common 	-I../../lib/gda-common 
	-I../../lib/gda-client 	-I../../lib/gda-client 	
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/gconf/1 
-I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/include/orbit-1.0 -I/usr/include/gnome-1.0 
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 
-I/usr/include/freetype2 -I/usr/include -I/usr/include/gnome-xml 
-I/usr/include/orbit-1.0    -g -O2 -c gdaBatch.cpp
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include 
-I../../lib/gda-common -I../../lib/gda-common -I../../lib/gda-client 
-I../../lib/gda-client -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml 
-I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -I/usr/include 
-I/usr/include/gnome-xml -I/usr/include/orbit-1.0 -g -O2 -c 
gdaBatch.cpp  -fPIC -DPIC -o .libs/gdaBatch.lo
In file included from gdaBatch.h:22,
                 from gdaIncludes.h:45,
                 from gdaBatch.cpp:20:
gdaConnection.h:44: parse error before `&' token
gdaConnection.h:45: parse error before `)' token
gdaConnection.h:47: parse error before `&' token
gdaConnection.h:48: parse error before `&' token
gdaConnection.h:57: parse error before `&' token
gdaConnection.h:58: parse error before `&' token
gdaConnection.h:65: parse error before `)' token
gdaConnection.h:66: parse error before `)' token
gdaConnection.h:76: parse error before `)' token
In file included from gdaBatch.h:23,
                 from gdaIncludes.h:45,
                 from gdaBatch.cpp:20:
gdaValue.h:70: parse error before `)' token
gdaValue.h:87: parse error before `&' token
In file included from gdaIncludes.h:45,
                 from gdaBatch.cpp:20:
gdaBatch.h:37: parse error before `&' token
gdaBatch.h:38: parse error before `&' token
In file included from gdaIncludes.h:46,
                 from gdaBatch.cpp:20:
gdaCommand.h:41: parse error before `)' token
gdaCommand.h:42: parse error before `&' token
gdaCommand.h:47: parse error before `&' token
gdaCommand.h:62: 'vector' is used as a type, but is not defined as a 
type.
In file included from gdaIncludes.h:48,
                 from gdaBatch.cpp:20:
gdaError.h:41: parse error before `)' token
gdaError.h:43: parse error before `)' token
gdaError.h:44: parse error before `)' token
gdaError.h:45: parse error before `)' token
gdaError.h:46: parse error before `)' token
gdaError.h:47: parse error before `)' token
In file included from gdaIncludes.h:49,
                 from gdaBatch.cpp:20:
gdaErrorList.h:28: parse error before `<' token
gdaErrorList.h:35: parse error before `*' token
gdaErrorList.h:36: parse error before `*' token
gdaErrorList.h:37: parse error before `const'
gdaErrorList.h:parse error before `const'
gdaErrorList.h:38: destructors must be member functions
gdaErrorList.h:40: syntax error before `&' token
gdaErrorList.h:44: `errorList' was not declared in this scope
gdaErrorList.h:49: parse error before `}' token
In file included from gdaIncludes.h:50,
                 from gdaBatch.cpp:20:
gdaField.h:48: parse error before `)' token
gdaField.h:66: parse error before `)' token
gdaField.h:73: ISO C++ forbids declaration of `string' with no type
gdaField.h:73: parse error before `(' token
gdaField.h:74: parse error before `&' token
gdaField.h:76: parse error before `)' token
gdaField.h:83: parse error before `)' token
In file included from gdaIncludes.h:51,
                 from gdaBatch.cpp:20:
gdaRecordset.h:38: parse error before `&' token
gdaRecordset.h:39: parse error before `)' token
gdaRecordset.h:41: parse error before `&' token
gdaRecordset.h:54: parse error before `&' token
gdaRecordset.h:62: `string' was not declared in this scope
gdaRecordset.h:62: parse error before `)' token
gdaRecordset.h:63: parse error before `)' token
In file included from gdaBatch.cpp:21:
gdaHelpers.h:23: parse error before `*' token
gdaBatch.cpp:67: parse error before `&' token
gdaBatch.cpp: In member function `bool gda::Batch::loadFile(...)':
gdaBatch.cpp:70: `filename' undeclared (first use this function)
gdaBatch.cpp:70: (Each undeclared identifier is reported only once for 
each 
   function it appears in.)
gdaBatch.cpp:70: `clean' undeclared (first use this function)
gdaBatch.cpp: At global scope:
gdaBatch.cpp:74: parse error before `&' token
gdaBatch.cpp: In member function `void gda::Batch::addCommand(...)':
gdaBatch.cpp:77: `cmdText' undeclared (first use this function)
make[3]: *** [gdaBatch.lo] Error 1
make[3]: Leaving directory `/home/zvi/t/libgda-0.2.95/bindings/c++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zvi/t/libgda-0.2.95/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zvi/t/libgda-0.2.95'
make: *** [all-recursive-am] Error 2
[zvi@zvi2] ~/t/libgda-0.2.95 >
Comment 1 Rodrigo Moya 2002-02-09 00:14:51 UTC

*** This bug has been marked as a duplicate of 69058 ***