[unixODBC-dev] Wrappers/ODBCDataManagerQ4

Peter Harvey pharvey at peterharvey.org
Mon Sep 1 20:16:55 BST 2008


>
> I would leave the original ODBCConfig (so libodbcinstQ), odbctest and
> maybe one DataManager in the main build.
>

Ok :)

> The current CVS fails to build for me still.
>
>  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\"
> -DVERSION=\"2.2.13pre\" -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
> -DHAVE_SCANDIR=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1
> -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_INT=4
> -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1
> -DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1
> -DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_TIME=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 -DQT_V4LAYOUT=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_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1
> -DHAVE_TIME_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../../../include
> -DTHEPREFIX=\"/usr/local\" -DSYSTEM_FILE_PATH=\"/usr/local/etc\"
> -DDEFLIB_PATH=\"/usr/local/lib\" -DSHLIBEXT=\".so\" -I../../../libltdl
> -g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c
> ODBCConsole.cpp  -fPIC -DPIC -o .libs/ODBCConsole.o
> ODBCConsole.cpp: In member function `virtual bool
>    ODBCConsole::doExecuteShow(const SQLCHAR*)':
> ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
> ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
> make[3]: *** [ODBCConsole.lo] Error 1
> make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
> make: *** [install-recursive] Error 1

Just returned from an day/night at the farm. I have the kids all day today 
(they do not start school until tomorrow) but I should be able try another 
build NOT using wide-char (last build I did was with wide-char).


-- 
Peter



More information about the unixODBC-dev mailing list