[gnome-db] [Fwd: [Bug 69058] New - Problem compiling libgda 0.2.94]



Hi!

It seems the C++ bindings don't compile with gcc-3.0

Anyone with spare time and a gcc-3 compiler wanting to fix it?

cheers

-----Forwarded Message-----

> From: bugzilla-daemon widget gnome org
> To: cwiegand urgentmail com, rodrigo gnome-db org, louie ximian com
> Subject: [Bug 69058] New - Problem compiling libgda 0.2.94
> Date: 18 Jan 2002 14:19:46 -0500
> 
> Please do not reply to this email- if you want to comment on the bug, go to the
> URL shown below and enter your comments there.
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=69058
> 
> Changed by pierre epinetworx com 
> 
> --- shadow/69058	Fri Jan 18 14:19:46 2002
> +++ shadow/69058.tmp.18418	Fri Jan 18 14:19:46 2002
> @@ -0,0 +1,184 @@
> +Bug#: 69058
> +Product: libgda
> +Version: unspecified
> +OS: Linux
> +OS Details: Linux Slackware 8.0
> +Status: NEW   
> +Resolution: 
> +Severity: major
> +Priority: Normal
> +Component: c++ bindings
> +AssignedTo: cwiegand urgentmail com                            
> +ReportedBy: pierre epinetworx com               
> +QAContact: rodrigo gnome-db org
> +TargetMilestone: ---
> +URL: 
> +Cc: 
> +Summary: Problem compiling libgda 0.2.94
> +
> +Hi,
> +
> +I try to compile libgda-0.2.94 on my linux slackware 8 with gcc-3.0.3
> +there was no problem with the configure, but for the make i got this :
> +
> +root pierre:/tmp/libgda-0.2.94# gmake
> +gmake  all-recursive
> +gmake[1]: Entering directory `/tmp/libgda-0.2.94'
> +Making all in po
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/po'
> +gmake[2]: Nothing to be done for `all'.
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/po'
> +Making all in intl
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/intl'
> +gmake[2]: Nothing to be done for `all'.
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/intl'
> +Making all in macros
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/macros'
> +gmake[2]: Nothing to be done for `all'.
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/macros'
> +Making all in idl
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/idl'
> +gmake[2]: Nothing to be done for `all'.
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/idl'
> +Making all in lib
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/lib'
> +Making all in gda-common
> +gmake[3]: Entering directory `/tmp/libgda-0.2.94/lib/gda-common'
> +gmake[3]: Nothing to be done for `all'.
> +gmake[3]: Leaving directory `/tmp/libgda-0.2.94/lib/gda-common'
> +Making all in gda-client
> +gmake[3]: Entering directory `/tmp/libgda-0.2.94/lib/gda-client'
> +gmake[3]: Nothing to be done for `all'.
> +gmake[3]: Leaving directory `/tmp/libgda-0.2.94/lib/gda-client'
> +Making all in gda-server
> +gmake[3]: Entering directory `/tmp/libgda-0.2.94/lib/gda-server'
> +gmake[3]: Nothing to be done for `all'.
> +gmake[3]: Leaving directory `/tmp/libgda-0.2.94/lib/gda-server'
> +gmake[3]: Entering directory `/tmp/libgda-0.2.94/lib'
> +gmake[3]: Nothing to be done for `all-am'.
> +gmake[3]: Leaving directory `/tmp/libgda-0.2.94/lib'
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/lib'
> +Making all in bindings
> +gmake[2]: Entering directory `/tmp/libgda-0.2.94/bindings'
> +Making all in c++
> +gmake[3]: Entering directory `/tmp/libgda-0.2.94/bindings/c++'
> +/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../..
> +-I/usr/local/include   -I../../lib/gda-common  -I../../lib/gda-common 
> +-I../../lib/gda-client  -I../../lib/gda-client 
> +-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT
> +-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
> +-I/usr/local/lib/glib/include -I/usr/local/include/gnome-xml
> +-I/usr/local/include/gconf/1 -I/usr/local/include
> +-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> +-I/usr/local/include/orbit-1.0 -I/usr/local/include/gnome-1.0
> +-I/usr/local/include -DNEED_GNOMESUPPORT_H
> +-I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2
> +-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> +-I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2
> +-I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0    -g -O2 -c
> +gdaBatch.cpp
> +rm -f .libs/gdaBatch.lo
> +c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
> +-I../../lib/gda-common -I../../lib/gda-common -I../../lib/gda-client
> +-I../../lib/gda-client -I/usr/local/include/glib-1.2
> +-I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2
> +-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> +-I/usr/local/include/gnome-xml -I/usr/local/include/gconf/1
> +-I/usr/local/include -I/usr/local/include/glib-1.2
> +-I/usr/local/lib/glib/include -I/usr/local/include/orbit-1.0
> +-I/usr/local/include/gnome-1.0 -I/usr/local/include -DNEED_GNOMESUPPORT_H
> +-I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk-1.2
> +-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> +-I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2
> +-I/usr/local/include/gnome-xml -I/usr/local/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: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)
> +gmake[3]: *** [gdaBatch.lo] Error 1
> +gmake[3]: Leaving directory `/tmp/libgda-0.2.94/bindings/c++'
> +gmake[2]: *** [all-recursive] Error 1
> +gmake[2]: Leaving directory `/tmp/libgda-0.2.94/bindings'
> +gmake[1]: *** [all-recursive] Error 1
> +gmake[1]: Leaving directory `/tmp/libgda-0.2.94'
> +gmake: *** [all-recursive-am] Error 2
> +
> +
> +
> +It would be great if you could help me with this !
> +
> +Best regards,
> +
> +Pierre.



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