[INTERFACES] Compilation failure compiling pgsqlodbc. - Mailing list pgsql-interfaces

From John Francis Schickling
Subject [INTERFACES] Compilation failure compiling pgsqlodbc.
Date
Msg-id Pine.SOL.3.95.980916085254.430A-100000@e7seh15
Whole thread Raw
List 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@syr.lmco.com
--------------------------------------------------------------------------------




pgsql-interfaces by date:

Previous
From: "Life"
Date:
Subject: ...
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error