OZONE Asylum
Forums
OZONE
Problems building C
This page's ID:
29707
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I'm trying to build this: http://kociemba.org/cube.htm (Click on "Download", then towards the bottom there's [url=http://kociemba.org/optiqtmSrc.zip]a link to the C source[/url].) I extracted it and the tried running "make", but I didn't have gcc installed. So, I installed gcc (via Synaptic Package Manager) and tried again, and got this: [code]server:/home/zavaboy/Desktop/Downloads/cube explorer# make gcc -O3 -Wall -c cubiecube.c cubiecube.c:4:20: error: string.h: No such file or directory cubiecube.c:5:19: error: ctype.h: No such file or directory cubiecube.c: In function ?stringToCubieCube?: cubiecube.c:214: warning: implicit declaration of function ?strstr? cubiecube.c:214: warning: incompatible implicit declaration of built-in function ?strstr? cubiecube.c:215: error: ?NULL? undeclared (first use in this function) cubiecube.c:215: error: (Each undeclared identifier is reported only once cubiecube.c:215: error: for each function it appears in.) cubiecube.c:216: warning: implicit declaration of function ?strlen? cubiecube.c:216: warning: incompatible implicit declaration of built-in function ?strlen? cubiecube.c:219: warning: implicit declaration of function ?toupper? make: *** [cubiecube.o] Error 1[/code] I don't understand why I'm getting all that. I don't even know what half of it means. Somebody please explain this and possibly give a solution. [url=http://www.zavaboy.com][img]http://asylum.zavaboy.com/zavaboy.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »