Received: from linbicos.bicos.de (linbicos.bicos.de [194.162.32.1]) by hub.org (8.9.3/8.9.3) with ESMTP id BAA38360 for ; Tue, 25 May 1999 01:39:25 -0400 (EDT) (envelope-from lewerken@mail.bicos.de) Received: from gateway.lewerkenedv.de (root@lewerk.bicos.de [194.162.35.117]) by linbicos.bicos.de (8.9.3/8.9.3) with ESMTP id HAA30576 for ; Tue, 25 May 1999 07:39:22 +0200 X-NCC-RegID: de.bicos Received: from mail.bicos.de (alf@ppro.lewerkenedv.de [10.0.0.4]) by gateway.lewerkenedv.de (8.8.8/8.8.8) with ESMTP id NAA05120 for ; Mon, 24 May 1999 13:20:34 +0200 Sender: alf@lewerken@mail.bicos.de Message-ID: <37490918.CF34246B@mail.bicos.de> Date: Mon, 24 May 1999 10:08:56 +0200 From: Alf Lewerken X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgreSQL.org Subject: Error Compiling unixODBC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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