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

Re: more multibyte/After TGL...

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: ler(at)lerctr(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org, peter_e(at)gmx(dot)net
Subject: Re: more multibyte/After TGL...
Date: 2000-10-29 01:17:54
Message-ID: 20001029101754L.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: 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(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

In response to

Responses

pgsql-hackers by date

Next:From: Larry RosenmanDate: 2000-10-29 01:23:13
Subject: Re: more multibyte/After TGL...
Previous:From: Vadim MikheevDate: 2000-10-28 22:44:04
Subject: Re: Numeric file names

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