Thread: Postgresql - multibyte
hello, I have a problem during compilation of Postgresql 7.1 I configure it with --enable-multibyte=LATIN2 --enable-odbc --enable-locale Everything goes OK. Then I type gmake, and after a while of compilation I get an error message like: gmake[4]: Entering directory `/export/home/root/instalacje/postgresql-7.1/src/backend/utils/mb' /usr/ccs/bin/ld -r -o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o gmake[4]: Leaving directory `/export/home/root/instalacje/postgresql-7.1/src/backend/utils/mb' /usr/ccs/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.o mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o ld: fatal: symbol `PG_char_to_encoding' is multiply-defined: (file init/SUBSYS.o and file mb/SUBSYS.o); ld: fatal: symbol `getdatabaseencoding' is multiply-defined: (file init/SUBSYS.o and file mb/SUBSYS.o); ld: fatal: symbol `PG_encoding_to_char' is multiply-defined: (file init/SUBSYS.o and file mb/SUBSYS.o); ld: fatal: File processing errors. No output written to SUBSYS.o gmake[3]: *** [SUBSYS.o] Error 1 gmake[3]: Leaving directory `/export/home/root/instalacje/postgresql-7.1/src/backend/utils' gmake[2]: *** [utils-recursive] Error 2 gmake[2]: Leaving directory `/export/home/root/instalacje/postgresql-7.1/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/export/home/root/instalacje/postgresql-7.1/src' gmake: *** [all] Error 2 Can anyone help me. Best regards Marcin
I have no problems with exactly the same configuration as you said. Can you make distclean and try again? -- Tatsuo Ishii > hello, > > I have a problem during compilation of Postgresql 7.1 > I configure it with --enable-multibyte=LATIN2 --enable-odbc --enable-locale > Everything goes OK. > Then I type gmake, and after a while of compilation I get an error message > like: > > gmake[4]: Entering directory > `/export/home/root/instalacje/postgresql-7.1/src/backend/utils/mb' > /usr/ccs/bin/ld -r -o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o > wstrncmp.o big5.o > gmake[4]: Leaving directory > `/export/home/root/instalacje/postgresql-7.1/src/backend/utils/mb' > /usr/ccs/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.o > mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o > ld: fatal: symbol `PG_char_to_encoding' is multiply-defined: > (file init/SUBSYS.o and file mb/SUBSYS.o); > ld: fatal: symbol `getdatabaseencoding' is multiply-defined: > (file init/SUBSYS.o and file mb/SUBSYS.o); > ld: fatal: symbol `PG_encoding_to_char' is multiply-defined: > (file init/SUBSYS.o and file mb/SUBSYS.o); > ld: fatal: File processing errors. No output written to SUBSYS.o > gmake[3]: *** [SUBSYS.o] Error 1 > gmake[3]: Leaving directory > `/export/home/root/instalacje/postgresql-7.1/src/backend/utils' > gmake[2]: *** [utils-recursive] Error 2 > gmake[2]: Leaving directory > `/export/home/root/instalacje/postgresql-7.1/src/backend' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/export/home/root/instalacje/postgresql-7.1/src' > gmake: *** [all] Error 2 > > Can anyone help me. > > Best regards > Marcin > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html >