davidcallanan / os-series

825 stars 121 forks source link

Error: make: *** No rule to make target 'build-x86-64'. Stop. #62

Closed ecouter closed 2 years ago

ecouter commented 2 years ago

I used the fixes of previous post... still does not work. Im using powershell on windows 10.

PS D:\os from scratch> docker run --rm -it -v "${pwd}:/root/env" myos-buildenv root@fba4114d7ae2:~/env# make build-x86-64 make: *** No rule to make target 'build-x86-64'. Stop.

ecouter commented 2 years ago

Little update... I tried to do it on fedora with no sucess, it always show me the same error.

PS: In linux I tried with docker and with native linux. Both shared me the same error.

GiveMeFox commented 2 years ago

same issue

davidcallanan commented 2 years ago

Does using $PWD instead of $(pwd) fix the problem?

GiveMeFox commented 2 years ago

yes thank you

davidcallanan commented 2 years ago

@SadPersonn Great, I will make an update for that.

taldb commented 2 years ago

try to change the name of the MakeFile to makefile

mharleyaz commented 2 years ago

Try replacing the curly braces around ${pwd} with parens. Also, the target is: build-x86_64; underscore between the x86 and the 64. I have had no issues with it.

DavidCallanan: Awesome tutorial! I am greatly looking forward to the next installment! (I assume there is one coming in the future since you are recently active here). You have a real gift for making complex topics approachable by us mere mortals. Well done!

ecouter commented 2 years ago

https://github.com/davidcallanan/os-series/issues/62#issuecomment-999621387 Solved my problem. Thanks !!!