[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    [postgis-users] Installation problem  postgis
From:       Venu Kanaparthy <madhavsinghk () yahoo ! com>
Date:       2003-08-24 8:36:42
Message-ID: 20030824083642.77972.qmail () web21301 ! mail ! yahoo ! com
[Download RAW message or body]

Hi,
I got the following error trying to install posgis, 
can anyone give some pointers.
 
cd /usr/share/postgresql-7.3.4/contrib/postgis-0.7.5
$ make
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_debug.o postgis_debug.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_ops.o postgis_ops.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_fn.o postgis_fn.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_inout.o postgis_inout.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_proj.o postgis_proj.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_chip.o postgis_chip.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_transform.o postgis_transform.c
postgis_transform.c: In function `transform_geom':
postgis_transform.c:437: warning: control reaches end of non-void function
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_gist_72.o postgis_gist_72.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I. -I../../src/in
clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c -o postg
is_estimate.o postgis_estimate.c
dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o post
gis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postg
is_gist_72.o postgis_estimate.o
dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis_debug.o p
ostgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_
transform.o postgis_gist_72.o postgis_estimate.o ../../src/utils/dllinit.o -L/us
r/local/lib -L/usr/local/lib -L../../src/backend -lpostgres
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
 
 
Thanks in advance,
Venu


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[Attachment #3 (text/html)]

<DIV>&nbsp;</DIV>
<DIV>Hi,</DIV>
<DIV>I got the following error trying to install posgis, </DIV>
<DIV>can anyone give some pointers.</DIV>
<DIV>&nbsp;</DIV>
<DIV>cd&nbsp;/usr/share/postgresql-7.3.4/contrib/postgis-0.7.5<BR>$ make<BR>gcc -O2 \
-Wall -Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_debug.o postgis_debug.c<BR>gcc -O2 -Wall \
-Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_ops.o postgis_ops.c<BR>gcc -O2 -Wall \
-Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_fn.o postgis_fn.c<BR>gcc -O2 -Wall \
-Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_inout.o postgis_inout.c<BR>gcc -O2 -Wall \
                -Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I.
 -I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_proj.o postgis_proj.c<BR>gcc -O2 -Wall \
-Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_chip.o postgis_chip.c<BR>gcc -O2 -Wall \
-Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I. \
-I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_transform.o \
postgis_transform.c<BR>postgis_transform.c: In function \
`transform_geom':<BR>postgis_transform.c:437: warning: control reaches end of \
non-void function<BR>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations&nbsp; \
-g -I. -I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_gist_72.o postgis_gist_72.c<BR>gcc -O2 -Wall \
                -Wmissing-prototypes -Wmissing-declarations&nbsp; -g -I.
 -I../../src/in<BR>clude&nbsp; -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' \
-DUSE_VERSION=73&nbsp; -c -o postg<BR>is_estimate.o postgis_estimate.c<BR>dlltool \
--export-all --output-def postgis.def postgis_debug.o postgis_ops.o post<BR>gis_fn.o \
postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o \
postg<BR>is_gist_72.o postgis_estimate.o<BR>dllwrap -o postgis.dll --dllname \
postgis.dll --def postgis.def postgis_debug.o p<BR>ostgis_ops.o postgis_fn.o \
postgis_inout.o postgis_proj.o postgis_chip.o postgis_<BR>transform.o \
postgis_gist_72.o postgis_estimate.o ../../src/utils/dllinit.o -L/us<BR>r/local/lib \
-L/usr/local/lib -L../../src/backend -lpostgres<BR>fu000001.o(.idata$3+0xc): \
undefined reference to `_libpostgres_a_iname'<BR>nmth000000.o(.idata$4+0x0): \
undefined reference to `__nm__cpu_index_tuple_cost'<BR>Info: resolving \
_cpu_index_tuple_cost by linking to \
__imp__cpu_index_tuple_cost<BR>(auto-import)<BR>collect2: ld returned 1 exit \
status<BR>dllwrap: gcc exited with status  1<BR>make: *** [libpostgis.a] Error \
1</DIV> <DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Venu</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! \
SiteBuilder</a> - Free, easy-to-use web site design software



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic