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]: *** [<builtin>: 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