Compilation failed

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Compilation failed
Date: 2011-02-04 04:02:14
Message-ID: AANLkTikjazn0vb7dFOjfg-=9+xEdu8ZZjrVYpmSFQFcn@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

When I run "git pull" from the git master and "make", I encountered
the following compilation error.

gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wformat-security
-fno-strict-aliasing -fwrapv -g -I../../src/port -I../../src/include
-D_GNU_SOURCE -c chklocale.c -o chklocale_srv.o
In file included from ../../src/include/postgres.h:48,
from chklocale.c:17:
../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No such
file or directory
make[2]: *** [chklocale_srv.o] Error 1
make[2]: Leaving directory `/home/postgres/head/src/port'
make[1]: *** [install-port-recurse] Error 2
make[1]: Leaving directory `/home/postgres/head/src'
make: *** [install-src-recurse] Error 2

I guess the following commit causes a problem.

-------------
Avoid maintaining three separate copies of the error codes list.

src/pl/plpgsql/src/plerrcodes.h, src/include/utils/errcodes.h, and a
big chunk of errcodes.sgml are now automatically generated from a single
file, src/backend/utils/errcodes.txt.
-------------

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2011-02-04 04:10:41 Re: [HACKERS] Slow count(*) again...
Previous Message Robert Haas 2011-02-04 04:00:13 Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED