[unixODBC-support] Compile problem with cvs

Daniel Stöckner d.stoeckner at gmx.net
Fri Apr 22 00:30:22 BST 2005


Hello!

I have an error message when getting the cvs version (2005-04-22) and
compiling like this:

make -f Makefile.cvs
libtoolize --copy --force
make -f Makefile.cvs
./configure --prefix=/usr --with-qt-dir=/usr/qt/3
--x-includes=/usr/include/X11 --x-libraries=/usr/lib/X11
make

My system is gentoo, gcc 3.3.5.

The last lines are:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\" -DVERSION=\"2.2.12\"
-DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1
-DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LIBCRYPT=1
-DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_SYS_TIME_H=1 -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1
-DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1
-DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1
-DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1
-DHAVE_SEMGET=1 -DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1
-DNEED_SEMUNDO_UNION=1 -DCOLLECT_STATS=1 -DSTDC_HEADERS=1
-DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1
-DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1
-DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1
-DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1
-DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=1
-I. -I. -I../include -I../libltdl -DSHLIBEXT=\"\" -DSYSTEM_FILE_PATH=
\"/usr/etc\" -DSYSTEM_LIB_PATH=\"/usr/lib\" -DUNICODE_ENCODING=
\"auto-search\" -DASCII_ENCODING=\"auto-search\"     -g -O2 -pthread -MT
SQLSetStmtAttrW.lo -MD -MP -MF ".deps/SQLSetStmtAttrW.Tpo" -c -o
SQLSetStmtAttrW.lo SQLSetStmtAttrW.c; \
then mv -f ".deps/SQLSetStmtAttrW.Tpo" ".deps/SQLSetStmtAttrW.Plo"; else
rm -f ".deps/SQLSetStmtAttrW.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\"
-DVERSION=\"2.2.12\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST=
-DHAVE_LIBCRYPT=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DSIZEOF_LONG=4
-DHAVE_LONG_LONG=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1
-DHAVE_VSNPRINTF=1 -DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1
-DHAVE_ENDPWENT=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1
-DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1 -DHAVE_SHMGET=1
-DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1
-DCOLLECT_STATS=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1
-DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1
-DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1
-DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1
-DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../libltdl
-DSHLIBEXT=\"\" -DSYSTEM_FILE_PATH=\"/usr/etc\" -DSYSTEM_LIB_PATH=
\"/usr/lib\" -DUNICODE_ENCODING=\"auto-search\" -DASCII_ENCODING=
\"auto-search\" -g -O2 -pthread -MT SQLSetStmtAttrW.lo -MD -MP
-MF .deps/SQLSetStmtAttrW.Tpo -c SQLSetStmtAttrW.c  -fPIC -DPIC
-o .libs/SQLSetStmtAttrW.o
make[1]: *** No rule to make target `SQLSetStmtOptionW.c', needed by
`SQLSetStmtOptionW.lo'.  Stop.
make[1]: Leaving directory `/mnt/d/Progs/unixODBC/DriverManager'
make: *** [all-recursive] Error 1

In the ChangeLog I saw that the last entry was concerned with
QLSetStmtOptionW. I suppose there has to be something set up in the
Makefile? But sorry, I don't know how to do it... The Makefile is HUGE
and I don't understand anything of it :(

Any hint greatly appreciated!

Greetings

-Daniel Stoeckner



More information about the unixODBC-support mailing list