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 <[EMAIL PROTECTED]> [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 <[EMAIL PROTECTED]> [001027 02:49]:
> > > Larry Rosenman <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749