From: John Sharp <JSharp@cfipro.com>
To: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
Subject: postodbc on sparc2.5.1
Date: Wed, 02 Sep 1998 10:17 -0800
Message-ID: <19980902101454994-89c6e9f4@cfipro.com> (raw)
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 <config.h> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: JSharp@cfipro.com
Subject: Re: postodbc on sparc2.5.1
In-Reply-To: <19980902101454994-89c6e9f4@cfipro.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox