problem with odbc include files
problem with odbc include files
От:
Alexaki Sofia <alexaki@ics.forth.gr>
Дата:
Hello, I am using Postgresql 7.1.2 on a solaris 2.8 platform. I try to compile an example that uses isql.h and isql.h include files but a number or errors are reported e.g. odbc_include/isql.h:15: parse error before `*' Is there a latest version of the above files that also works for solaris? thank you in advance Sofia Alexaki
Re: problem with odbc include files
От:
Hiroshi Inoue <Inoue@tpf.co.jp>
Дата:
Alexaki Sofia wrote: > > Hello, > > I am using Postgresql 7.1.2 on a solaris 2.8 platform. > > I try to compile an example that uses isql.h and isql.h > include files but a number or errors are reported > e.g. odbc_include/isql.h:15: parse error before `*' Do you include iodbc.h before isql.h ? regards, Hiroshi Inoue
Re: problem with odbc include files
От:
Alexaki Sofia <alexaki@ics.forth.gr>
Дата:
Thank you for your prompt reply. In order to compile my program should I link the libpsqlodbc.so library which is found in the lib directory of postgreSQL instructions? e.g., gcc example.c -I/proj/isl3/users/alexaki/postgresql/postgresql_install/include/iodbc -L/proj/isl3/users/alexaki/postgresql/postgresql_install/lib Do you know any URL I can find instructions about using PostgreSQL ODBC interface in solaris? Best Regards, Sofia Alexaki > > I am using Postgresql 7.1.2 on a solaris 2.8 platform. > > > > I try to compile an example that uses isql.h and isql.h > > include files but a number or errors are reported > > e.g. odbc_include/isql.h:15: parse error before `*' > > Do you include iodbc.h before isql.h ? > > regards, > Hiroshi Inoue > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >