Below is my first attempt at getting help. A nice person responded and offered
the solution below. I followed it exactly and still was not able to get past
these errors. (What's this business of trying to link ...dummy.s to tas.s!?) I'm
running NT 4.0 WS/sp5 and am using cygwin DLL 1.1.14, trying to install Postgres
7.0.2. Any help would be greatly appreciated...
Larry Bottorff
Harvey County, Kansas
316.284.6953
lbottorff@harveycounty.com (Don't ask me why we're a .com)
--------------------------------------------------------------------------------------------------------
This is the same problem I posted to this list. I received the attached
e-mail from Jason Tishler and it works great!
> -----Original Message-----
> From: lbottorff@harveycounty.com [mailto:lbottorff@harveycounty.com]
> Sent: Friday, November 03, 2000 2:26 PM
> To: cygwin@sourceware.cygnus.com; pgsql-ports@postgresql.org
> Subject: [PORTS] Errors building Postgres on NT
>
>
>
>
> This is what I get when I try the configure of postgres
> 7.0.2 on my NT 4.0
> Workstation running cygwin dll 1.1.14
>
> linking ./include/port/win.h to include/os.h
> linking ./makefiles/Makefile.win to Makefile.port
> linking ./backend/port/tas/dummy.s to backend/port/tas.s
> configure: error: ./backend/port/tas/dummy.s: File not found
>
> This is a section of the make where it bombs:
>
> gcc -I../include -I../backend -I/usr/local/include -O2
> -I/usr/local/include
> -Wall -Wmissing-prototypes -Wmissing-declarations -c -o
> dllinit.o dllinit.c
> dllinit.c:49: conflicting types for `DllMain'
> dllinit.c:44: previous declaration of `DllMain'
> dllinit.c:49: conflicting types for `_cygwin_dll_entry'
> dllinit.c:49: previous declaration of `_cygwin_dll_entry'
> dllinit.c:81: conflicting types for `DllMain'
> dllinit.c:49: previous declaration of `DllMain'
> make[2]: *** [dllinit.o] Error 1
> make[2]: Leaving directory `/cygdrive/e/postgresql-7.0.2/src/utils'
> make[1]: *** [../utils/dllinit.o] Error 2
> make[1]: Leaving directory `/cygdrive/e/postgresql-7.0.2/src/backend'
> make: *** [all] Error 2
>
> Any ideas? (...besides get Linux--they won't let me!) Has
> anybody seen this before?
>
> Larry Bottorff
>
>
On Thu, Nov 02, 2000 at 04:15:12PM -0500, Bob Love wrote:
> Any help would be appreciated.
Please see the following:
http://people.freebsd.org/~kevlo/postgres/portNT.html
but use the attached patch instead.
Jason