X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F3EA89FA66C for ; Thu, 22 Jun 2006 23:57:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21225-02 for ; Thu, 22 Jun 2006 23:57:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id CC24C9FA2F4 for ; Thu, 22 Jun 2006 23:57:21 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id B6F9686C4B9; Fri, 23 Jun 2006 02:57:21 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21211-02; Thu, 22 Jun 2006 23:57:16 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 9B17686C4BD; Fri, 23 Jun 2006 02:57:16 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000671 ] psqlodbc does not compile on hpux 11i V1 Content-type: text/plain; charset=UTF-8 Message-Id: <20060623025716.9B17686C4BD@pgfoundry.org> Date: Fri, 23 Jun 2006 02:57:16 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/158 X-Sequence-Number: 7906 Bugs item #1000671, was opened at 2006-06-21 07:09 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000671&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) 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: Hiroshi Inoue (hinoue) Date: 2006-06-23 02: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