Re: [gnome-db] sybase



Hugh,  

Those are defined in the header files you get with sybase openclient, I
don't have any experience with freetds.

mike



On Fri, 2002-08-09 at 09:39, Hugh Bragg wrote:
> The symbols don't exist.
> In the freetds-0.53-1.i386.rpm version the include files aren't included 
> either. I can't seem to find a library which will allow me to build 
> gda-sybase-0.2.95-1.i386.rpm.
> 
> [hugh pc016 hugh]$ rpm -ql freetds
> /etc/freetds
> /etc/freetds/interfaces
> /usr/freetds/include
> /usr/freetds/include/bkpublic.h
> /usr/freetds/include/common.h
> /usr/freetds/include/cspublic.h
> /usr/freetds/include/cstypes.h
> /usr/freetds/include/ctlib.h
> /usr/freetds/include/ctpublic.h
> /usr/freetds/include/dblib.h
> /usr/freetds/include/sqldb.h
> /usr/freetds/include/sqlfront.h
> /usr/freetds/include/sybdb.h
> /usr/freetds/include/syberror.h
> /usr/freetds/include/sybfront.h
> /usr/freetds/include/tds.h
> /usr/freetds/include/tdsconvert.h
> /usr/freetds/include/tdsutil.h
> /usr/freetds/include/tdsver.h
> /usr/freetds/interfaces
> /usr/freetds/lib
> /usr/freetds/lib/libct.a
> /usr/freetds/lib/libct.la
> /usr/freetds/lib/libct.so.0
> /usr/freetds/lib/libct.so.0.0.0
> /usr/freetds/lib/libsybdb.a
> /usr/freetds/lib/libsybdb.la
> /usr/freetds/lib/libsybdb.so.0
> /usr/freetds/lib/libsybdb.so.0.0.0
> /usr/freetds/lib/libtds.a
> /usr/freetds/lib/libtds.la
> /usr/freetds/lib/libtds.so.0
> /usr/freetds/lib/libtds.so.0.0.0
> /usr/freetds/samples
> /usr/freetds/samples/debug.c
> /usr/share/doc/freetds-0.51
> /usr/share/doc/freetds-0.51/AUTHORS
> /usr/share/doc/freetds-0.51/BUGS
> /usr/share/doc/freetds-0.51/COPYING
> /usr/share/doc/freetds-0.51/ChangeLog
> /usr/share/doc/freetds-0.51/INSTALL
> /usr/share/doc/freetds-0.51/NEWS
> /usr/share/doc/freetds-0.51/PWD
> /usr/share/doc/freetds-0.51/README
> /usr/share/doc/freetds-0.51/TODO
> [hugh pc016 hugh]$ cd /usr/freetds/include/
> [hugh pc016 include]$ grep CS_MAX_CHAR *
> [hugh pc016 include]$ grep CS_SERVERNAME *
> 
> 
> On Friday 09 August 2002 14:37, Rodrigo Moya wrote:
> > On Tue, 2002-08-06 at 14:59, Hugh Bragg wrote:
> > > Thanks, I got a lot further.
> > > I installed /home/hugh/freetds-0.51-1.asp.i386.rpm and set prefix to
> > > /usr/freetds
> > > This time there is a compile error, possibly the libraries I used.
> > > Which libraries should I use. My sybase installation
> > > /usr/opt/sybase-11.9.2/ doesn't have the include files so I use the
> > > freetds.
> > >
> > > Otherwise, I have no idea what the problem is.
> > >
> > > gda-sybase-connection.c: In function `gda_sybase_connection_reopen':
> > > gda-sybase-connection.c:821: `CS_MAX_CHAR' undeclared (first use in
> >
> > this function)
> >
> > > gda-sybase-connection.c:821: (Each undeclared identifier is reported
> >
> > only once
> >
> > > gda-sybase-connection.c:821: for each function it appears in.)
> > > gda-sybase-connection.c:1017: `CS_SERVERNAME' undeclared (first use in
> >
> > this function)
> >
> > hmm, could you grep the sybase include directory for those symbols to
> > check that they are there? Those symbols seem to belong to sybase API,
> > so it seems you are missing a header file.
> >
> > cheers
> > _______________________________________________
> > gnome-db-list mailing list
> > gnome-db-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-db-list
> 
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
> 





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