<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<DEFANGED_META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<DEFANGED_META content="MSHTML 6.00.2900.2802" name=GENERATOR>
 <!-- <DEFANGED_STYLE> --> </DEFANGED_STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, I am trying hardly to convert a module of my 
own from Grass5.4 to Grass6.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>Apart the stuffs about sitelist format (not 
supported any more), I have a problem configuring the makefile, since the old 
one does not work actually.</FONT></DIV>
<DIV><FONT face=Arial size=2>I tried to steal ideas from "Module.make" file in 
the Grass6 Distribution files, but it happens a strange thing:&nbsp;intructions 
such as G_calloc and G_percent are compiled if in main.c ; but if they are in 
another source file, I have the error message "undefined regerence to '..'", for 
example</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>OBJ.grass60-linux-gnu/structs.o(.text+0x3b):/home/user/mysrc/rr046-b1/structs.c:18: 
undefined reference to `G_calloc'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can anyone help me, please?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Damiano</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:damiano.triglione@polimi.it">damiano.triglione@polimi.it</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>