Error building Grass 7: diglib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error building Grass 7: diglib

Eric Patton
I was building a fresh checkout of Grass 7 from svn this morning,
revision 37538, and ran across the following error:

$ cat error.log
iGRASS GIS compilation log
-------------------------
Started compilation: Wed May 27 10:12:57 ADT 2009
--
Errors in:
/usr/local/grass_trunk/lib/vector/diglib
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed May 27 10:19:23 ADT 2009

Then I changed to lib/vector/diglib, make clean, and make:

$ make

<snip>

make[1]: Entering directory `/usr/local/grass_trunk/lib/vector/diglib'
echo "==============TEST============="
==============TEST=============
gcc -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include  -g -O2   -fPIC -I/usr/local/include  -D_FILE_OFFSET_BITS=64 -L/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib   -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include  -o OBJ.x86_64-unknown-linux-gnu/test test.c -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_rtree \
                                -lgrass_gis -lgrass_datetime -lz     -lgrass_datetime -lm  -lz  
cd OBJ.x86_64-unknown-linux-gnu; LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:/usr/local/grass-7.0.svn/lib:/usr/local/grass-6.5.svn/lib:/usr/local/grass-6.4.svn/lib:/usr/local/grass-6.3.1/lib:/usr/local/IVS/lib::/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib" ./test; diff ./test.tmp ../test64.ok
./test: symbol lookup error: ./test: undefined symbol: dig__fwrite_port_O
Binary files ./test.tmp and ../test64.ok differ
make[1]: *** [OBJ.x86_64-unknown-linux-gnu/test] Error 2
make[1]: Leaving directory `/usr/local/grass_trunk/lib/vector/diglib'
make: *** [default] Error 2

A symbol lookup error on  dig__fwrite_port_O; and ideas on this one?

--
Eric Patton
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Error building Grass 7: diglib

Eric Patton
Eric Patton wrote:

> I was building a fresh checkout of Grass 7 from svn this morning,
> revision 37538, and ran across the following error:
>
> $ cat error.log
> iGRASS GIS compilation log
> -------------------------
> Started compilation: Wed May 27 10:12:57 ADT 2009
> --
> Errors in:
> /usr/local/grass_trunk/lib/vector/diglib

Disregard; I think Martin's latest commits have fixed the error. At any
rate, I can't reproduce the error anymore.

--
Eric Patton
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user