I was thinking that the multi-segment gurus might be getting tired of the
repeated posts on the woes of multi-segmented code. Could somebody point me
to some good solid source code examples that implement multiple segments
using PRC-Tools? I'm sure I'm just missing something simple and have been
trying too hard to find a small problem. If I could get my hands on some
working code, it would be really helpful. I've already searched the
archives for this list, Palm's knowledge base, PRC-Tools documentation,
manuals for gcc/multigen/build-prc/etc as well as faqs on falch.net. I've
found lots of great stuff, but I'm still stuck with code not being able to
see functions in other segments ("undefined reference to '__text__foobar'"
or "undefined reference to '__text__'"), even though I have extern function
declarations where they need to be (I think...)
I don't want to waste anybody's time so any help at all would be greatly
appreciated!
Thanks again,
Eddie
I was looking over my post and thought I ought to post my makefile along
with it...
# pretty much taken from Lonnon Foster's book # the fixes to the "newer"
style for build-prc and a few other ditties have been added VERSION=1.0
APP=myMain ICONTEXT="My Main"
...blah
That's it... I'm thinking I've just declared my functions wrong or
something simple that I can't see.
Thanks again!
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/