Re: BUG #1369: RC3 Compilation fails on mingw - Mailing list pgsql-bugs
From | Magnus Hagander |
---|---|
Subject | Re: BUG #1369: RC3 Compilation fails on mingw |
Date | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCE4764AA@algol.sollentuna.se Whole thread Raw |
In response to | BUG #1369: RC3 Compilation fails on mingw ("T.J." <tjtoocool@phreaker.net>) |
Responses |
Re: BUG #1369: RC3 Compilation fails on mingw
|
List | pgsql-bugs |
I just rebuilt RC3 from scratch without any problems on MingW. I don't see any problems. The paths it's complaining about should be in src/port/pg_config_paths.h, and this file should automatically be rebuilt. Check if it's corrupted, and try removing it and rebuild that directory (first, then the ecpg dir that is failing). //Magnus >-----Original Message----- >From: pgsql-bugs-owner@postgresql.org=20 >[mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of T.J. >Sent: den 2 januari 2005 03:26 >To: pgsql-bugs@postgresql.org >Subject: [BUGS] BUG #1369: RC3 Compilation fails on mingw > > > >The following bug has been logged online: > >Bug reference: 1369 >Logged by: T.J. >Email address: tjtoocool@phreaker.net >PostgreSQL version: 8.0 >Operating system: Windows XP >Description: RC3 Compilation fails on mingw >Details:=20 > >Tested RC2 and RC3 --with-openssl configured. RC2 makes and=20 >installs fine. >RC3, however, has this to say when trying make: > >gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith >-Wdeclaration-after-statement -Wold-style-definition=20 >-Wendif-labels >-fno-strict-aliasing -DFRONTEND -I../..=20=20=20=20=20=20=20 >/../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq >-I../../.. /../src/port -I../../../../src/include >-I./src/include/port/win32 -DEXEC_BACKEND=20=20=20=20=20=20=20=20=20 >"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o=20 >path.o path.c >path.c: In function `get_share_path': >path.c:375: error: `PGSHAREDIR' undeclared (first use in this function) >path.c:375: error: (Each undeclared identifier is reported only once >path.c:375: error: for each function it appears in.) >path.c:375: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_etc_path': >path.c:384: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_include_path': >path.c:393: error: `INCLUDEDIR' undeclared (first use in this function) >path.c:393: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_pkginclude_path': >path.c:402: error: `PKGINCLUDEDIR' undeclared (first use in=20 >this function) >path.c:402: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_includeserver_path': >path.c:411: error: `INCLUDEDIRSERVER' undeclared (first use in this >function) >path.c:411: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_lib_path': >path.c:420: error: `LIBDIR' undeclared (first use in this function) >path.c:420: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_pkglib_path': >path.c:429: error: `PKGLIBDIR' undeclared (first use in this function) >path.c:429: error: `PGBINDIR' undeclared (first use in this function) >path.c: In function `get_locale_path': >path.c:438: error: `LOCALEDIR' undeclared (first use in this function) >path.c:438: error: `PGBINDIR' undeclared (first use in this function) >make[4]: *** [path.o] Error 1 >make[4]: Leaving directory >`/c/postgresql-8.0.0rc3/src/interfaces/ecpg/ecpglib' >make[3]: *** [all] Error 2 >make[3]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces/ecpg' >make[2]: *** [all] Error 2 >make[2]: Leaving directory `/c/postgresql-8.0.0rc3/src/interfaces' >make[1]: *** [all] Error 2 >make[1]: Leaving directory `/c/postgresql-8.0.0rc3/src' >make: *** [all] Error 2 > >---------------------------(end of=20 >broadcast)--------------------------- >TIP 8: explain analyze is your friend >
pgsql-bugs by date: