os-series icon indicating copy to clipboard operation
os-series copied to clipboard

Makefile wont run

Open Grimgrams opened this issue 3 years ago • 6 comments

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?

Grimgrams avatar Aug 10 '21 00:08 Grimgrams

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

ashp0 avatar Aug 11 '21 11:08 ashp0

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

sacreative10 avatar Aug 23 '21 21:08 sacreative10

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

ghost avatar Nov 28 '21 22:11 ghost

What operating system?

davidcallanan avatar Dec 20 '21 17:12 davidcallanan

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)

y0zong avatar May 31 '22 07:05 y0zong

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

himanshunanda22 avatar Apr 07 '23 14:04 himanshunanda22