James K. Lowden
2013-03-11 16:13:11 UTC
Hello Freddy,
I can't seem to compile the latest without thread support. I'm configured with
$ ../configure --config-cache --with-tdsver=7.0 --with-libiconv-prefix=/usr \
--enable-threadsafe=no --with-odbc-nodm=/usr/pkg
Here's how it ends:
Making all in unittests
/bin/ksh ../../libtool --tag=CC --mode=compile /usr/pkg/gcc46/bin/cc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include -I../../../include -I../../../src/replacements -I/usr/pkg/include -I/usr/local/include -DTDS_NO_DM -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O0 -Wdeclaration-after-statement -MT getpassarg.lo -MD -MP -MF .deps/getpassarg.Tpo -c -o getpassarg.lo ../../../src/replacements/getpassarg.c
libtool: compile: /usr/pkg/gcc46/bin/cc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include -I../../../include -I../../../src/replacements -I/usr/pkg/include -I/usr/local/include -DTDS_NO_DM -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O0 -Wdeclaration-after-statement -MT getpassarg.lo -MD -MP -MF .deps/getpassarg.Tpo -c ../../../src/replacements/getpassarg.c -fPIC -DPIC -o .libs/getpassarg.o
In file included from ../../../include/tds.h:54:0,
from ../../../src/replacements/getpassarg.c:29:
../../../include/tdsthread.h:216:2: error: #error Condition not supported!
*** Error code 1
Suggestions?
--jkl
I can't seem to compile the latest without thread support. I'm configured with
$ ../configure --config-cache --with-tdsver=7.0 --with-libiconv-prefix=/usr \
--enable-threadsafe=no --with-odbc-nodm=/usr/pkg
Here's how it ends:
Making all in unittests
/bin/ksh ../../libtool --tag=CC --mode=compile /usr/pkg/gcc46/bin/cc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include -I../../../include -I../../../src/replacements -I/usr/pkg/include -I/usr/local/include -DTDS_NO_DM -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O0 -Wdeclaration-after-statement -MT getpassarg.lo -MD -MP -MF .deps/getpassarg.Tpo -c -o getpassarg.lo ../../../src/replacements/getpassarg.c
libtool: compile: /usr/pkg/gcc46/bin/cc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include -I../../../include -I../../../src/replacements -I/usr/pkg/include -I/usr/local/include -DTDS_NO_DM -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O0 -Wdeclaration-after-statement -MT getpassarg.lo -MD -MP -MF .deps/getpassarg.Tpo -c ../../../src/replacements/getpassarg.c -fPIC -DPIC -o .libs/getpassarg.o
In file included from ../../../include/tds.h:54:0,
from ../../../src/replacements/getpassarg.c:29:
../../../include/tdsthread.h:216:2: error: #error Condition not supported!
*** Error code 1
Suggestions?
--jkl