A linux compile problem:
Angus Carr
apcarr at flash.Lakeheadu.Ca
Thu Apr 3 09:41:39 EST 1997
Your libraries are not in the correct order in the makefile.
Have a look through for $(GISLIB) and other similar things in the
makefile.
I seem to recall they belong after the object files, but I could be wrong.
The errors you are getting, by the way, are linker errors.
Angus Carr,
Masters of Forestry student
On Wed, 2 Apr 1997, J. HOLLENBECK wrote:
>
> Hello Grass users-
> I am not well versed in programming or even compiling so please
> forgive me is this is a simple problem...
>
> I cannot get anything to compile. I get the following messages: (example)
>
> .
> .
> .
> OBJ.linux/draw_site_label.o: In function `draw_site_label':
> OBJ.linux/draw_site_label.o(.text+0x15): undefined reference to
> `R_move_abs'
> OBJ.linux/draw_site_label.o(.text+0x22): undefined reference to
> `R_text_size'
> OBJ.linux/draw_site_label.o(.text+0x28): undefined reference to
> `R_standard_color'
> .
> .
> .
> OBJ.linux/draw_site_label.o(.text+0x103): more undefined references to
> `G_define_option' follow
> .
> .
> .
> make: *** [/usr/grass/etc/bin/alpha/cmd/d.sites.label] Error 1
>
> I get the same kind of error messages for any grass related compilation.
> Any suggestions as to what may be wrong? Thanks in advance,
>
>
> Jeff Hollenbeck
> Dept. of Fishery and Wildlife Science
> New Mexico State University
> jhollenb at nmsu.edu
>
>
>
More information about the grass-user
mailing list