Post the actual error message. The part of the error you've posted is not enough.
Also I guess you've ignored my post, so I have to repeat it:
Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.
Oh, but I didn't ignore your post.
I've been building everything I could.
I built the hunspell package. The gamin package I didn't have to build; I just installed it.
After that it configured nicely, but then when I went to make it, I got what you just saw.
The dump is too big for me to post here; it's even too big to put in an attachment (217kb).
What is this error supposed to look like? I did a grep for "err" ignoring case and all I got was what I posted. There are a lot of undefined references; as if it just can't find something.
Some of them are "undefined reference to" wxTrap(), wxTranslations(), wxBaseArrayInt(), wxCommandEvent(), etc.