Re: Compiling on 8.1.3 on Openserver 5.05

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compiling on 8.1.3 on Openserver 5.05
Дата
Msg-id 6844.1147359792@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Compiling on 8.1.3 on Openserver 5.05  (Mark Campbell <mark.campbell@ucs-software.co.za>)
Ответы Re: Compiling on 8.1.3 on Openserver 5.05
Список pgsql-ports
Mark Campbell <mark.campbell@ucs-software.co.za> writes:
> getaddrinfo.c: In function `pg_getaddrinfo':
> getaddrinfo.c:189: warning: implicit declaration of function `htonl'
> getaddrinfo.c:211: `h_errno' undeclared (first use in this function)
> getaddrinfo.c:211: (Each undeclared identifier is reported only once
> getaddrinfo.c:211: for each function it appears in.)
> getaddrinfo.c:215: warning: unreachable code at beginning of switch
> statement
> getaddrinfo.c:238: warning: implicit declaration of function `htons'
> getaddrinfo.c: In function `pg_getnameinfo':
> getaddrinfo.c:416: warning: implicit declaration of function `ntohs'

Hmm, looks like your system declares htonl() and friends in some other
header file than where getaddrinfo.c is expecting.  Grep through
everything under /usr/include and see where these symbols are declared.

BTW, what problems did you have with configure?

            regards, tom lane

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

Предыдущее
От: Mark Campbell
Дата:
Сообщение: Compiling on 8.1.3 on Openserver 5.05
Следующее
От: Mark Campbell
Дата:
Сообщение: Re: Compiling on 8.1.3 on Openserver 5.05