Обсуждение: Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on Linux Fedora Core 1

Поиск
Список
Период
Сортировка

Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on Linux Fedora Core 1

От
BETTON Nicolas
Дата:
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/

Re: Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on

От
Nishad Prakash
Дата:

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@postgresql.org)
>

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


Re: Installing PsqlODBC 8.00.0.1001 with libiodbc3-52.2 on Linux Fedora Core 1

От
Peter Eisentraut
Дата:
BETTON Nicolas wrote:
> 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

It seems that there is currently an incompatibility with iODBC.  Please
try unixODBC if you want to move forward.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/