Problem with program dig_P_area_att() in the DIG library

James A. Farley jim at moray.uark.edu
Sat Feb 8 22:18:17 EST 1992


> 
> 
> 
> Hi.
> 
> I have a problem in using one of the routines in the DIG library. (GRASS4.0)
> I used the routine
> 
> 		dig_P_area_att(map,area)
> 
> in a program. The #include files were
> 		gis.h
> 		digit.h
> 		dig_head.h
> 		dig_defines.h
> 		dig_structs.h
> 		V_.h
> 
> The rest of the program compiled fine, but the loader gave an error message:
> 		ld: undefined symbol
> 		_dig_P_area_att
> The program compiled fine when I commented out this routine.
> 
> I went through the various library files: src/mapdev/Vlib , diglib, etc.
> The only reference to this function was in file frontend . I do not see what
> went wrong.
> 
> Could someone please comment on this? 
> Thanks.
> 
> -Raj
> 
> MOBILE AND PORTABLE RADIO
>   RESEARCH GROUP
> Dept. of Electrical Engg.
> VPI&SU
> 
> rajguruc at vttcf.cc.vt.edu
> raj at mprg1.mprg.ee.vt.edu
> (703) 231-4160
> 

I believe the call V2_get_area(&Map,area) will work as well. I think this is
the 4.0 equivalent of dig_P_get_area. The code is in $SRC/mapdev/Vlib/
level_two.c.

jim farley



More information about the grass-dev mailing list