[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.8.0 build problem on Solaris Sparc using gcc

From: Alexander Thomas <alexander_at_collab.net>
Date: Mon, 24 Jun 2013 23:25:59 +0530

On Thursday 20 June 2013 09:22 PM, Rainer Jung wrote:
> 1.8.0 calls gcc with -std=c90. For my Solaris 10 Sparc using gcc 4.7.2
> this leads to "_STRICT_STDC" getting defined and then limits.h no longer
> defines PATH_MAX. So apr.h bombs out during compile with:
>
> #error no decision has been made on APR_PATH_MAX for your platform
>

I had the same problem in Solaris SPARC with gcc 3.4.6, which I fixed
with "-DPATH_MAX=1024".

> Adding e.g. "EXTRA_CPPFLAGS = -D__EXTENSIONS__" fixes on my platform.
>
"-D__EXTENSIONS__" was my initial workaround, but this tends to fails
later while compiling bindings (IIRC).

-- 
Alexander Thomas (AT) <alexander_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-06-24 19:56:49 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.