Re: Archlinux, ossp-uuid

From: Николай Ижиков <nizhikov(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Archlinux, ossp-uuid
Date: 2010-12-27 09:28:42
Message-ID: AANLkTin-_fu7POqg1iG5wmdGvvtbZDJSoD02z5RfcR3B@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I got following error when try your advice.

uuid-ossp.c:29:2: ошибка: #error OSSP uuid.h not found
uuid-ossp.c:35:2: ошибка: #error UUID length mismatch
uuid-ossp.c:68:27: ошибка: expected ')' before 'rc'
uuid-ossp.c:83:22: предупреждение: type defaults to 'int' in declaration of
'uuid_t'
uuid-ossp.c:83:29: ошибка: expected ';', ',' or ')' before '*' token
uuid-ossp.c:99:33: ошибка: expected declaration specifiers or '...' before
'uuid_t'
uuid-ossp.c: В функции 'string_to_uuid':
uuid-ossp.c:101:2: ошибка: 'uuid_rc_t' undeclared (first use in this
function)
uuid-ossp.c:101:2: замечание: each undeclared identifier is reported only
once for each function it appears in
uuid-ossp.c:101:12: ошибка: expected ';' before 'rc'
uuid-ossp.c:103:2: ошибка: 'rc' undeclared (first use in this function)
uuid-ossp.c:103:2: предупреждение: неявная декларация функции 'uuid_import'
uuid-ossp.c:103:19: ошибка: 'uuid' undeclared (first use in this function)
uuid-ossp.c:103:25: ошибка: 'UUID_FMT_STR' undeclared (first use in this
function)
uuid-ossp.c:103:44: ошибка: 'UUID_LEN_STR' undeclared (first use in this
function)
uuid-ossp.c:104:12: ошибка: 'UUID_RC_OK' undeclared (first use in this
function)
uuid-ossp.c:105:3: предупреждение: неявная декларация функции
'pguuid_complain'
uuid-ossp.c: В функции 'special_uuid_value':
uuid-ossp.c:112:2: ошибка: 'uuid_t' undeclared (first use in this function)
uuid-ossp.c:112:13: ошибка: 'uuid' undeclared (first use in this function)
uuid-ossp.c:113:2: предупреждение: ISO C90 forbids mixed declarations and
code
uuid-ossp.c:114:2: ошибка: 'uuid_rc_t' undeclared (first use in this
function)
uuid-ossp.c:114:12: ошибка: expected ';' before 'rc'
uuid-ossp.c:116:2: ошибка: 'rc' undeclared (first use in this function)
uuid-ossp.c:116:2: предупреждение: неявная декларация функции 'uuid_create'
uuid-ossp.c:117:12: ошибка: 'UUID_RC_OK' undeclared (first use in this
function)
uuid-ossp.c:119:2: предупреждение: неявная декларация функции 'uuid_load'
uuid-ossp.c:122:2: предупреждение: неявная декларация функции
'uuid_to_string'
uuid-ossp.c:123:2: предупреждение: неявная декларация функции 'uuid_destroy'
uuid-ossp.c: На верхнем уровне:
uuid-ossp.c:167:40: предупреждение: type defaults to 'int' in declaration of
'uuid_t'
uuid-ossp.c:167:47: ошибка: expected ';', ',' or ')' before '*' token
uuid-ossp.c: В функции 'uuid_generate_v1':
uuid-ossp.c:191:2: предупреждение: неявная декларация функции
'uuid_generate_internal'
uuid-ossp.c:191:32: ошибка: 'UUID_MAKE_V1' undeclared (first use in this
function)
uuid-ossp.c: В функции 'uuid_generate_v1mc':
uuid-ossp.c:198:32: ошибка: 'UUID_MAKE_V1' undeclared (first use in this
function)
uuid-ossp.c:198:47: ошибка: 'UUID_MAKE_MC' undeclared (first use in this
function)
uuid-ossp.c: В функции 'uuid_generate_v35_internal':
uuid-ossp.c:205:2: ошибка: 'uuid_t' undeclared (first use in this function)
uuid-ossp.c:205:13: ошибка: 'ns_uuid' undeclared (first use in this
function)
uuid-ossp.c:206:2: предупреждение: ISO C90 forbids mixed declarations and
code
uuid-ossp.c:207:2: ошибка: 'uuid_rc_t' undeclared (first use in this
function)
uuid-ossp.c:207:12: ошибка: expected ';' before 'rc'
uuid-ossp.c:209:2: ошибка: 'rc' undeclared (first use in this function)
uuid-ossp.c:210:12: ошибка: 'UUID_RC_OK' undeclared (first use in this
function)
uuid-ossp.c:213:8: ошибка: слишком много аргументов в вызове функции
'string_to_uuid'
uuid-ossp.c:99:1: замечание: declared here
uuid-ossp.c: В функции 'uuid_generate_v3':
uuid-ossp.c:233:36: ошибка: 'UUID_MAKE_V3' undeclared (first use in this
function)
uuid-ossp.c: В функции 'uuid_generate_v4':
uuid-ossp.c:240:32: ошибка: 'UUID_MAKE_V4' undeclared (first use in this
function)
uuid-ossp.c: В функции 'uuid_generate_v5':
uuid-ossp.c:250:36: ошибка: 'UUID_MAKE_V5' undeclared (first use in this
function)
uuid-ossp.c:251:1: предупреждение: control reaches end of non-void function
uuid-ossp.c: В функции 'uuid_generate_v4':
uuid-ossp.c:241:1: предупреждение: control reaches end of non-void function
uuid-ossp.c: В функции 'uuid_generate_v3':
uuid-ossp.c:234:1: предупреждение: control reaches end of non-void function
uuid-ossp.c: В функции 'uuid_generate_v1mc':
uuid-ossp.c:199:1: предупреждение: control reaches end of non-void function
uuid-ossp.c: В функции 'uuid_generate_v1':
uuid-ossp.c:192:1: предупреждение: control reaches end of non-void function
make: *** [uuid-ossp.o] Ошибка 1

26 декабря 2010 г. 18:50 пользователь Robert Haas
<robertmhaas(at)gmail(dot)com>написал:

> On Dec 25, 2010, at 12:55 PM, Николай Ижиков <nizhikov(at)gmail(dot)com> wrote:
>
> I got error
>
> "could not load libraty /usr/lib/postgresql/uuid-ossp.so":
> /usr/lib/postgresql/uuid-ossp.so: undefined symbol: uuid_error"
>
> How I can fix it?
>
>
> cd contrib/uuid-ossp
> make install
>
> ...Robert
>

--
С уважением, Николай Ижиков
NIzhikov(at)gmail(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-12-27 09:36:28 Re: Streaming replication as a separate permissions
Previous Message Simon Riggs 2010-12-27 08:58:36 Re: Why is sorting on two columns so slower thansortingon one column?