Re: PG 9.0 Solaris compile error on Sparc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG 9.0 Solaris compile error on Sparc
Дата
Msg-id 14737.1279544016@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PG 9.0 Solaris compile error on Sparc  (Dave Page <dpage@pgadmin.org>)
Ответы Re: PG 9.0 Solaris compile error on Sparc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Dave Page <dpage@pgadmin.org> writes:
> I'm working on setting up a new buildfarm member as we don't seem to
> have any active Solaris ones :-(

> cc -Xa -m64 -mt   -mt -D_REENTRANT -D_THREAD_SAFE
> -D_POSIX_PTHREAD_SEMANTICS -KPIC -DFRONTEND -DUNSAFE_STAT_OK -I.
> -I../../../src/include  -I../../../src/port -I../../../src/port
> -DSO_MAJOR_VERSION=5  -c -o fe-connect.o fe-connect.c
> "fe-connect.c", line 1789: undefined symbol: ucred_t
> "fe-connect.c", line 1789: undefined symbol: ucred
> "fe-connect.c", line 1792: warning: implicit function declaration: getpeerucred
> "fe-connect.c", line 1792: undefined symbol: sock
> "fe-connect.c", line 1800: warning: implicit function declaration: ucred_geteuid
> "fe-connect.c", line 1805: warning: implicit function declaration: ucred_free
> cc: acomp failed for fe-connect.c

That code wouldn't be getting compiled if configure hadn't found
getpeerucred present, so I'll bet the problem is just lack of the
#include file that declares the above symbols.  A bit of grepping
of /usr/include should give you the answer.

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: PG 9.0 Solaris compile error on Sparc
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: PG 9.0 Solaris compile error on Sparc