I see that these symbols are found in src\port\pg_config_paths.h

I will try to find out why that file did not get included in path.c

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dann Corbit
> Sent: Wednesday, September 01, 2004 1:26 PM
> To: PostgreSQL-development
> Subject: [HACKERS] 8.0 beta 2, configuation for ECPG seems to 
> lack something for MINGW
> 
> 
> Probably an error on my part.  I assume that there is some 
> configuration script that is supposed to define the following:
> 
>       INCLUDEDIR
>       INCLUDEDIRSERVER
>       LIBDIR
>       LOCALEDIR
>       PGBINDIR
>       PGSHAREDIR
>       PKGINCLUDEDIR
>       PKGLIBDIR
> 
> Because of this:
> 
> make -C ecpglib all
> make[4]: Entering directory 
> `/u/postgresql-8.0.0beta2/src/interfaces/ecpg/ecpglib'
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> execute.o execute.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> typename.o typename.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> descriptor.o descriptor.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> data.o data.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> error.o error.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> prepare.o prepare.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> memory.o memory.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> connect.o connect.c gcc -O2 -fno-strict-aliasing -Wall 
> -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> misc.o misc.c rm -f path.c && ln -s 
> ../../../../src/port/path.c . gcc -O2 -fno-strict-aliasing 
> -Wall -Wmissing-prototypes
> -Wmissing-declarations   -DFRONTEND
> -I../../../../src/interfaces/ecpg/include
> -I../../../../src/interfaces/libpq -I../../../../src/port 
> -I../../../../src/include -I./src/include/port/win32 
> -DEXEC_BACKEND "-I../../../../src/include/port/win32"  -c -o 
> path.o path.c
> path.c: In function `get_share_path':
> path.c:198: error: `PGBINDIR' undeclared (first use in this function)
> path.c:198: error: (Each undeclared identifier is reported only once
> path.c:198: error: for each function it appears in.)
> path.c:198: error: `PGSHAREDIR' undeclared (first use in this 
> function)
> path.c: In function `get_etc_path':
> path.c:215: error: `PGBINDIR' undeclared (first use in this function)
> path.c: In function `get_include_path':
> path.c:232: error: `PGBINDIR' undeclared (first use in this function)
> path.c:232: error: `INCLUDEDIR' undeclared (first use in this 
> function)
> path.c: In function `get_pkginclude_path':
> path.c:249: error: `PGBINDIR' undeclared (first use in this function)
> path.c:249: error: `PKGINCLUDEDIR' undeclared (first use in this
> function)
> path.c: In function `get_includeserver_path':
> path.c:266: error: `PGBINDIR' undeclared (first use in this function)
> path.c:266: error: `INCLUDEDIRSERVER' undeclared (first use in this
> function)
> path.c: In function `get_lib_path':
> path.c:283: error: `PGBINDIR' undeclared (first use in this function)
> path.c:283: error: `LIBDIR' undeclared (first use in this function)
> path.c: In function `get_pkglib_path':
> path.c:300: error: `PGBINDIR' undeclared (first use in this function)
> path.c:300: error: `PKGLIBDIR' undeclared (first use in this function)
> path.c: In function `get_locale_path':
> path.c:319: error: `PGBINDIR' undeclared (first use in this function)
> path.c:319: error: `LOCALEDIR' undeclared (first use in this function)
> make[4]: *** [path.o] Error 1
> make[4]: Leaving directory 
> `/u/postgresql-8.0.0beta2/src/interfaces/ecpg/ecpglib'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory 
> `/u/postgresql-8.0.0beta2/src/interfaces/ecpg'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/u/postgresql-8.0.0beta2/src/interfaces'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/u/postgresql-8.0.0beta2/src'
> make: *** [all] Error 2
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to