Hi All!
I have tried to compile unixODBC on my SuSE-Linux 6.1-System.
The compiler used is egcs-2.91.66
I have edited Common.mk and Drivers/Makefile and did a make.
The make throws the following errors:
g++ -c -g -O0 -fPIC -ansi -I./ -I/usr/include -DDLDAPI_SVR4_DLFCN
-DVERSION=\"3.0.0\" -Wall SQLAllocHandle.c
SQLAllocHandle.c: In function `SQLRETURN __SQLAllocHandle(SQLSMALLINT,
SQLHANDLE, SQLHANDLE *, SQLINTEGER)':
SQLAllocHandle.c:195: warning: implicit declaration of function `int
strdup(...)'
SQLAllocHandle.c:208: too many arguments to function
SQLAllocHandle.c:227: too many arguments to function
SQLAllocHandle.c:277: too many arguments to function
SQLAllocHandle.c:308: too many arguments to function
SQLAllocHandle.c:339: too many arguments to function
SQLAllocHandle.c:370: too many arguments to function
make[1]: *** [SQLAllocHandle.o] Error 1
make[1]: Leaving directory `/usr/src/unixODBC-Beta1.0.3/DriverManager'
make: *** [all] Error 2
Any ideas?
Bye
Alf Lewerken