> From: Ariel Barreiro [mailto:[EMAIL PROTECTED]]
> 
> Link Error   : SampleLib.c: '__ldivu__' referenced from
> 'SampleLibDrawRectangle' is undefined.
> 
> What I realized or guess is that the compiler is calling a 
> dividing function due to the / operand

Right, the __ldivu__() runtime function is how Metrowerks implements that
math operation.  Just add the regular runtime library StartupCode.lib to
your project and then it should link fine.

-slj-

Reply via email to