Re: more multibyte/After TGL... - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: more multibyte/After TGL...
Date
Msg-id 20001028202312.A21735@lerami.lerctr.org
Whole thread Raw
In response to Re: more multibyte/After TGL...  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: more multibyte/After TGL...
List pgsql-hackers
I have that version.  I am, however, compiling with a NON-GCC
compiler.

Larry
* Tatsuo Ishii <t-ishii@sra.co.jp> [001028 20:16]:
> > 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
-- 
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


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: more multibyte/After TGL...
Next
From: Larry Rosenman
Date:
Subject: Re: more multibyte/After TGL...