[GRASS-user] g.extension not working

Hamish hamish_b at yahoo.com
Mon Aug 23 23:38:31 EDT 2010


Daniel wrote:
> Compiling a fresh svn checkout got rid of the [: 196 problem in
> g.extension

I guess that is thanks to the removal of a bash-ism in the shell script
(a == b instead of a = b). some distros (Ubuntu) now use /bin/dash for
/bin/sh instead of /bin/bash, so these things only show up on those
non-bash distros.


> but I still can't compile r.stream.order.
...
> >> OBJ.i686-pc-linux-gnu/main.o: In function `main':
> >>
> /home/daniel/grassdata/br_wgs84/jip/.tmp/xadrez/2602.0/r.stream.order/main.c:54:
> >> multiple definition of `springs'
> >>
> OBJ.i686-pc-linux-gnu/io.o:/home/daniel/grassdata/br_wgs84/jip/.tmp/xadrez/2602.0/r.stream.order/io.c:5:
> >> first defined here

Markus:
> > these need to be defined "extern" I think.
> > @Jarek - could you please fix this?
> >
> >> OBJ.i686-pc-linux-gnu/main.o: In function `main':
> >>
> /home/daniel/grassdata/br_wgs84/jip/.tmp/xadrez/2602.0/r.stream.order/main.c:54:
> >> multiple definition of `outlets'
> >>
> OBJ.i686-pc-linux-gnu/io.o:/home/daniel/grassdata/br_wgs84/jip/.tmp/xadrez/2602.0/r.stream.order/io.c:5:
> >> first defined here
> >
> > ... many more ...
> >
> >> collect2: ld returned 1 exit status
> >> make: ***


?,
Hamish



      


More information about the grass-user mailing list