Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qc4Mb-00DkMo-5j for pgsql-odbc@arkaria.postgresql.org; Fri, 01 Sep 2023 13:39:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qc4MZ-00Eu3X-2b for pgsql-odbc@arkaria.postgresql.org; Fri, 01 Sep 2023 13:39:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbWTv-003HPN-TZ for pgsql-odbc@lists.postgresql.org; Thu, 31 Aug 2023 01:28:23 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qbWTn-001saQ-Sl for pgsql-odbc@postgresql.org; Thu, 31 Aug 2023 01:28:21 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-68c3b9f8333so160502b3a.1 for ; Wed, 30 Aug 2023 18:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1693445294; x=1694050094; darn=postgresql.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=u6V5O0L9Sq/95kUVTh6hg4rREHp/Y99mAhoFGOqcmNY=; b=C4eEjYgBTWxSHpXBSyJo9xm+Ha8Tdq/ApEThSQQXSAPY5raK3sXJNAAw3Ifbgbh/Tz kZzZjMB4Y27pfHaZIVLvhgmghg8tOtfb44dQAQSI6eEmRIfN7X8ozS1FBuK7wQcEiMjW 79a6V1ZQWBuwPn67SLho85fqIu2nODBknUGAFvNgDTy/hMcwgeEqJ9peLmXfxh2XZzXE /tccsS1KlZo1uJb3zAcWGhzRBpw4IFRA/zUyXq4c9E9dFWLhlhicE22u9ri/ziROFAQW TC/2uguY6Mwn9PjZiF1OS/INVSSVaZhf4VMLSIFIATyCajJR1bnXstMP1Y1rSNVZm0C6 G4lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693445294; x=1694050094; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=u6V5O0L9Sq/95kUVTh6hg4rREHp/Y99mAhoFGOqcmNY=; b=Egw3TTCYlasNqDNbPBDknqEzF8A7xuzES9DqENoXYnw8rmjFrDV7/1Q3QalwYO8S5L dWTLFHqqPSMI+/nvPZpjOuNDbHaL177gD/XbiZFPvpaBaKQGy/ULWo4TdGT+m64YnL8j VNObL+XuLUAY7L4toWck+N1KP4MrTz7v0YNJB7ZIZOAqpseSmOed4UgtQi3nNmvWbONC 5XV7FjRNprPSe3n81H8+/orH95ZjlZ6xs8i9jgmlp4bE2NZlRkME1X+itvCVQAQ5T+/8 YuWQUNw6Q3T6m5t5/hwgNDthVGLU0Je3SOAvwpkWqIuMEwGYwbGJSbASJFxKSxiFfkjY /c4A== X-Gm-Message-State: AOJu0YwKOBd8b+EhGCkl1/zrffS9uvZR1Gg9BqFk2RZKz8tZD6aHbLcP IJ0KHmYJwh+E+BS15O/Bn2+H4+PmFlwmxlqHYo7nZWYw1zH8yb16I8aZk0a6ku+CNAkLZFys2YI xHD4EWoBDBBz6TmD4iuLsIxsctKwKZqYqXsx/3DW2PfzlxfWlzOHZ5J2CSbf9Znxr+T3e9RsuIW v5b0CoVMwLy6bC X-Google-Smtp-Source: AGHT+IEjUmIXFDZEtfbk257B/cygV2BmmpchqiJYLyXd7JBPPAE+bKvLFRptdbm85iLTOUZVaTh/Cg== X-Received: by 2002:a05:6a00:8006:b0:68b:bedd:c2e9 with SMTP id eg6-20020a056a00800600b0068bbeddc2e9mr1665153pfb.16.1693445294043; Wed, 30 Aug 2023 18:28:14 -0700 (PDT) Received: from smtpclient.apple ([2407:d000:b:2f53:61d9:19d8:35f2:f7a3]) by smtp.gmail.com with ESMTPSA id f27-20020a63755b000000b00565d93a1225sm234363pgn.23.2023.08.30.18.28.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2023 18:28:13 -0700 (PDT) From: Moazzum Ali Content-Type: multipart/alternative; boundary="Apple-Mail=_78F8F389-E86D-483C-AFFE-D7CF265BC80A" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Psqlodbc build fails on linux Message-Id: <5D27E7EF-BBA7-4A44-8FA5-17BAEFED6EB4@enterprisedb.com> Date: Thu, 31 Aug 2023 06:28:06 +0500 To: pgsql-odbc@postgresql.org X-Mailer: Apple Mail (2.3696.120.41.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_78F8F389-E86D-483C-AFFE-D7CF265BC80A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I am trying to build psqlodbc 15.00.0000 with PostgreSQL 16. Here are my = commands: ./configure --with-libpq=3D/usr/pgsql-16/ = --with-unixodbc=3D/usr/bin/odbc_config = LD_LIBRARY_PATH=3D/usr/pgsql-16/lib/ --prefix=3D$PWD/out make make command fails with the following error: In file included from connection.h:14, from info.c:34: /usr/pgsql-16/include/internal/pqexpbuffer.h:168:8: error: unknown type = name 'bool' extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, = va_list args) pg_attribute_printf(2, 0); One way to fix the error is to include the following line before = #include "pqexpbuffer.h" in connection.h and statement.h #include Regards, Moazzum= --Apple-Mail=_78F8F389-E86D-483C-AFFE-D7CF265BC80A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi,

I am = trying to build psqlodbc 15.00.0000 with PostgreSQL 16. Here are my = commands:

./configure = --with-libpq=3D/usr/pgsql-16/ --with-unixodbc=3D/usr/bin/odbc_config = LD_LIBRARY_PATH=3D/usr/pgsql-16/lib/  = --prefix=3D$PWD/out
make

 make command fails with the following error:

In file = included from connection.h:14,
      =            from info.c:34:
/usr/pgsql-16/include/internal/pqexpbuffer.h:168:8: error: unknown type name = 'bool'
 extern bool appendPQExpBufferVA(PQExpBuffer str, const char = *fmt, va_list args) pg_attribute_printf(2, 0);

One way to fix the error = is to include the following line before #include = "pqexpbuffer.h" in connection.h and statement.h
#include <stdbool.h>

Regards,
Moazzum
= --Apple-Mail=_78F8F389-E86D-483C-AFFE-D7CF265BC80A--