James,
On Thu, Mar 22, 2001 at 06:20:18PM +0800, james wrote:
> i try to do as you recommend but still doesn't work.
> new error message:
>
> ../../../src/include/libpq/pqcomm.h:45: field `un' has incomplete type
> In file included from async.c:89:
> ../../../src/include/miscadmin.h:204: conflicting types for `GetUserNameA'
> /usr/include/w32api/winbase.h:1260: previous declaration of `GetUserNameA'
> make[3]: *** [async.o] Error 1
> make[3]: Leaving directory
> `/usr/src/postgresql-7.1beta6/src/backend/commands'
> make[2]: *** [commands-recursive] Error 2
> make[2]: Leaving directory `/usr/src/postgresql-7.1beta6/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/postgresql-7.1beta6/src'
> make: *** [all] Error 2
I just successfully built PostgreSQL 7.1beta6 using Cygwin gcc 2.95.2-9.
I used the following:
$ configure --with-CXX
$ make
The above build passed all regression tests.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com