From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000671 ] psqlodbc does not compile on hpux 11i V1
Date: Tue, 27 Jun 2006 10:19:02 +0000 (UTC)
Message-ID: <20060627101902.E3BCD86C4EF@pgfoundry.org> (raw)
Bugs item #1000671, was opened at 2006-06-21 09:09
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000671&group_id=1000125
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Hiroshi Inoue (hinoue)
Summary: psqlodbc does not compile on hpux 11i V1
Initial Comment:
we successfully install postgresql 8.1.4 on hp-ux 11i V1 but failed to install pgsqlodbc 08.02.0002 (recommended odbc driver for postgresql) with unixodbc 2.2.11. We are using gcc 4.1.1 and gmake 3.80, gmake fail s with the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/disk1/pgsql-with-rl/include -g -O2 -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.c -fPIC -DPIC -o .libs/convert.oconvert.c:188:2: error: #error cant handle ODBCINT64
convert.c: In function 'ResolveOneParam':
convert.c:3236: error: 'FORMATI64' undeclared (first use in this function)
convert.c:3236: error: (Each undeclared identifier is reported only once
convert.c:3236: error: for each function it appears in.)
convert.c:3241: error: 'FORMATI64U' undeclared (first use in this function)
gmake[1]: *** [convert.lo] Error 1
gmake[1]: Leaving directory `/tmp/postgresql-8.1.4/src/interfaces/odbc'
gmake: *** [all] Error 2
Attached is the config.log, an error about strtoll is in it.
--
I got from HP support that strtoll does not exist on hp-ux, could you please post a patch for taking that into account.
Thanks
Alain
----------------------------------------------------------------------
Comment By: Nobody (None)
Date: 2006-06-23 09:39
Message:
Hi Hiroshi,
Thanks it compiles fine, I will post the patch on HP support site.
Take care,
Alain Ganuchaud
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2006-06-23 04:57
Message:
Could you try the attached patch ?
reagrds,
Hiroshi Inoue
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000671&group_id=1000125
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000671 ] psqlodbc does not compile on hpux 11i V1
In-Reply-To: <20060627101902.E3BCD86C4EF@pgfoundry.org>
References: <20060627101902.E3BCD86C4EF@pgfoundry.org>
* 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