Error Compiling unixODBC

From: Alf Lewerken <lewerken(at)mail(dot)bicos(dot)de>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Error Compiling unixODBC
Date: 1999-05-24 08:08:56
Message-ID: 37490918.CF34246B@mail.bicos.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Herouth Maoz 1999-05-24 09:46:18 Re: [GENERAL] Problems with INSERT INTO?
Previous Message mike longtine 1999-05-24 04:30:16