davidcallanan / os-series

820 stars 120 forks source link

Makefile wont run #53

Open Grimgrams opened 3 years ago

Grimgrams commented 3 years ago

whenever i run the make build-x86_64 command i get this this message

mkdir -p dist/x86_64 && \ x86_64-elf-ld -n -o dist/x86_64/kernel.bin -T targets/x86_64/linker.ld && \ cp dist/x86_64/kernel.bin targets/x86_64/iso/boot/kernel.bin && \ grub-mkrescue /usr/lib/grub/i386-pc -o dist/x86_64/kernel.iso targets/x86_64/iso /usr/local/bin/x86_64-elf-ld: no input files Makefile:10: recipe for target 'build-x86_64' failed make: *** [build-x86_64] Error 1

Everything in the make file I'm pretty sure is exactly the same as the one in the video. Does anyone know what went wrong?

ashp0 commented 3 years ago

try removing the && \ from the makefile. it will be easier for me

sacreative10 commented 3 years ago

Refer to issue #1, which should help you out.

ghost commented 2 years ago

Issue 1 doesnt solve this problem, can someone please try answer?

davidcallanan commented 2 years ago

What operating system?

y0zong commented 2 years ago

I hit the same error, in my case it's cuz usage of find in Mac OS is little different, simply change find src/impl/x86_64 -name *.asm to find src/impl/x86_64 -name "*.asm" (" is needed)

himanshunanda22 commented 1 year ago

make: *** No rule to make target 'build-x86_64'. I'm getting this error can anyone help with this