Обсуждение: heap_sysoffset is not found
Hi. I get psql from CVS and try configure --with-tcl --with-perl --with-python --with-openssl --with-CXX && make And I got ... gcc -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/local/ssl/lib -Wl,-R/usr/local/pgsql/lib 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 -lssl -lcrypto -lz -lnsl -lsocket -ldl -lm -lreadline -lncurses -o postgres Undefined first referenced symbol in file heap_sysoffset catalog/SUBSYS.o ld: fatal: Symbol referencing errors. No output written to postgres I run nm on all .o files, and it looks like it is used in many places, but it is not defined in any of them. Regards, ASK
Alexander Klimov <ask@wisdom.weizmann.ac.il> writes: > Undefined first referenced > symbol in file > heap_sysoffset catalog/SUBSYS.o Either you don't have an up-to-date set of source files, or you have out-of-date object files. Do you make a practice of doing "make distclean", reconfigure, full rebuild after pulling a CVS update? If not, you stand to get burned ... regards, tom lane