Errors building Postgres on NT

From: lbottorff(at)harveycounty(dot)com
To: pgsql-admin(at)postgresql(dot)org
Subject: Errors building Postgres on NT
Date: 2000-11-08 14:37:44
Message-ID: 86256991.00505CB1.00@mail.harveycounty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)harveycounty(dot)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(at)harveycounty(dot)com [mailto:lbottorff(at)harveycounty(dot)com]
> Sent: Friday, November 03, 2000 2:26 PM
> To: cygwin(at)sourceware(dot)cygnus(dot)com; pgsql-ports(at)postgresql(dot)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

Attachment Content-Type Size
Cygwin-1.1.4-PostgreSQL-7.0.2.patch application/octet-stream 6.0 KB

Browse pgsql-admin by date

  From Date Subject
Next Message Jonathan Daniels 2000-11-08 18:51:41 Restoring from a file system level backup
Previous Message pginfo 2000-11-08 06:26:56 Sharing Postgres Datafiles