[GRASSLIST:354] grass libraries

Ana Soares tiobrothercamarada at gmail.com
Fri Mar 24 07:30:04 EST 2006


Hello

I have problems compiling a program that uses gis library (and yes I have
all the includes right, I think I'm missing some package that I have to
install).
Here's what happens :

gcc -c utils.c
gcc -c -I /usr/lib/grass/include db_mg.c
gcc -c session.c
gcc -c -I /usr/lib/grass/include -L/usr/local/grass6/lib main.c
gcc -o prot1 utils.o db_mg.o session.o main.o -lreadline -lcurses
-lgrass_gis
/usr/bin/ld: cannot find -lgrass_gis
collect2: ld returned 1 exit status
make: *** [prot1] Error 1

so I don't have grass_gis.... What must I do to get this fixed ?

Thanks :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060324/8a9a938d/attachment.html


More information about the grass-user mailing list