[GRASS-dev] d.thematic.area: need for a bit
of help in C-programming/debugging
Moritz Lennert
mlennert at club.worldonline.be
Tue Jul 29 12:34:29 EDT 2008
On 29/07/08 15:40, Glynn Clements wrote:
> Moritz Lennert wrote:
>
>>> > To use it, you need to link the program with -lmcheck (this ensures
>>>> that mcheck() is called before the first malloc()),
>>> Sorry, need some help on this one. Tried adding -lmcheck to CFLAGS1 in
>>> include/Make/Platform.make, but get the following during compilation:
>>>
>>> gcc: -lmcheck: linker input file unused because linking not done
>>>
>>> How do I link ?
>>
>> Duh, obviously this message appears only each of the individual .c
>> files. Linking is done afterwards...
>>
>> Sorry for the noise,
>
> Actually, I should have said LINK_FLAGS rather than CFLAGS1.
Yes, found that one out in the meantime. I seem to have narrowed the
problem down to a particular pointer, but haven't had the time to see
where exactly it overflows.
Thanks!
Moritz
More information about the grass-dev
mailing list