freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Possible regression from 0.82 to 0.91: dbpoll function not found
- From: jonesd AT xmission.com
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Possible regression from 0.82 to 0.91: dbpoll function not found
- Date: Wed, 03 Jul 2013 14:42:05 -0600
Greetings. I'm trying to build OpenDBX 1.4.6 using FreeTDS to supply the SQL Server backend. I encountered no problems doing so with FreeTDS 0.82. With FreeTDS 0.91, I'm receiving the following error during make.
make all-recursive
make[1]: Entering directory `/h/opendbx-1.4.6'
Making all in backends
make[2]: Entering directory `/h/opendbx-1.4.6/backends'
Making all in mssql
make[3]: Entering directory `/h/opendbx-1.4.6/backends/mssql'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssqlbackend.lo -MD -MP -MF .deps/libmssqlbackend_la-mssqlbackend.Tpo -c -o libmssqlbackend_la-mssqlbackend.lo `test -f 'mssqlbackend.c' || echo './'`mssqlbackend.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssqlbackend.lo -MD -MP -MF .deps/libmssqlbackend_la-mssqlbackend.Tpo -c mssqlbackend.c -DDLL_EXPORT -DPIC -o .libs/libmssqlbackend_la-mssqlbackend.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssqlbackend.lo -MD -MP -MF .deps/libmssqlbackend_la-mssqlbackend.Tpo -c mssqlbackend.c -o libmssqlbackend_la-mssqlbackend.o >/dev/null 2>&1
mv -f .deps/libmssqlbackend_la-mssqlbackend.Tpo .deps/libmssqlbackend_la-mssqlbackend.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssql_basic.lo -MD -MP -MF .deps/libmssqlbackend_la-mssql_basic.Tpo -c -o libmssqlbackend_la-mssql_basic.lo `test -f 'mssql_basic.c' || echo './'`mssql_basic.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssql_basic.lo -MD -MP -MF .deps/libmssqlbackend_la-mssql_basic.Tpo -c mssql_basic.c -DDLL_EXPORT -DPIC -o .libs/libmssqlbackend_la-mssql_basic.o
mssql_basic.c: In function 'mssql_odbx_result':
mssql_basic.c:324:3: warning: implicit declaration of function 'dbpoll' [-Wimplicit-function-declaration]
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/mingw/include -g -O2 -MT libmssqlbackend_la-mssql_basic.lo -MD -MP -MF .deps/libmssqlbackend_la-mssql_basic.Tpo -c mssql_basic.c -o libmssqlbackend_la-mssql_basic.o >/dev/null 2>&1
mv -f .deps/libmssqlbackend_la-mssql_basic.Tpo .deps/libmssqlbackend_la-mssql_basic.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -no-undefined -module -version-info 3:0:2 -L/mingw/lib -L/mingw/bin -o libmssqlbackend.la -rpath /mingw/lib/opendbx libmssqlbackend_la-mssqlbackend.lo libmssqlbackend_la-mssql_basic.lo -lsybdb -lintl
libtool: link: gcc -shared .libs/libmssqlbackend_la-mssqlbackend.o .libs/libmssqlbackend_la-mssql_basic.o -L/mingw/lib -L/mingw/bin /mingw/lib/libsybdb.dll.a -lintl -o .libs/libmssqlbackend-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libmssqlbackend.dll.a
Creating library file: .libs/libmssqlbackend.dll.a.libs/libmssqlbackend_la-mssql_basic.o: In function `mssql_odbx_result':
h:\opendbx-1.4.6\backends\mssql/mssql_basic.c:324: undefined reference to `dbpoll
'
collect2: ld returned 1 exit status
make[3]: *** [libmssqlbackend.la] Error 1
make[3]: Leaving directory `/h/opendbx-1.4.6/backends/mssql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/h/opendbx-1.4.6/backends'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/h/opendbx-1.4.6'
make: *** [all] Error 2
-
[freetds] Possible regression from 0.82 to 0.91: dbpoll function not found,
jonesd, 07/03/2013
- Re: [freetds] Possible regression from 0.82 to 0.91: dbpoll function not found, James K. Lowden, 07/04/2013
Archive powered by MHonArc 2.6.24.