failed compile csv version PostgreSQL

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема failed compile csv version PostgreSQL
Дата
Msg-id Pine.LNX.4.44.0305111508510.15276-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Ответ на Re: Installtion error  (alex avriette <alex@posixnap.net>)
Ответы Re: failed compile csv version PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hello

I can't compile csv version on my linux 7.3. Previous versions I compiled
without problems. First errors is in linking SUBSYS.o.

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -L../../src/port
-Wl,-rpath,/usr/local/pgsql/lib -export-dynamic access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lz
-lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd  -lpgport -o
postgres
parser/SUBSYS.o: In function `base_yylex':
parser/SUBSYS.o(.text+0xc065): undefined reference to `__ctype_b'
parser/SUBSYS.o(.text+0xc078): undefined reference to `__ctype_tolower'
parser/SUBSYS.o: In function `ScanKeywordLookup':
parser/SUBSYS.o(.text+0xceda): undefined reference to `__ctype_b'
commands/SUBSYS.o: In function `case_translate_language_name':
commands/SUBSYS.o(.text+0x9a2c): undefined reference to `__ctype_tolower'
commands/SUBSYS.o: In function `assign_timezone':
commands/SUBSYS.o(.text+0x26cd4): undefined reference to `__ctype_b'
nodes/SUBSYS.o: In function `_outToken':
nodes/SUBSYS.o(.text+0x9e10): undefined reference to `__ctype_b'
nodes/SUBSYS.o: In function `nodeTokenType':
...
...

I have gcc 3.2.2, bison 1.2.8, lex 2.5.4. (configure I run without
params) Have I upgrade some libs or tools?

Thank you
Pavel

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bugs
Дата:
Сообщение: segmentation fault in libpq (PHP CLI)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: failed compile csv version PostgreSQL