[INTERFACES] Compilation failure compiling pgsqlodbc.

From: John Francis Schickling <schickli(at)syr(dot)lmco(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] Compilation failure compiling pgsqlodbc.
Date: 1998-09-16 13:05:17
Message-ID: Pine.SOL.3.95.980916085254.430A-100000@e7seh15
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I downloaded the postODBC source from
ftp://odf.ucsd.edu/pub/odf/postODBC.tar.gz

I am compiling the source using

o Solaris 2.5
o gcc version 2.8.1
o PostgreSQL 6.3

and received the following error:

gcc -O -fPIC -I/home/schickli/3rdparty/pgsql/include -I.
-I/home/schickli/3rdparty/pgsql/include -I../iodbc-2.12 -DHAVE_IODBC=1 -DUNIX=1 -DHAVE_PARAM_H=1 -DHAVE_PWD_H=1 -DHAVE_STRICMP=0
-DVERSION="0.24.2" -c -o libpsqlodbcObjs/Shared/socket.o socket.c
socket.c: In function `SOCK_connect_to':
socket.c:117: `in_addr_t' undeclared (first use in this function)
socket.c:117: (Each undeclared identifier is reported only once
socket.c:117: for each function it appears in.)
make[2]: *** [libpsqlodbcObjs/Shared/socket.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/schickli/test/postODBC/psqlodbc'
make: *** [all] Error 1

Any suggestions???

Thanx,
John

--------------------------------------------------------------------------------
John F. Schickling Jr.
Phone: (315) 456-2643
Email: schickli(at)syr(dot)lmco(dot)com
--------------------------------------------------------------------------------

Browse pgsql-interfaces by date

  From Date Subject
Next Message Life 1998-09-16 13:45:39
Previous Message Marcio Macedo 1998-09-16 11:31:40 subscribe