[ale] Driver question
John Mills
jmmills at telocity.com
Wed Sep 4 16:11:42 EDT 2002
On Wed, 4 Sep 2002, Geoffrey wrote:
> John Mills wrote:
> > On 4 Sep 2002, cfowler wrote:
> >>Can you tell me the best way to do division?
> >>A = b / c;
> >>I get the following unresolved symbol:
> >>/sbin/rocket.o: unresolved symbol __udivdi3
> > Long ago, in a galaxy far away, it was necessary to explicitly link the
> > math library: '-lm' -- could that be it?
> I think not, compiles fine for me. What kind of error are you getting?
That looks like a linker error, not a compilation error. You must have had
the right headers (since it compiled), but I wondered if you had missed
linking the library.
DISCLAIMER - I _wasn't_ doing it, just kibitzing and guessing it was an
old FAQ.
- John Mills
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list