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

[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 (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

I downloaded the postODBC source from

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???


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

pgsql-interfaces by date

Next:From: LifeDate: 1998-09-16 13:45:39
Previous:From: Marcio MacedoDate: 1998-09-16 11:31:40
Subject: subscribe

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