[GRASSLIST:7372] Re: r.terraflow fails to build
Tom Colson
tom_colson at ncsu.edu
Wed Jun 29 09:49:46 EDT 2005
Belay that: cvs update fixed whatever was bothering the patch code.
thanks for the pointer to the patch. is there a list of patches that are
being put out by Brad?
On Wed, 2005-06-29 at 09:19 -0400, Tom Colson wrote:
> How does one apply this (and other) patches?
>
> [root at localhost r.terraflow]# patch IOStream/include/replacementHeap.h
> r.terraflow.pat
> patching file IOStream/include/replacementHeap.h
> Hunk #1 FAILED at 152.
> 1 out of 1 hunk FAILED -- saving rejects to file
> IOStream/include/replacementHeap.h.rej
> can't find file to patch at input line 34
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: IOStream/include/replacementHeapBlock.h
> |===================================================================
> |RCS
> file: /grassrepository/grass6/raster/r.terraflow/IOStream/include/replacementHeapBlock.h,v
> |retrieving revision 2.0
> |diff -u -r2.0 replacementHeapBlock.h
> |--- IOStream/include/replacementHeapBlock.h 9 Nov 2004 13:30:45
> -0000 2.0
> |+++ IOStream/include/replacementHeapBlock.h 15 Jun 2005 12:18:41
> -0000
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> grasslist at baylor.edu
>
>
> On Wed, 2005-06-29 at 15:40 +1200, Hamish wrote:
> > On Tue, 28 Jun 2005 15:42:06 -0400 (EDT)
> > "Thomas Colson" <tom_colson at ncsu.edu> wrote:
> >
> > > latest from cvs:
> > >
> > > [root at localhost r.terraflow]# make
> > > Makefile:78: warning: overriding commands for target `clean'
> > > ../../include/Make/Rules.make:35: warning: ignoring old commands for
> > > target `clean'
> > > mkdir -p OBJ.x86_64-unknown-linux-gnu/FLOAT ; true
> > > mkdir -p OBJ.x86_64-unknown-linux-gnu/SHORT ; true
> > > c++ -c -g -O2 -I./IOStream/include -DUSER=\"root\" -DNODATA_FIX
> > > -D_FILE_OFFSET_BITS= 64 -I/dls/grass/grass6/include -DELEV_FLOAT main.cc
> > > -o OBJ.x86_64-unknown-linux-gnu/ FLOAT/main.o
> > > ./IOStream/include/replacementHeap.h:155: error: invalid use of
> > > constructor as a tem plate
> > > ./IOStream/include/replacementHeap.h:155: note: use _ReplacementHeap<T,
> > > Compare>::Re placementHeap_ instead of _ReplacementHeap<T,
> > > Compare>::ReplacementHeap<T, Compare>_ to name the constructor in a
> > > qualified name
> > > ./IOStream/include/replacementHeapBlock.h:161: error: invalid use of
> > > constructor as a template
> > > ./IOStream/include/replacementHeapBlock.h:161: note: use
> > > _ReplacementHeapBlock<T, Co mpare>::ReplacementHeapBlock_ instead of
> > > _ReplacementHeapBlock<T, Compare>::Replacem entHeapBlock<T, Compare>_ to
> > > name the constructor in a qualified name
> > > make: *** [OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o] Error 1
> > >
> > >
> >
> > I see 64 bitness; is this GCC 4.0?
> >
> > a patch was already posted:
> >
> > http://grass.itc.it/pipermail/grass5/2005-June/018638.html
> >
> >
> >
> >
> > Hamish
>
More information about the grass-user
mailing list