You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jostein Christoffer Andersen <jo...@josander.net> on 2002/06/25 06:43:47 UTC

GCC 3.x and mod_dav_svn

Hi!

Have anyone managed to compile subversion-r2291 with GCC-3.1 or 
GCC-3.0.4?

The compilation fails when we comes to subversion/mod_dav_svn/liveprops.c  
(I include the beginning and end of errors):

----
subversion/mod_dav_svn/liveprops.c:102: parse error before 
"ap_text_header"
subversion/mod_dav_svn/liveprops.c: In function `dav_svn_insert_prop':
subversion/mod_dav_svn/liveprops.c:106: `resource' undeclared (first use 
in this function)
.
.
subversion/mod_dav_svn/liveprops.c:467: `what' undeclared (first use in 
this function)
subversion/mod_dav_svn/liveprops.c:467: `phdr' undeclared (first use in 
this function)
make: *** [subversion/mod_dav_svn/liveprops.lo] Error 1
----

I can't fix this because my C knowlegde is limited.

Thanks

Jostein

-- 

----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/

Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: GCC 3.x and mod_dav_svn

Posted by Faried Nawaz <fn...@hungry.org>.
Jostein Christoffer Andersen wrote:

  Have anyone managed to compile subversion-r2291 with GCC-3.1 or 
  GCC-3.0.4?

I've compiled it with 3.1 in FreeBSD-current with no problems.  I don't think
your problem has to do with gcc, though.  Which versions of apache 2 and
apr are you using?


Faried.
-- 
The Great GNU has arrived, infidels, behold his wrath !
If I wanted a GF,                Values, not variables.
   I'd use Dylan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: GCC 3.x and mod_dav_svn

Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On tirsdag 25 juni 2002, 10.50, Greg Stein wrote:

> Your Subversion source is out of date (with respect to Apache). Please
> update your SVN code and try again.
>
> (note that you can always build a client-only, grab sources, then
> build everything against a recent Apache)

Thanks!

Everything is okay again. Both Apache (cvs) and subversion (revision 
2330) compiled without problems with GCC-3.1 on my new Linux LFS box :-)

Jostein

-- 

----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/

Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: GCC 3.x and mod_dav_svn

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Jun 25, 2002 at 08:43:47AM +0200, Jostein Christoffer Andersen wrote:
> Hi!
> 
> Have anyone managed to compile subversion-r2291 with GCC-3.1 or 
> GCC-3.0.4?
> 
> The compilation fails when we comes to subversion/mod_dav_svn/liveprops.c  
> (I include the beginning and end of errors):
> 
> ----
> subversion/mod_dav_svn/liveprops.c:102: parse error before 
> "ap_text_header"

Your Subversion source is out of date (with respect to Apache). Please
update your SVN code and try again.

(note that you can always build a client-only, grab sources, then build
 everything against a recent Apache)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org