current cvs doesn't compile

Started by hubert depesz lubaczewskiover 23 years ago2 messagesbugs
Jump to latest

hi
i downloaded sources from cvs on approx 19-20 of my time (cet i belive).
when i try to compile, i get:
...
...
...

make[4]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src/backend/access/rtree'
make -C transam SUBSYS.o
make[4]: Wchodzę w katalog `/home/services/pgdba/cvs/pgsql/src/backend/access/transam'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o clog.o clog.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o transam.o transam.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o varsup.o varsup.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xact.o xact.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xid.o xid.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xlog.o xlog.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xlogutils.o xlogutils.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o rmgr.o rmgr.c
/usr/bin/ld -r -o SUBSYS.o clog.o transam.o varsup.o xact.o xid.o xlog.o xlogutils.o rmgr.o
make[4]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src/backend/access/transam'
/usr/bin/ld -r -o SUBSYS.o common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o index/SUBSYS.o nbtree/SUBSYS.o rtree/SUBSYS.o transam/SUBSYS.o
make[3]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src/backend/access'
make -C bootstrap all
make[3]: Wchodzę w katalog `/home/services/pgdba/cvs/pgsql/src/backend/bootstrap'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -c -o bootparse.o bootparse.c
bootparse.y: In function `do_start':
bootparse.y:58: too few arguments to function `StartTransactionCommand'
bootparse.y: In function `do_end':
bootparse.y:66: too few arguments to function `CommitTransactionCommand'
bootparse.y: In function `Int_yyparse':
bootparse.y:181: warning: passing arg 2 of `CreateTupleDesc' makes integer from pointer without a cast
bootparse.y:181: too few arguments to function `CreateTupleDesc'
bootparse.y:182: warning: implicit declaration of function `BoolToHasOid'
bootparse.y:196: warning: passing arg 2 of `CreateTupleDesc' makes integer from pointer without a cast
bootparse.y:196: too few arguments to function `CreateTupleDesc'
bootparse.y:203: too many arguments to function `heap_create_with_catalog'
make[3]: *** [bootparse.o] Błąd 1
make[3]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src/backend/bootstrap'
make[2]: *** [bootstrap-recursive] Błąd 2
make[2]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src/backend'
make[1]: *** [all] Błąd 2
make[1]: Opuszczam katalog `/home/services/pgdba/cvs/pgsql/src'
make: *** [all] Błąd 2
[pgdba@pldmachine pgsql]$

my build environment is:
2x pentium3 933
1.5 gb ram
scsi discs
linux, pld distrubution with:
[pgdba@pldmachine pgsql]$ rpm -q glibc gcc zlib readline openssl automake autoconf cpp libtool
glibc-2.2.5-19
gcc-2.95.4-0.20010823.3
zlib-1.1.4-4
readline-4.3-4
openssl-0.9.6c-3
automake-1.6.3-1
autoconf-2.53a-1
cpp-2.95.4-0.20010823.3
libtool-1.4.2-11

do you have any idea on what is wrong?

depesz

--
hubert depesz lubaczewski http://www.depesz.pl/
------------------------------------------------------------------------
Mój Boże, spraw abym milczał, dopóki się nie upewnię, że naprawdę mam
coś do powiedzenia. (c) 1998 depesz

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: hubert depesz lubaczewski (#1)
Re: current cvs doesn't compile

Hubert depesz Lubaczewski <depesz@depesz.pl> writes:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../sr=
c/include -c -o bootparse.o bootparse.c
bootparse.y: In function `do_start':
bootparse.y:58: too few arguments to function `StartTransactionCommand'

do you have any idea on what is wrong?

Looks like your bootparse.c is out of date. Perhaps you have an old
version with a wrong timestamp in your source tree?

regards, tom lane