[postgis-users] Unable to complie on cygwin
Andrew Haigh
lists.ahaigh at dsl.pipex.com
Sat Aug 9 06:03:38 PDT 2003
I know that this has been posted before but I tried the step's oulined
in:
http://postgis.refractions.net/pipermail/postgis-users/2002-November/001793.html
and I can't get it to work.
When I apply the patch I get an error that says one of three hunk's applied.
The error message is:
fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to
`__nm__cpu_index_tuple_cost'
Info: resolving _cpu_index_tuple_cost by linking to
__imp__cpu_index_tuple_cost
(auto-import)
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpostgis.a] Error 1
I have the latest version of cygwin, postgresql (from the postgresql
website) and postgis. I have postgreSQL working with cygipc 1.4.1.
My gcc version is:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,ja
va --enable-libgcj --enable-threads=posix --with-system-zlib
--enable-nls --with
out-included-gettext --enable-interpreter --disable-sjlj-exceptions
--disable-ve
rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux
--host=i686-pc
-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr
--exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include
--libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)
Any ideas?
Many thanks,
Andrew
--
"Imagination is more important than knowledge."
http://www.andrewhaigh.net/
More information about the postgis-users
mailing list