Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Makefile error concerning board_given.c

0 views
Skip to first unread message

Munro Patrick

unread,
Apr 2, 2004, 11:32:49 PM4/2/04
to
When I try to make my program, I get errors concerning the math functions
called in board_given.c. When I write math.h into my makefile, it asks for
math.h to be supplied in that folder. Is there a way around this, as in,
how do I include math.h, or do I simply need to add it to the folder?
Thanx,
Patrick

Alexander Smith

unread,
Apr 2, 2004, 11:46:53 PM4/2/04
to
You never need to include system libraries in your Makefile. For the
dependencies, you only need to mention files you've written. (Or in this
case, some of them will be files we've written.)

Alexander

Munro Patrick

unread,
Apr 3, 2004, 1:50:20 PM4/3/04
to
I see. Well, how would I go about resolving these errors then:

/dir/board_given.c:146: undefined reference to 'log'

Also for 'floor' and 'pow'.
Thanx
Patrick

Alexander Smith

unread,
Apr 3, 2004, 2:36:37 PM4/3/04
to
I already answered this question on March 26. Look back through the
newsgroup postings from that day.
0 new messages