Skip site navigation (1) Skip section navigation (2)

Re: more multibyte/After TGL...

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, peter_e(at)gmx(dot)net
Subject: Re: more multibyte/After TGL...
Date: 2000-10-29 01:23:13
Message-ID: 20001028202312.A21735@lerami.lerctr.org (view raw or flat)
Thread:
Lists: pgsql-hackers
I have that version.  I am, however, compiling with a NON-GCC
compiler.

Larry
* Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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(at)lerctr(dot)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.o large_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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

pgsql-hackers by date

Next:From: Larry RosenmanDate: 2000-10-29 01:36:05
Subject: Re: more multibyte/After TGL...
Previous:From: Tatsuo IshiiDate: 2000-10-29 01:17:54
Subject: Re: more multibyte/After TGL...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group