Compiling 0.47 on RH 5.2

Brian Bruns camber at ais.org
Tue Nov 9 09:34:56 EST 1999


tdsver=7.0 is very experimental right now (actually it's barely even 
there), please use tdsver=4.2 to access MS SQL

Brian

On 11/05/99, "adrian at alexa.com (Adrian Blakey)" wrote:
> Not a happy compile...
> 
> > ./configure --with-tdsver=7.0
> > make
> ...
> 
> make[2]: Entering directory `/usr/src/freetds/src/dblib'
> /bin/sh ../../libtool --mode=compile
> gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.47\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAI
> T_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_SOCKET=1  -I. -I.  -I../../
> include  -g -O2 -DHW_LITTLE_ENDIAN -DTDS70 -c dblib.c
> mkdir .libs
> gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.47\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAI
> T_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_SOCKET=1 -I. -I. -I../../in
> clude -g -O2 -DHW_LITTLE_ENDIAN -DTDS70 -Wp,-MD,.deps/dblib.p -c  -fPIC -DPI
> C dblib.c -o .libs/dblib.lo
> dblib.c: In function `dbopen':
> dblib.c:417: `g_dblib_version' undeclared (first use this function)
> dblib.c:417: (Each undeclared identifier is reported only once
> dblib.c:417: for each function it appears in.)
> dblib.c: In function `dbsetversion':
> dblib.c:1392: `g_dblib_version' undeclared (first use this function)
> make[2]: *** [dblib.lo] Error 1
> make[2]: Leaving directory `/usr/src/freetds/src/dblib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/freetds/src'
> make: *** [all-recursive] Error 1
> 
> 
> > gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
> gcc version 2.7.2.3



More information about the FreeTDS mailing list