Re: compile problem

Dave Seidel wrote:

> Hi,
> I'm getting this in the gda-mysql-server directory (using gcc 2.95.1):
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.       -I
> include            -D_UNIX_       -I/usr/include                  -I/usr/inc
> lude -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/inc
> lude -I/usr/X11R6/include  -I/usr/lib/glib/include -I/usr/X11R6/include  -g
> -O2 -Wall  -c gda-mysql-recset.c
> gda-mysql-recset.c: In function `gda_mysql_recset_describe':
> gda-mysql-recset.c:68: invalid lvalue in unary `&'
> make: *** [gda-mysql-recset.o] Error 1
> I've tried casting different parts of the expression, but no luck yet.

The & should be removed before the 'mysql_fetch_field_direct(recset->mysql_res,
fieldidx);'. I haven't compiled never the MySQL server, so this might be a typo!
(Has somebody ever tried the MySQL server?)

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