Re: Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on

From: Nishad Prakash <prakashn(at)uci(dot)edu>
To: BETTON Nicolas <nico_bet(at)yahoo(dot)fr>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on
Date: 2005-03-29 19:03:06
Message-ID: Pine.GSO.4.58.0503291053380.4232@e4e.oac.uci.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Dear list, I'm getting the same error compiling psqlodbc as Nicolas Betton
(see quoted text below). Mine is on sparc-sun-solaris2.8.

Any suggestions, please?

nishad

gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT odbcapi30w.lo -MD -MP -MF
.deps/odbcapi30w.Tpo -c odbcapi30w.c -fPIC -DPIC -o .libs/odbcapi30w.o
odbcapi30w.c:238: error: conflicting types for `SQLColAttributeW'
/usr/local/include/sqlucode.h:122: error: previous declaration of
`SQLColAttributeW'
*** Error code 1
make: Fatal error: Command failed for target `odbcapi30w.lo'
Current working directory /target1/download/psqlodbc-08.00.0101
*** Error code 1
make: Fatal error: Command failed for target `all'

On Tue, 22 Mar 2005, BETTON Nicolas wrote:

> Hello,
> I'm trying to build pgsql ODBC 8.00.0.1001 on a
> fedora core.
> I actually build from the source :
> Postgresql7.4.7 without Jdbc
> Iodbc3.52.2
>
> But the mistake came when I built the
> psqlODBC8.00.0101
> the configure is ok :
> ./configure --with-iodbc --with-odbcinst=/etc
>
> But the make stop and the end of the message is there
> on my screen :
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
> odbcapi30w.lo -MD -MP -MF .deps/
> odbcapi30w.Tpo -c odbcapi30w.c -fPIC -DPIC -o
> .libs/odbcapi30w.o
> odbcapi30w.c:238: error: conflicting types for
> `SQLColAttributeW'
> /usr/local/include/sqlucode.h:122: error: previous
> declaration of `SQLColAtt
> ributeW'
> make[1]: *** [odbcapi30w.lo] Erreur 1
> make[1]: Quitte le répertoire
> `/usr/src/psqlodbc-08.00.0101'
> make: *** [all] Erreur 2
>
> It seems to be a redundent problem, but I don't know
> how to fix it...
>
> Thks for your help
> Nicolas.
>
>
>
>
>
>
> Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
> Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
"Underneath the concrete, the dream is still alive" -- Talking Heads

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Marko Ristola 2005-03-29 19:15:20 Congratulations! and some thoughts about C code program architecture
Previous Message Joshua D. Drake 2005-03-29 18:41:13 Re: Driver maintenance continuation