Build (definition?) errors - in bootstrap

From: Lou Picciano <loupicciano(at)comcast(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Build (definition?) errors - in bootstrap
Date: 2014-10-09 23:03:55
Message-ID: 328813031.4581916.1412895835010.JavaMail.root@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Having just git pulled from orgin/master:

$ ./configure
$ make

Mileage:

...
make -C bootstrap all
make[3]: Entering directory `/path/to/postgresql/src/backend/bootstrap'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I. -I. -I../../../src/include -c -o bootparse.o bootparse.c
bootparse.y: In function ‘boot_yyparse’:
bootparse.y:311:9: warning: passing argument 1 of ‘DefineIndex’ makes integer from pointer without a cast [enabled by default]
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: expected ‘Oid’ but argument is of type ‘struct IndexStmt *’
bootparse.y:311:9: warning: passing argument 2 of ‘DefineIndex’ makes pointer from integer without a cast [enabled by default]
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: expected ‘struct IndexStmt *’ but argument is of type ‘Oid’
bootparse.y:311:9: error: too few arguments to function ‘DefineIndex’
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: declared here
bootparse.y:346:9: warning: passing argument 1 of ‘DefineIndex’ makes integer from pointer without a cast [enabled by default]
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: expected ‘Oid’ but argument is of type ‘struct IndexStmt *’
bootparse.y:346:9: warning: passing argument 2 of ‘DefineIndex’ makes pointer from integer without a cast [enabled by default]
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: expected ‘struct IndexStmt *’ but argument is of type ‘Oid’
bootparse.y:346:9: error: too few arguments to function ‘DefineIndex’
In file included from bootparse.y:37:0:
../../../src/include/commands/defrem.h:24:12: note: declared here
make[3]: *** [bootparse.o] Error 1
make[3]: Leaving directory `/path/to/postgresql/src/backend/bootstrap'
make[2]: *** [bootstrap-recursive] Error 2
make[2]: Leaving directory `/path/to/postgresql/src/backend'
make[1]: *** [all-backend-recurse] Error 2
make[1]: Leaving directory `/path/to/postgresql/src'
make: *** [all-src-recurse] Error 2

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2014-10-09 23:04:30 Obsolete reference to _bt_tuplecompare() within tuplesort.c
Previous Message Andres Freund 2014-10-09 21:57:58 Re: Wait free LW_SHARED acquisition - v0.9