os-series
os-series copied to clipboard
Makefile wont run
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?
try removing the && \
from the makefile. it will be easier for me
Refer to issue #1, which should help you out.
Issue 1 doesnt solve this problem, can someone please try answer?
What operating system?
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)
make: *** No rule to make target 'build-x86_64'. I'm getting this error can anyone help with this