Received: from mail.cfipro.com (mail.cfipro.com [206.251.71.5]) by hub.org (8.8.8/8.7.5) with SMTP id NAA12421 for ; Wed, 2 Sep 1998 13:22:48 -0400 (EDT) Date: Wed, 02 Sep 1998 10:17 -0800 From: "John Sharp" To: "pgsql-interfaces@postgresql.org" Subject: postodbc on sparc2.5.1 Message-ID: <19980902101454994-89c6e9f4@cfipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have been trying to implement postodbc on a solaris sparc 2.5.1. (source distribution from insightdist.com v0249). I have got it to compile but not load yet. made the following changes to config.h #define WINAPI typedef void* HINSTANCE; #define INADDR_NONE -1 changed all to "config.h". The following functions weren't found by the loader: LoadLibrary FreeLibrary GetProcAddress parse_command Noticed that parse_command was implemented in parse.c which was left out of the object list. Added this and parse_command was found by the linker but SQLColumns now not found. Note: all functions not found by the linker are Window's APIs. Tried linking in the libiodbc.a file. The linker found the missing functions but now SQLError is a multiple define. Should I remove the implementation for SQLError in postodbc to eliminate the final linker error. Is this the right way to go, or is there some other solution? John Sharp