failed compile csv version PostgreSQL

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: pgsql-bugs(at)postgresql(dot)org
Subject: failed compile csv version PostgreSQL
Date: 2003-05-11 13:14:49
Message-ID: Pine.LNX.4.44.0305111508510.15276-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-ports

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-05-11 14:14:01 Re: failed compile csv version PostgreSQL
Previous Message Achilleus Mantzios 2003-05-09 19:25:12 Re: An unresolved performance problem.

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2003-05-11 14:14:01 Re: failed compile csv version PostgreSQL
Previous Message Larry Rosenman 2003-04-30 17:49:42 Re: Postgresql 7.3 on Unixware 7.1.1