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 1txDHU-004qB3-BU for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Mar 2025 23:02:00 +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 1txDHT-00BJiB-03 for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Mar 2025 23:01:59 +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 1txDHS-00BJi3-MA for pgsql-hackers@lists.postgresql.org; Tue, 25 Mar 2025 23:01:58 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1txDHR-0017ze-0r for pgsql-hackers@lists.postgresql.org; Tue, 25 Mar 2025 23:01:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 52PN1bdN1321976; Tue, 25 Mar 2025 19:01:37 -0400 From: Tom Lane To: Thomas Munro cc: Nathan Bossart , Peter Eisentraut , Tomas Vondra , Heikki Linnakangas , Japin Li , Andres Freund , PostgreSQL Hackers Subject: Re: Cannot find a working 64-bit integer type on Illumos In-reply-to: References: <2397643.1733347237@sss.pgh.pa.us> <2401111.1733349005@sss.pgh.pa.us> <2402151.1733349346@sss.pgh.pa.us> <2412342.1733354191@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 26 Mar 2025 10:39:44 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1321974.1742943697.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 25 Mar 2025 19:01:37 -0400 Message-ID: <1321975.1742943697@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Wed, Mar 26, 2025 at 10:34=E2=80=AFAM Nathan Bossart > wrote: >> In file included from pg_regress.c:34: >> /usr/local/include/libpq-fe.h:623:8: error: unknown type name 'pg_int64= ' > Looks like it's mixing up /usr/local/include and our source tree... Yeah. That's because the compile command for pg_regress.c has -I../../../src/include/libpq too late, after -I switches added for other things: ccache cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-s= tatement -Werror=3Dvla -Werror=3Dunguarded-availability-new -Wendif-labels= -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissi= ng-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=3D= standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-ma= cro -Wno-format-truncation -Wno-cast-function-type-strict -g -O2 -fPIC -DP= IC -fvisibility=3Dhidden -I../../../src/include -I/usr/local/include -I/us= r/local/include/libxml2 -I/usr/local/include -I../../../src/port -I../../= ../src/interfaces/libpq '-DHOST_TUPLE=3D"x86_64-unknown-freebsd15.0"' '-DS= HELLPROG=3D"/bin/sh"' -c -o pg_regress.o pg_regress.c How did that work before? Perhaps somebody just now added a libpq dependency to pg_regress.c? regards, tom lane