Обсуждение: --enable-multibyte dies (UnixWare 7.1.1)/Current Sources

Поиск
Список
Период
Сортировка

--enable-multibyte dies (UnixWare 7.1.1)/Current Sources

От
Larry Rosenman
Дата:
Tried --enable-multibyte for grins.  Bad Move.  

Top part of config.status:
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host lerami.lerctr.org:
#
# ./configure  --prefix=/home/ler/pg-test --enable-syslog --with-CXX --with-perl --enable-multibyte
--with-includes=/usr/local/include--with-libs=/usr/local/lib
 
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.


Bottom of make output...
UX:acomp: WARNING: "mbutils.c", line 178: argument #1 incompatible with prototype: strlen()
UX:acomp: WARNING: "mbutils.c", line 195: argument #1 incompatible with prototype: strlen()
cc -c -I/usr/local/include -I../../../../src/include -O -K inline -o wchar.o wchar.c
cc -c -I/usr/local/include -I../../../../src/include -O -K inline -o wstrcmp.o wstrcmp.c
cc -c -I/usr/local/include -I../../../../src/include -O -K inline -o wstrncmp.o wstrncmp.c
cc -c -I/usr/local/include -I../../../../src/include -O -K inline -o big5.o big5.c
/bin/ld -r -o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils/mb'
/bin/ld -r -o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o
misc/SUBSYS.ommgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o
 
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils'
cc -O -K inline -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.olib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
postmaster/SUBSYS.oregex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -L/usr/local/lib -lz
-lgen-lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap -lcurses  -Wl,-Bexport
 
Undefined            first referenced
symbol                  in file
reset_client_encoding               tcop/SUBSYS.o
UX:ld: ERROR: Symbol referencing errors. No output written to postgres
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
gmake: *** [all] Error 2

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


Re: --enable-multibyte dies (UnixWare 7.1.1)/Current Sources

От
Tom Lane
Дата:
Larry Rosenman <ler@lerctr.org> writes:
> Tried --enable-multibyte for grins.  Bad Move.  

> Undefined            first referenced
> symbol                  in file
> reset_client_encoding               tcop/SUBSYS.o

Ooops, I guess I broke that yesterday :-(.  Will fix.
        regards, tom lane


Re: --enable-multibyte dies (UnixWare 7.1.1)/Current Sources

От
"Oliver Elphick"
Дата:
Tom Lane wrote: >Larry Rosenman <ler@lerctr.org> writes: >> Tried --enable-multibyte for grins.  Bad Move.   > >>
Undefined           first referenced >> symbol                  in file >> reset_client_encoding
tcop/SUBSYS.o> >Ooops, I guess I broke that yesterday :-(.  Will fix.
 

It hit me as well (on Linux).

reset_client_encoding is wrongly declared as static in 
src/backend/commands/variable.c

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "Whosoever therefore shall be ashamed of me and of my      words in this
adulterousand sinful generation; of him     also shall the Son of man be ashamed, when he cometh      in the glory of
hisFather with the holy angels."                                     Mark 8:38