heap_sysoffset is not found

Started by Alexander Klimovabout 25 years ago2 messagesbugs
Jump to latest
#1Alexander Klimov
ask@wisdom.weizmann.ac.il

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alexander Klimov (#1)
Re: heap_sysoffset is not found

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