[freetds] Build problem /w ODBC

Peter Deacon peterd at iea-software.com
Sun Sep 28 21:20:15 EDT 2003


For some reason theres an extra -I in the gcc commands for the ODBC tree
on unix.  Looks like it's consuming the first definition (_FREETDS_LIBRARY_SOURCE)

Hehe, autoconfig is way over my head :)

Have Fun!
Peter

depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../include -I  -D_FREETDS_LIBRARY_SOURCE -DTDS50
-DUNIXODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=
D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes  -g
-O2 -c -o odbc.lo `test -f 'odbc.c' || echo './'`odbc.c
rm -f .libs/odbc.lo
rm -f .libs/odbc.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I
-D_FREETDS_LIBRARY_SOURCE -DTDS50 -DUNIXODBC -D_REENTRANT -D_THREAD_SAFE
-DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-
-prototypes -Wmissing-prototypes -g -O2 -c odbc.c -MT odbc.lo -MD -MP -MF
.deps/odbc.TPlo  -fPIC -DPIC -o .libs/odbc.lo
odbc.c: In function `o
odbc.c: In function `odbc_col_setname':


More information about the FreeTDS mailing list