Обсуждение: pgsql/src/backend/libpq (pqcomm.c)
Date: Monday, November 13, 2000 @ 16:31:47
Author: momjian
Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/libpq
from hub.org:/home/projects/pgsql/tmp/cvs-serv56413/pgsql/src/backend/libpq
Modified Files:
pqcomm.c
----------------------------- Log Message -----------------------------
Fix for no hterror().
You need to remove it from src/backend/postmaster/postmaster.c as well...... cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o guc.o guc.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o guc-file.o guc-file.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o ps_status.o ps_status.c /usr/bin/ld -r -o SUBSYS.o database.o superuser.o guc.o guc-file.o ps_status.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/misc' gmake -C mmgr SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/mmgr' cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o aset.o aset.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o mcxt.o mcxt.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o portalmem.o portalmem.c /usr/bin/ld -r -o SUBSYS.o aset.o mcxt.o portalmem.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mmgr' gmake -C sort SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/sort' cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o logtape.o logtape.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tuplesort.o tuplesort.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tuplestore.o tuplestore.c /usr/bin/ld -r -o SUBSYS.o logtape.o tuplesort.o tuplestore.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/sort' gmake -C time SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/time' cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tqual.o tqual.c /usr/bin/ld -r -o SUBSYS.o tqual.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/time' gmake -C mb SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb' cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o common.o common.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o conv.o conv.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o mbutils.o mbutils.c UX:acomp: WARNING: "mbutils.c", line 139: argument #1 incompatible with prototype: strlen() UX:acomp: WARNING: "mbutils.c", line 178: argument #1 incompatible with prototype: strlen() UX:acomp: WARNING: "mbutils.c", line 195: argument #1 incompatible with prototype: strlen() cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wchar.o wchar.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wstrcmp.o wstrcmp.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wstrncmp.o wstrncmp.c cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o big5.o big5.c /usr/bin/ld -r -o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb' /usr/bin/ld -r -o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.omisc/SUBSYS.o mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils' cc -O -K inline -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.olib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.oregex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -L/usr/local/lib -lz -lgen-lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap -lcurses -Wl,-R/home/ler/pg-test/lib -Wl,-Bexport Undefined first referenced symbol in file hstrerror postmaster/SUBSYS.o UX:ld: ERROR: Symbol referencing errors. No output written to postgres gmake[2]: *** [postgres] Error 1 gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src' gmake: *** [all] Error 2 * momjian@postgresql.org <momjian@postgresql.org> [001113 15:35]: > Date: Monday, November 13, 2000 @ 16:31:47 > Author: momjian > > Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/libpq > from hub.org:/home/projects/pgsql/tmp/cvs-serv56413/pgsql/src/backend/libpq > > Modified Files: > pqcomm.c > > ----------------------------- Log Message ----------------------------- > > Fix for no hterror(). -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
OK, working on it now. Thanks. > You need to remove it from src/backend/postmaster/postmaster.c as > well...... > > > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o guc.o guc.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o guc-file.o guc-file.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o ps_status.o ps_status.c > /usr/bin/ld -r -o SUBSYS.o database.o superuser.o guc.o guc-file.o ps_status.o > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/misc' > gmake -C mmgr SUBSYS.o > gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/mmgr' > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o aset.o aset.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o mcxt.o mcxt.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o portalmem.o portalmem.c > /usr/bin/ld -r -o SUBSYS.o aset.o mcxt.o portalmem.o > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mmgr' > gmake -C sort SUBSYS.o > gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/sort' > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o logtape.o logtape.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tuplesort.o tuplesort.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tuplestore.o tuplestore.c > /usr/bin/ld -r -o SUBSYS.o logtape.o tuplesort.o tuplestore.o > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/sort' > gmake -C time SUBSYS.o > gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/time' > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o tqual.o tqual.c > /usr/bin/ld -r -o SUBSYS.o tqual.o > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/time' > gmake -C mb SUBSYS.o > gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb' > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o common.o common.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o conv.o conv.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o mbutils.o mbutils.c > UX:acomp: WARNING: "mbutils.c", line 139: argument #1 incompatible with prototype: strlen() > UX:acomp: WARNING: "mbutils.c", line 178: argument #1 incompatible with prototype: strlen() > UX:acomp: WARNING: "mbutils.c", line 195: argument #1 incompatible with prototype: strlen() > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wchar.o wchar.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wstrcmp.o wstrcmp.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o wstrncmp.o wstrncmp.c > cc -O -K inline -I/usr/local/include -I../../../../src/include -c -o big5.o big5.c > /usr/bin/ld -r -o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb' > /usr/bin/ld -r -o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.omisc/SUBSYS.o mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o > gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils' > cc -O -K inline -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.olib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.oregex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -L/usr/local/lib -lz -lgen-lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap -lcurses -Wl,-R/home/ler/pg-test/lib -Wl,-Bexport > Undefined first referenced > symbol in file > hstrerror postmaster/SUBSYS.o > UX:ld: ERROR: Symbol referencing errors. No output written to postgres > gmake[2]: *** [postgres] Error 1 > gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src' > gmake: *** [all] Error 2 > * momjian@postgresql.org <momjian@postgresql.org> [001113 15:35]: > > Date: Monday, November 13, 2000 @ 16:31:47 > > Author: momjian > > > > Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/libpq > > from hub.org:/home/projects/pgsql/tmp/cvs-serv56413/pgsql/src/backend/libpq > > > > Modified Files: > > pqcomm.c > > > > ----------------------------- Log Message ----------------------------- > > > > Fix for no hterror(). > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026