Обсуждение: 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
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 > > Bob, 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 -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Вложения
Unfortunately, it's still not working with exactly the same errors on configure and make. I followed all instructions to the letter. Again it's this business of linking to a file that isn't there.... Any ideas? 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 > > Bob, 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