Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: more than one output file specified: arch/x86/start.o #169

Open
latenightz opened this issue Apr 26, 2021 · 1 comment
Open

fatal: more than one output file specified: arch/x86/start.o #169

latenightz opened this issue Apr 26, 2021 · 1 comment

Comments

@latenightz
Copy link

when running make run, I get

Building Kernel
make -C ./kernel
make[1]: Entering directory '/home/peepers/How-to-Make-a-Computer-Operating-System/src/kernel'
nasm   -f elf -o  -c arch/x86/start.asm -o  arch/x86/start.o
arch/x86/start.asm: fatal: more than one output file specified: arch/x86/start.o

make[1]: *** [Makefile:64: arch/x86/start.o] Error 1
make[1]: Leaving directory '/home/peepers/How-to-Make-a-Computer-Operating-System/src/kernel'
make: *** [Makefile:11: all] Error 2
@RichCini
Copy link

I had the same issue. You need to either edit /kernel/Makefile to remove the extra '-o' from the command line, or remove it from ASMFLAG in /kernel/arch/x86/config.make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants