[GRASS5] Script to build babyGRASS for handhelds

Glynn Clements glynn.clements at virgin.net
Tue Apr 30 13:40:39 EDT 2002


Markus Neteler wrote:

> meanwhile we have compiled a binary version for iPAQ on
> the skiff-cluster (I fixed some bugs in my script).
> Only one lib cannot be compiled, the gcc crashes:
> 
> gcc -shared -o
> /home/guest/stankovic at itc.it/babyGRASS_src/src/libes/libgrass_dig_atts.so.5.0.0
> /home/guest/stankovic at itc.it/babyGRASS_src/src/libes/dig_atts/atts_init.o
> /home/guest/stankovic at itc.it/babyGRASS_src/src/libes/dig_atts/read_att.o
> /home/guest/stankovic at itc.it/babyGRASS_src/src/libes/dig_atts/write_att.o
> -L/home/guest/stankovic at itc.it/babyGRASS_src/src/libes
> -Wl,-rpath-link,/home/guest/stankovic at itc.it/babyGRASS_src/src/libes -s
> -lgrass_gis && ln -sf libgrass_dig_atts.so.5.0.0
> /home/guest/stankovic at itc.it/babyGRASS_src/src/libes/libgrass_dig_atts.so
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped

I can only presume that something has triggered a bug in the linker.

The only thing which I can suggest is editing src/libes/dig_atts/makefile
and mk/mid.mk to make the dig_atts library a static library.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list