Re: more multibyte/After TGL...

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: more multibyte/After TGL...
Дата
Msg-id 20001029101754L.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: more multibyte/After TGL...  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: more multibyte/After TGL...  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-hackers
> They still die today.  I did some looking, but I'm not sure how to fix
> it. 
> 
> Apparently we need to have access to src/backend/utils/mb/common.c's
> object file for the psql build.  Not sure how to get there...
> 
> Larry
> * Larry Rosenman <ler@lerctr.org> [001027 07:26]:
> > Todays Sources still die:
> > 
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o copy.o copy.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o startup.o
startup.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o prompt.o
prompt.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o variables.o
variables.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o large_obj.o
large_obj.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o print.o print.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o describe.o
describe.c
> > cc -c -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -O -K inline -o tab-complete.o
tab-complete.c
> > cc -O -K inline -o psql command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o
variables.olarge_obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -lz
-lgen-lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap -lcurses 
 
> > Undefined            first referenced
> > symbol                  in file
> > pg_encoding_to_char                 command.o
> > UX:ld: ERROR: Symbol referencing errors. No output written to psql
[snip]

Hum, I have tried a build with fresh sources from CVS, but see no
problem as you mentioned so far.

The function pg_encoding_to_char() is defined in
interfaces/libpq/common.c (actually symlink to
backend/utils/mb/common.c). Have you checked the pg_encoding_to_char()
is exported from common.o?

Or you have grabbed wrong version? Here is the version id in my
copy of common.c:
* $Id: common.c,v 1.9 2000/06/13 07:35:15 tgl Exp $ */
--
Tatsuo Ishii


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Vadim Mikheev"
Дата:
Сообщение: Re: Numeric file names
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: more multibyte/After TGL...