Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group