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

08.04.0100 build error on Fedora 11

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: pgsql-odbc(at)postgresql(dot)org
Subject: 08.04.0100 build error on Fedora 11
Date: 2009-07-28 13:01:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc

I'm getting the message below on Fedora 11, which has unixODBC 2.2.14 and gcc 4.4.0:

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include -I/usr/include -Wall  	  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT odbcapi30.lo -MD -MP -MF .deps/odbcapi30.Tpo -c -o odbcapi30.lo odbcapi30.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT odbcapi30.lo -MD -MP -MF .deps/odbcapi30.Tpo -c odbcapi30.c  -fPIC -DPIC -o .libs/odbcapi30.o
odbcapi30.c:115: error: conflicting types for 'SQLColAttribute'
/usr/include/sql.h:600: note: previous declaration of 'SQLColAttribute' was here
odbcapi30.c: In function 'SQLFetchScroll':
odbcapi30.c:198: warning: pointer targets in initialization differ in signedness
odbcapi30.c:223: warning: pointer targets in passing argument 4 of 'PGAPI_ExtendedFetch' differ in signedness
pgapifunc.h:186: note: expected 'SQLUINTEGER *' but argument is of type 'SQLINTEGER *'
make[2]: *** [odbcapi30.lo] Error 1
make[2]: Leaving directory `/home/devrim/rpm/BUILD/psqlodbc-08.04.0100'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/devrim/rpm/BUILD/psqlodbc-08.04.0100'
error: Bad exit status from /var/tmp/rpm-tmp.4qU2Xs (%build)


Command Prompt -,,


pgsql-odbc by date

Next:From: AndreasDate: 2009-07-29 15:10:30
Subject: How to check driver version from within an application ?
Previous:From: Assaf LavieDate: 2009-07-26 18:02:10
Subject: Re: compiling odbc x64 on windows

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