[postgis-users] unable to make postgresql 7.2.3: please help

Venu Kanaparthy madhavsinghk at yahoo.com
Mon Aug 25 20:34:41 PDT 2003


Thanks  Norman, finally i was able to compile the source code and run PostGresql.
Now i have problem with installing postgis 0.7.5 with postgresql 7.2.3.
When i am using "make", i get the following error. 
Please give me some pointers on how to fix this problem.
 
$cd /usr/src/postgresql-7.3.4-2/contrib/postgis-0.7.5
$make
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,
Ven

Norman Vine <nhv at cape.com> wrote:
Venu Kanaparthy  writes: 
I have installed postgressql 7.3.4 successfully using  cygwin but could not get it to
integrate with  postgis-0.7.5. Some where on the list, it was said that postgis is not
fully integrated with latest version of postgresql.
 
Then i started installing  version 7.2.3 of postgresql. I got the following error while
trying to make. any help is appreciated. 
 
< please try to post the minimal make output inorder to see the error > 
 
$ cd /usr/share/postgresql-7.2.3 
 
 
 make[4]: Entering directory `/usr/share/postgresql-7.2.3/src/backend/storage/ipc
'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/incl
ude -I/usr/local/include -DBUILDING_DLL=1  -c -o ipc.o ipc.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
ipc.c: In function `InternalIpcSemaphoreCreate':
ipc.c:271: warning: implicit declaration of function `semget'
ipc.c:271: `IPC_CREAT' undeclared (first use in this function) 
 
You need to install the IPC package
 
see the postgres docs in 
$CYG_ROOT/usr/docs/Cygwin/postgresql-$VER.README
or
http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README
 
and
http://www.tishler.net/jason/software/cygipc/
 
HTH
 
Norman
 


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20030825/938cd843/attachment.html>


More information about the postgis-users mailing list