Skip to content

Error during make on 9.5.5 #142

Closed
Closed
@thamerlan

Description

@thamerlan

Добрый день.

Problem description

Не могу собрать pg_pathman-1.4.9 под postgresql-9.5.5.
Во время "make install USE_PGXS=1" получую ошибку:

pathman-1.4.9/src/include -I. -I./ -I/opt/postgres/binaries/pgsql-9.5.5/include/server -I/opt/postgres/binaries/pgsql-9.5.5/include/internal -D_GNU_SOURCE   -c -o src/utility_stmt_hooking.o src/utility_stmt_hooking.c
src/utility_stmt_hooking.c: In function ‘is_pathman_related_copy’:
src/utility_stmt_hooking.c:114:4: warning: implicit declaration of function ‘lfirst_node’ [-Wimplicit-function-declaration]
    DefElem *defel = lfirst_node(DefElem, lc);
    ^
src/utility_stmt_hooking.c:114:33: error: expected expression before ‘DefElem’
    DefElem *defel = lfirst_node(DefElem, lc);
                                 ^
make: *** [src/utility_stmt_hooking.o] Error 1

Environment

      extname       | extowner | extnamespace | extrelocatable | extversion | extconfig | extcondition 
--------------------+----------+--------------+----------------+------------+-----------+--------------
 plpgsql            |       10 |           11 | f              | 1.0        |           | 
 pg_stat_statements |       10 |         2200 | t              | 1.3        |           | 
 pgcrypto           |       10 |         2200 | t              | 1.2        |           | 
 pg_cron            |       10 |         2200 | f              | 1.0        | {38228}   | {""}
(4 rows)

                                                version                                                 
--------------------------------------------------------------------------------------------------------
 PostgreSQL 9.5.5 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions