Re: more multibyte/After TGL...

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: more multibyte/After TGL...
Date: 2000-10-28 15:52:43
Message-ID: 20001028105243.A23214@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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
> gmake[3]: *** [psql] Error 1
> gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/psql'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
> gmake: *** [all] Error 2
> * Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> [001027 02:49]:
> > > Larry Rosenman <ler(at)lerctr(dot)org> writes:
> > > > Saw Tom's commits, now it breaks here:
> > > > cc -c -I/usr/local/include -I../../../src/include -DFRONTEND -I. -DSYSCONFDIR='"/home/ler/pg-test/etc/postgresql"' -O -K inline -K PIC -o fe-connect.o fe-connect.c
> > > > UX:acomp: ERROR: "../../../src/include/mb/pg_wchar.h", line 10: syntax error in macro parameters
> > >
> > > This one is Tatsuo's fault: he's recently started relying on a gcc-ism:
> > >
> > > #ifdef FRONTEND
> > > #define elog(X...)
> > > #endif
> > >
> > > which will not do.
> >
> > Ok, I have removed the "gcc-ism" macro. Please try to build again on
> > your non-gcc platform and please let me know if you have further
> > problem...
> > --
> > 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

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Dominic J. Eidson 2000-10-28 16:17:30 Re: Summary: what to do about INET/CIDR
Previous Message Bruce Momjian 2000-10-28 15:44:04 Re: Gram.y patches for better parenthesis handling.