freeTDS on HP-UX 11.31
Joseph Watson <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am trying to connect from my HP-UX 11.31 server to Microsoft SQL Server 2005. Compiling and installing unixODBC was very easy. No errors. I just had to add sim links because /usr/local/bin is not in my path. freeTDS is another story. Configure seems to go good, but make bombs with some errors. I am hoping someone can help me trouble shoot this a bit. There are directions on the freeTDS website that I am trying to follow, but it does not work out for me the same. http://www.freetds.org/contrib/hpux/<http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1442632> I am using the following for configure: env CC=cc CFLAGS="+O2 -I/usr/local/include" LDFLAGS="-L/usr/local/lib/hpux32" ./configure --with-tdsver=8.0 --with-unixodbc=/usr/local --with-libiconv-prefix=/usr/local/lib/hpux32 This completes without issues (that I could see). I then run make and if fails with the errors that I cant figure out. I attached the make log but the config log is to big to attach (Server rejected anything over 75K) I can break it in two and send it if it would be of value. Any help or pointers will be much appreciated. -- Regards Joseph Watson _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds
make.log
(application/octet-stream, 51.1 KB)
No suffix list.
Making all in include
No suffix list.
make all-am
No suffix list.
No suffix list.
cd .. && /bin/sh ./config.status include/tds_sysdep_public.h
config.status: creating include/tds_sysdep_public.h
cd .. && /bin/sh ./config.status include/tdsver.h
config.status: creating include/tdsver.h
echo '#define FREETDS_SYSCONFDIR "/usr/local/etc"' >freetds_sysconfdir.h
Making all in src
No suffix list.
Making all in replacements
source='iconv.c' object='iconv.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o iconv.lo iconv.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c iconv.c -DPIC -o .libs/iconv.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c iconv.c -o iconv.o >/dev/null 2>&1
source='gettimeofday.c' object='gettimeofday.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o gettimeofday.lo gettimeofday.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c gettimeofday.c -DPIC -o .libs/gettimeofday.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c gettimeofday.c -o gettimeofday.o >/dev/null 2>&1
source='asprintf.c' object='asprintf.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o asprintf.lo asprintf.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c asprintf.c -DPIC -o .libs/asprintf.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c asprintf.c -o asprintf.o >/dev/null 2>&1
source='vasprintf.c' object='vasprintf.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o vasprintf.lo vasprintf.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c vasprintf.c -DPIC -o .libs/vasprintf.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c vasprintf.c -o vasprintf.o >/dev/null 2>&1
source='readpassphrase.c' object='readpassphrase.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o readpassphrase.lo readpassphrase.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c readpassphrase.c -DPIC -o .libs/readpassphrase.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c readpassphrase.c -o readpassphrase.o >/dev/null 2>&1
source='strlcpy.c' object='strlcpy.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o strlcpy.lo strlcpy.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c strlcpy.c -DPIC -o .libs/strlcpy.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c strlcpy.c -o strlcpy.o >/dev/null 2>&1
source='strlcat.c' object='strlcat.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o strlcat.lo strlcat.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c strlcat.c -DPIC -o .libs/strlcat.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c strlcat.c -o strlcat.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link cc -D_REENTRANT -mthreads +O2 -I/usr/local/include -L/usr/local/lib/hpux32 -L/usr/local/lib -o libreplacements.la iconv.lo gettimeofday.lo asprintf.lo vasprintf.lo readpassphrase.lo strlcpy.lo strlcat.lo
ar cru .libs/libreplacements.a .libs/iconv.o .libs/gettimeofday.o .libs/asprintf.o .libs/vasprintf.o .libs/readpassphrase.o .libs/strlcpy.o .libs/strlcat.o
ranlib .libs/libreplacements.a
creating libreplacements.la
(cd .libs && rm -f libreplacements.la && ln -s ../libreplacements.la libreplacements.la)
Making all in tds
make all-recursive
Making all in unittests
source='mem.c' object='mem.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o mem.lo mem.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c mem.c -DPIC -o .libs/mem.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c mem.c -o mem.o >/dev/null 2>&1
source='token.c' object='token.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o token.lo token.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c token.c -DPIC -o .libs/token.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c token.c -o token.o >/dev/null 2>&1
source='util.c' object='util.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o util.lo util.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c util.c -DPIC -o .libs/util.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
"util.c", line 337: warning #4275-D: constant out of range ([2400 - 20292])
for the operator
for (err = tds_error_messages; err->msgno; ++err) {
^
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c util.c -o util.o >/dev/null 2>&1
source='login.c' object='login.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o login.lo login.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c login.c -DPIC -o .libs/login.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c login.c -o login.o >/dev/null 2>&1
source='read.c' object='read.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o read.lo read.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c read.c -DPIC -o .libs/read.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
"read.c", line 198: warning #2186-D: pointless comparison of unsigned integer
with zero
assert(string_len >= 0 && dest_size >= 0);
^
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c read.c -o read.o >/dev/null 2>&1
source='write.c' object='write.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o write.lo write.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c write.c -DPIC -o .libs/write.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c write.c -o write.o >/dev/null 2>&1
source='convert.c' object='convert.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o convert.lo convert.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c convert.c -DPIC -o .libs/convert.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
"convert.c", line 1672: warning #2186-D: pointless comparison of unsigned
integer with zero
assert(srclen >= 0 && srclen <= 2147483647u);
^
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c convert.c -o convert.o >/dev/null 2>&1
source='numeric.c' object='numeric.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o numeric.lo numeric.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c numeric.c -DPIC -o .libs/numeric.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c numeric.c -o numeric.o >/dev/null 2>&1
source='config.c' object='config.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o config.lo config.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c config.c -DPIC -o .libs/config.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c config.c -o config.o >/dev/null 2>&1
source='query.c' object='query.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c -o query.lo query.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -mthreads +O2 -I/usr/local/include -c query.c -DPIC -o .libs/query.o
cc: warning 901: unknown option: `-hreads': use +help for online documentation.
"query.c", line 981: warning #2068-D: integer conversion resulted in a change
of sign
tds_put_int(tds, param_length ? param_length : -1);
^
"query.c", line 2036: warning #4347-D: "inline" is a keyword in the C99 C
Standard, and its usage as an identifier will cause an error in C99
mode
static inline void
^
"query.c", line 2036: warning #2260-D: explicit type is missing ("int" assumed)
static inline void
^
"query.c", line 2036: error #2065: expected a ";"
static inline void
^
"query.c", line 2069: warning #2012-D: parsing restarts here after previous
syntax error
return TDS_FAIL;
^
"query.c", line 2071: error #2040: expected an identifier
tds_put_byte(tds, TDS_CURDECLARE_TOKEN);
^
"query.c", line 2071: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, TDS_CURDECLARE_TOKEN);
^
"query.c", line 2071: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, TDS_CURDECLARE_TOKEN);
^
"query.c", line 2074: error #2040: expected an identifier
tds_put_smallint(tds, (6 + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2074: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_smallint(tds, (6 + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2074: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_smallint(tds, (6 + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: warning #2077-D: this declaration has no storage class
or type specifier
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2076: error #2147: declaration is incompatible with
"void tdsdump_log(const char *, unsigned int, const char *, ...)"
(declared at line 1542 of "../../include/tds.h")
tdsdump_log(TDS_DBG_ERROR, "size = %u\n", (unsigned int) (6u + strlen(cursor->cursor_name) + strlen(cursor->query)));
^
"query.c", line 2078: error #2018: expected a ")"
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2078: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2078: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2079: error #2018: expected a ")"
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2079: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2079: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2080: error #2040: expected an identifier
tds_put_byte(tds, 1); /* cursor option is read only=1, unused=0 */
^
"query.c", line 2080: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 1); /* cursor option is read only=1, unused=0 */
^
"query.c", line 2080: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 1); /* cursor option is read only=1, unused=0 */
^
"query.c", line 2081: error #2040: expected an identifier
tds_put_byte(tds, 0); /* status unused=0 */
^
"query.c", line 2081: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0); /* status unused=0 */
^
"query.c", line 2081: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0); /* status unused=0 */
^
"query.c", line 2083: error #2018: expected a ")"
tds_put_smallint(tds, strlen(cursor->query));
^
"query.c", line 2083: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_smallint(tds, strlen(cursor->query));
^
"query.c", line 2083: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_smallint(tds, strlen(cursor->query));
^
"query.c", line 2084: error #2018: expected a ")"
tds_put_n(tds, cursor->query, strlen(cursor->query));
^
"query.c", line 2084: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_n(tds, cursor->query, strlen(cursor->query));
^
"query.c", line 2084: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_n(tds, cursor->query, strlen(cursor->query));
^
"query.c", line 2085: error #2040: expected an identifier
tds_put_tinyint(tds, 0); /* number of columns = 0 , valid value applicable only for updatable cursor */
^
"query.c", line 2085: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_tinyint(tds, 0); /* number of columns = 0 , valid value applicable only for updatable cursor */
^
"query.c", line 2085: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_tinyint(tds, 0); /* number of columns = 0 , valid value applicable only for updatable cursor */
^
"query.c", line 2086: error #2077-D: this declaration has no storage class or
type specifier
*something_to_send = 1;
^
"query.c", line 2086: warning #2144-D: a value of type "int" cannot be used to
initialize an entity of type "int *"
*something_to_send = 1;
^
"query.c", line 2086: warning #2152-D: conversion of nonzero integer to pointer
*something_to_send = 1;
^
"query.c", line 2087: error #2169: expected a declaration
}
^
"query.c", line 2090: error #2169: expected a declaration
}
^
"query.c", line 2116: warning #2012-D: parsing restarts here after previous
syntax error
tds->out_flag = TDS_NORMAL;
^
"query.c", line 2117: error #2040: expected an identifier
tds_put_byte(tds, TDS_CUROPEN_TOKEN);
^
"query.c", line 2117: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, TDS_CUROPEN_TOKEN);
^
"query.c", line 2117: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, TDS_CUROPEN_TOKEN);
^
"query.c", line 2118: error #2040: expected an identifier
tds_put_smallint(tds, 6 + strlen(cursor->cursor_name)); /* length of the data stream that follows */
^
"query.c", line 2118: error #2018: expected a ")"
tds_put_smallint(tds, 6 + strlen(cursor->cursor_name)); /* length of the data stream that follows */
^
"query.c", line 2118: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_smallint(tds, 6 + strlen(cursor->cursor_name)); /* length of the data stream that follows */
^
"query.c", line 2118: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_smallint(tds, 6 + strlen(cursor->cursor_name)); /* length of the data stream that follows */
^
"query.c", line 2122: error #2040: expected an identifier
tds_put_int(tds, 0);
^
"query.c", line 2122: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_int(tds, 0);
^
"query.c", line 2122: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_int(tds, 0);
^
"query.c", line 2123: error #2018: expected a ")"
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2123: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2123: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_tinyint(tds, strlen(cursor->cursor_name));
^
"query.c", line 2124: error #2018: expected a ")"
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2124: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2124: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_n(tds, cursor->cursor_name, strlen(cursor->cursor_name));
^
"query.c", line 2125: error #2040: expected an identifier
tds_put_byte(tds, 0); /* Cursor status : 0 for no arguments */
^
"query.c", line 2125: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0); /* Cursor status : 0 for no arguments */
^
"query.c", line 2125: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0); /* Cursor status : 0 for no arguments */
^
"query.c", line 2126: error #2077-D: this declaration has no storage class or
type specifier
*something_to_send = 1;
^
"query.c", line 2126: error #2148: variable "something_to_send" has already
been initialized
*something_to_send = 1;
^
"query.c", line 2126: warning #2144-D: a value of type "int" cannot be used to
initialize an entity of type "int *"
*something_to_send = 1;
^
"query.c", line 2126: warning #2152-D: conversion of nonzero integer to pointer
*something_to_send = 1;
^
"query.c", line 2127: error #2169: expected a declaration
}
^
"query.c", line 2154: warning #2012-D: parsing restarts here after previous
syntax error
tds->out_flag = TDS_RPC;
^
"query.c", line 2155: error #2169: expected a declaration
START_QUERY;
^
"query.c", line 2159: error #2169: expected a declaration
if (IS_TDS8_PLUS(tds)) {
^
"query.c", line 2167: warning #2012-D: parsing restarts here after previous
syntax error
tds_put_smallint(tds, 0); /* flags */
^
"query.c", line 2171: error #2040: expected an identifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2171: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2171: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2172: error #2040: expected an identifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2172: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2172: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2173: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2173: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2174: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2174: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2174: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2175: error #2040: expected an identifier
tds_put_byte(tds, 0);
^
"query.c", line 2175: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0);
^
"query.c", line 2175: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0);
^
"query.c", line 2177: error #2169: expected a declaration
if (definition_len) {
^
"query.c", line 2189: warning #2012-D: parsing restarts here after previous
syntax error
tds_convert_string_free(cursor->query, converted_query);
^
"query.c", line 2192: error #2040: expected an identifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2192: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2192: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2193: error #2040: expected an identifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2193: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2193: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2194: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2194: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2195: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2195: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2195: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2196: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2196: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2196: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2197: error #2018: expected a ")"
tds_put_int(tds, definition_len ? cursor->type | 0x1000 : cursor->type);
^
"query.c", line 2197: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_int(tds, definition_len ? cursor->type | 0x1000 : cursor->type);
^
"query.c", line 2197: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_int(tds, definition_len ? cursor->type | 0x1000 : cursor->type);
^
"query.c", line 2200: error #2040: expected an identifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2200: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2200: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0); /* no parameter name */
^
"query.c", line 2201: error #2040: expected an identifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2201: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2201: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2202: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2202: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2203: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2203: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2203: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2204: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2204: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2204: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2205: error #2018: expected a ")"
tds_put_int(tds, cursor->concurrency);
^
"query.c", line 2205: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_int(tds, cursor->concurrency);
^
"query.c", line 2205: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_int(tds, cursor->concurrency);
^
"query.c", line 2208: error #2040: expected an identifier
tds_put_byte(tds, 0);
^
"query.c", line 2208: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 0);
^
"query.c", line 2208: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 0);
^
"query.c", line 2209: error #2040: expected an identifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2209: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2209: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 1); /* output parameter */
^
"query.c", line 2210: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2210: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, SYBINTN);
^
"query.c", line 2211: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2211: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2211: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2212: error #2040: expected an identifier
tds_put_byte(tds, 4);
^
"query.c", line 2212: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_byte(tds, 4);
^
"query.c", line 2212: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_byte(tds, 4);
^
"query.c", line 2213: error #2040: expected an identifier
tds_put_int(tds, 0);
^
"query.c", line 2213: warning #2077-D: this declaration has no storage class
or type specifier
tds_put_int(tds, 0);
^
"query.c", line 2213: error #2092: identifier-list parameters may only be used
in a function definition
tds_put_int(tds, 0);
^
"query.c", line 2215: error #2169: expected a declaration
if (definition_len) {
^
"query.c", line 2227: warning #2012-D: parsing restarts here after previous
syntax error
free(param_definition);
^
"query.c", line 2229: error #2077-D: this declaration has no storage class or
type specifier
*something_to_send = 1;
^
"query.c", line 2229: error #2148: variable "something_to_send" has already
been initialized
*something_to_send = 1;
^
"query.c", line 2229: warning #2144-D: a value of type "int" cannot be used to
initialize an entity of type "int *"
*something_to_send = 1;
^
"query.c", line 2229: warning #2152-D: conversion of nonzero integer to pointer
*something_to_send = 1;
^
"query.c", line 2230: error #2077-D: this declaration has no storage class or
type specifier
tds->internal_sp_called = TDS_SP_CURSOROPEN;
^
"query.c", line 2230: error #2065: expected a ";"
tds->internal_sp_called = TDS_SP_CURSOROPEN;
^
"query.c", line 2231: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): RPC call set up \n");
^
"query.c", line 2231: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): RPC call set up \n");
^
"query.c", line 2231: error #2079: expected a type specifier
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): RPC call set up \n");
^
"query.c", line 2231: warning #2077-D: this declaration has no storage class
or type specifier
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): RPC call set up \n");
^
"query.c", line 2231: error #2147: declaration is incompatible with "int
tdsdump_log(<error-type>, <error-type>, <error-type>, <error-type>)"
(declared at line 2076)
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): RPC call set up \n");
^
"query.c", line 2232: error #2169: expected a declaration
}
^
"query.c", line 2235: warning #2012-D: parsing restarts here after previous
syntax error
tdsdump_log(TDS_DBG_ERROR, "tds_cursor_open (): cursor open completed\n");
^
"query.c", line 2236: error #2169: expected a declaration
return TDS_SUCCEED;
^
"query.c", line 2237: error #2169: expected a declaration
}
^
Error limit reached.
100 errors detected in the compilation of "query.c".
Compilation terminated.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Stop.
*** Error exit code 1
*** Error exit code 1
Stop.
Stop.
*** Error exit code 1