getaddrinfo.c error - Mailing list pgsql-general

From 关外流浪
Subject getaddrinfo.c error
Date
Msg-id tencent_36CBA35B28BD05895F7A8646@qq.com
Whole thread Raw
Responses Re: getaddrinfo.c error  (Craig Ringer <craig@postnewspapers.com.au>)
Re: getaddrinfo.c error  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-general
Hi,guys.I am a student who want to study PostgreSQL.I encountered the following errors which I don't know how to fix while I using eclipse to built pgsql:
 
"  ../src/port/getaddrinfo.c:360: error: conflicting types for 'getnameinfo' /usr/inlclude/netdb.h:653: note: previous declaration of 'getnameinfo' was here"
 
but other similar functions such as getaddrinfo(...) declared in getaddrinfo.h work right.so why getnameinfo(...) produce the errors.can someone give me a tip to fix the problem,that's would be very helpful to me.Thanks very much
 

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: two field table: field1, field2, how to add a third one with the auto-generated value replace(field2,'channel','AAAA')?
Next
From: Craig Ringer
Date:
Subject: Re: getaddrinfo.c error