getaddrinfo.c error

From: 关外流浪 <shiweidong2009(at)foxmail(dot)com>
To: pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)org>
Subject: getaddrinfo.c error
Date: 2009-12-13 07:45:22
Message-ID: tencent_36CBA35B28BD05895F7A8646@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

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