AlanJarvis
Posts: 2
Joined: Sat Nov 10, 2012 7:36 pm

Baking Pi

Sat Nov 10, 2012 7:44 pm

I'm trying to follow the Cambridge Uni Baking Pi on-line course on OS developed but I'm stuck on the first lesson, I cannot 'make' my OS, when I run the make program I get an error:

make (e=2): the system cannot find the specified file.

I'm using the makefile script provided and I get the same error if I try the solution files provided by Cambridge Uni, I'm sure its something simple but I can see what it is.

Any ideas?

Alan

bgirardot
Posts: 518
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland

Re: Baking Pi

Sat Nov 10, 2012 11:19 pm

Are you in the correct directory when you type make?
Open a terminal on your computer and change the current working directory to the parent directory of the source directory. Type make and then press enter.
Just thought I would ask, as it sounds simple to miss.

AlanJarvis
Posts: 2
Joined: Sat Nov 10, 2012 7:36 pm

Re: Baking Pi

Sun Nov 11, 2012 10:10 am

Yes I think so, I downloaded the Template they provide into C:\pios\template then I saved the main.s in the the c:\pios\template\source folder and run the make command from the template folder.

bgirardot
Posts: 518
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland

Re: Baking Pi

Sun Nov 11, 2012 2:07 pm

I see it is make reporting the error?

Does make product any other text?

Some searching for that exact error message in google with quotes around it seems to indicate maybe it is a path variable problem. Not sure what OS you are using to build the project, but if you search google you might find some good suggestions for fixing, some seem platform or tool specific.

tufty
Posts: 1456
Joined: Sun Sep 11, 2011 2:32 pm

Re: Baking Pi

Sun Nov 11, 2012 3:57 pm

Sounds an awful lot like path issues.

You'll get loads more help in the bare metal forum, too.

Simon.

Return to “General discussion”