[OSGeo-Discuss] cross compiling geos-3.4.2 for mips:Can not compile without isnan function or macro

spark saurabh6321 at gmail.com
Wed Jul 30 21:58:54 PDT 2014


Hi Johan,
        Thanks for the reply.I cloned their repository and tried to
build it using my toolchain. But the same problem exists. I think the
example you showed uses the standard C library, whereas in my case
uClibc is there. I suspect that may be the problem. Correct me if I'm
wrong.

Thanks, Regards
Saurabh
On Wed, 2014-07-30 at 22:30 +0200, Johan Van de Wauw wrote:
> Saurabh,
> 
> The same version of geos was built succesfully on mips in debian[1].
> You may want to have a look at the changes that were made on debian or
> just clone their repository:
> http://anonscm.debian.org/cgit/pkg-grass/geos.git/
> 
> Johan
> [1]https://buildd.debian.org/status/fetch.php?pkg=geos&arch=mips&ver=3.4.2-5&stamp=1398661961
> 
> On Wed, Jul 30, 2014 at 2:52 PM, spark <saurabh6321 at gmail.com> wrote:
> > Hi All,
> >
> >       I am trying to cross compile geos-3.4.2, for mips platform. But
> > the make always fails with error message
> >
> > "#error "Can not compile without isnan function or macro""
> >
> > and also
> >
> > "geom/Coordinate.inl:77:28: error: 'ISNAN' was not declared in this
> > scope"
> >
> > I have tried to search about this but could not find a solution.
> >
> > Details of the compile environment are given below:
> >
> > *toolchain: mips-openwrt-linux-uclibc
> >
> > *build : i686-pc (ubuntu-12.04)
> >
> > Also in configure log it shows:
> >
> > "checking for isnan ... no"
> >
> > Please help...
> >
> > Regards,
> > Saurabh
> >
> >
> >
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/discuss





More information about the Discuss mailing list