Thread: failure in latest cvs

failure in latest cvs

From
"Christopher Kings-Lynne"
Date:
FreeBSD/Alpha, latest CVS:

cd . && ./config.status --recheck
running /usr/local/bin/bash
./configure  --prefix=/home/chriskl/local --enable-integer-datetimes --enabl
e-thread-safety --with-perl --with-pam --with-openssl  --no-create --no-recu
rsion

...

gmake[3]: Leaving directory `/home/chriskl/pgsql-temp/src/backend/utils'
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -L../../src/p
ort  -R/home/chriskl/local/lib -export-dynamic access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o
utils/SUBSYS.o -lpam -lssl -lcrypto -lz -lreadline -lcrypt -lcompat -lm -lut
il  -lpgport -o postgres
access/SUBSYS.o: In function `ComputeDataSize':
/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:46: undefined
reference to `assert_enabled'
access/SUBSYS.o: In function `DataFill':
/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:108:
undefined reference to `assert_enabled'
/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:137:
undefined reference to `assert_enabled'
access/SUBSYS.o: In function `nocachegetattr':
/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:303:
undefined reference to `assert_enabled'
/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:354:
undefined reference to `assert_enabled'
access/SUBSYS.o:/home/chriskl/pgsql-temp/src/backend/access/common/heaptuple
.c:358: more undefined references to `assert_enabled' follow
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/home/chriskl/pgsql-temp/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/chriskl/pgsql-temp/src'
gmake: *** [all] Error 2
bash-2.03$


Chris



Re: failure in latest cvs

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> ./configure  --prefix=/home/chriskl/local --enable-integer-datetimes --enabl
> e-thread-safety --with-perl --with-pam --with-openssl  --no-create --no-recu
> rsion

> access/SUBSYS.o: In function `ComputeDataSize':
> /home/chriskl/pgsql-temp/src/backend/access/common/heaptuple.c:46: undefined
> reference to `assert_enabled'

Try a "make clean".  Looks to me like you have some files built with
--enable-cassert and some without.
        regards, tom lane