Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmMhY-00009R-Eq for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 15:11:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmMhY-0004Le-0T for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 15:11:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bmMhX-0004LW-LM for pgadmin-hackers@postgresql.org; Tue, 20 Sep 2016 15:11:15 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bmMhV-00015C-17 for pgadmin-hackers@postgresql.org; Tue, 20 Sep 2016 15:11:15 +0000 Received: by mail-io0-x22f.google.com with SMTP id m186so22785628ioa.2 for ; Tue, 20 Sep 2016 08:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=d+k89N+FXaXao8DyWtnFBerHoaxL+F+XsUywK3Li0AU=; b=yt7o1IHsD1NNZfMpOR7oNu/X8NZtS4R5Gojulgnag6Rw0CkMDYntyHRoYaHpM2Uqbm Zfg+UJFKHq4BMN6Cqr+1hLz4S+oy/U/I3cOu++fKRbXxqJJLQBeHx2DB4+utOsPw0oh7 MNY77O79eXWmDEggcksS+GfyPtJI2RT0O6ZO3PONBFOpZsf0qzilB0Adg7h5mc67nKYx +6HZrbDRCLPDyWohZRlv/OMbNLuQZFg6gwCabgz+TIhIlw1ZcFOF5Yn/dU5Oo+XX5RMy 4gZLIsLcbtxeVsk0EykjzmwlCb1qW4Cxu4Fb3vEjy0bPf447UVqPIQE7LdUs032MFO9j pPAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=d+k89N+FXaXao8DyWtnFBerHoaxL+F+XsUywK3Li0AU=; b=M3NiUrDd1UT4lWYd5ruEAqSE8oYb6A5AFeyhf1tNl22FScalqqrp/XmstEcKGaImGS p/cm9Eqr+aOG4Y83ZUe8LFhqQrpSMqPELzJbXWA1zmWiwHrNa3ZkG2r4eqoRdSiUk3x+ yxe4iMDIMFoIZ2S07Hq/QB2hYn+FMjSnotikyMCv7sdBwveWfF2/82RP4NmlrmIWbiQP b0TmngUm6dJNJkZHlTKVDVB8NJPT5hBthTRiwcMX1FOy7VKjr8VY+xgEGIg9zn4tDRYr 4bbAJW3rPhLpsM5KNtfpBh0VpHhtcoG+WIBc2q7OwFmLad5Co+V5UrsRx5wSwQkwmFag pUFg== X-Gm-Message-State: AE9vXwNVa/2oI5GOKGxOTkJWsBCulrlvGDw9RzYglRardpCIV1fxjNbtjyRe8CdrKPy4alKMn9YlNOxNa57W/g== X-Received: by 10.107.142.71 with SMTP id q68mr17303464iod.4.1474384270177; Tue, 20 Sep 2016 08:11:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.164.82 with HTTP; Tue, 20 Sep 2016 08:11:09 -0700 (PDT) From: jungle Boogie Date: Tue, 20 Sep 2016 08:11:09 -0700 Message-ID: Subject: openbsd build failure: vacuumdb.c To: pgadmin-hackers@postgresql.org Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi All, This may not be the right mailing list. Apologizes in advance. I'm attempting to build PostgreSQL from source on OpenBSD i386 from an openbsd snapshot from yesterday (19 September) with this configuration: ./configure --enable-cassert --enable-debug --with-perl \ --with-python --with-tcl --with-openssl --with-libxml \ --with-libxslt --with-includes=/usr/local/include Current working version: PostgreSQL 10devel on i386-unknown-openbsd6.0, compiled by gcc (GCC) 4.2.1 20070719 , 32-bit build failure log: ../../../src/port/libpgport.a(path.o): In function `canonicalize_path': /home/user/bin/postgres/src/port/path.c:362: warning: warning: strcat() is almost always misused, please use strlcat() gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g -O2 -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -c -o vacuumdb.o vacuumdb.c vacuumdb.c:70: error: expected declaration specifiers or '...' before 'fd_set' vacuumdb.c: In function 'main': vacuumdb.c:193: error: 'FD_SETSIZE' undeclared (first use in this function) vacuumdb.c:193: error: (Each undeclared identifier is reported only once vacuumdb.c:193: error: for each function it appears in.) vacuumdb.c: In function 'GetIdleSlot': vacuumdb.c:733: error: 'fd_set' undeclared (first use in this function) vacuumdb.c:733: error: expected ';' before 'slotset' vacuumdb.c:734: warning: ISO C90 forbids mixed declarations and code vacuumdb.c:740: warning: implicit declaration of function 'FD_ZERO' vacuumdb.c:740: error: 'slotset' undeclared (first use in this function) vacuumdb.c:745: warning: implicit declaration of function 'FD_SET' vacuumdb.c:759: error: too many arguments to function 'select_loop' vacuumdb.c:775: warning: implicit declaration of function 'FD_ISSET' vacuumdb.c: At top level: vacuumdb.c:870: error: expected declaration specifiers or '...' before 'fd_set' vacuumdb.c: In function 'select_loop': vacuumdb.c:873: error: 'fd_set' undeclared (first use in this function) vacuumdb.c:873: error: expected ';' before 'saveSet' vacuumdb.c:898: error: 'workerset' undeclared (first use in this function) vacuumdb.c:898: error: 'saveSet' undeclared (first use in this function) vacuumdb.c:899: warning: implicit declaration of function 'select' gmake[3]: *** [: vacuumdb.o] Error 1 gmake[3]: Leaving directory '/home/user/bin/postgres/src/bin/scripts' gmake[2]: *** [Makefile:40: all-scripts-recurse] Error 2 gmake[2]: Leaving directory '/home/user/bin/postgres/src/bin' gmake[1]: *** [Makefile:35: all-bin-recurse] Error 2 gmake[1]: Leaving directory '/home/user/bin/postgres/src' gmake: *** [GNUmakefile:11: all-src-recurse] Error 2 *** Error 2 in /home/user/bin/postgres (Makefile:36 'all') How can I proceed to build postgresql successfully? Thanks! -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers