<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">I try to compile postgis using the follows commands:
1) ./configure --with-proj=/usr/local/proj --with-geos=/usr/local/geos/bin/geos-config
2) LDFLAGS=-lstdc++ ./configure --with-proj=/usr/local/proj --with-geos=/usr/local/geos/bin/geos-config
Then in both cases appears the follow error:
<i>lwgeom_chip.c: In function `chip_draw_pixel':
lwgeom_chip.c:714: parse error before `p'
lwgeom_chip.c:723: `p' undeclared (first use in this function)
lwgeom_chip.c:723: (Each undeclared identifier is reported only once
lwgeom_chip.c:723: for each function it appears in.)
lwgeom_chip.c: In function `CHIP_dump':
lwgeom_chip.c:1100: parse error before `p'
lwgeom_chip.c:1101: `p' undeclared (first use in this function)
make[1]: *** [lwgeom_chip.o] Error 1
make[1]: Saliendo directorio `/home/soft/postgis-1.1.3/lwgeom'
make: *** [liblwgeom] Error 2
</i>Please, someone can help me with this problem.
Thanks in advance
Carles
</pre>
</body>
</html>