DEV Community

Discussion on: Writing My Own Boot Loader

Collapse
 
liam824css profile image
liam824css

makefile is error
my os is ubuntu and how makefile start?
console:makefile:9: *** missing separator. Stop.
why?

Collapse
 
frosnerd profile image
Frank Rosner

I wrote the makefile on Mac. Never tested it on Ubuntu :)

Collapse
 
liam824css profile image
liam824css

Please test the makefile in Ubuntu and create a new makefile for Ubuntu in the repository.

Thread Thread
 
frosnerd profile image
Frank Rosner

Why don't you do it?

Thread Thread
 
seanld profile image
Sean Wilkerson • Edited

For anyone else following along getting this error, a quick Google shows that makefiles do not like spaces for tabs. So you have to convert all spaced indents to tabbed indents before running make.

Source: stackoverflow.com/questions/169317...

Thread Thread
 
frosnerd profile image
Frank Rosner

Cool! Happy to accept a PR if that helps folks :)