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

make: *** [Makefile:10: kernel.bin] Error 1 #244

Open
vuk5002 opened this issue May 12, 2022 · 0 comments
Open

make: *** [Makefile:10: kernel.bin] Error 1 #244

vuk5002 opened this issue May 12, 2022 · 0 comments

Comments

@vuk5002
Copy link

vuk5002 commented May 12, 2022

I cannot get kernel.bin to compile in any way
tried on windows with wsl ld -o kernel.bin -Ttext 0x1000 kernel_entry.o kernel.o --oformat binary
and first time it worked, but another time
ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000
ld: kernel.o: in function main': kernel.c:(.text+0xe): undefined reference to clear_screen'
ld: kernel.c:(.text+0x24): undefined reference to `kprint_at'

any help??

Update: error is coming from ld -o kernel.bin -Ttext 0x1000 kernel_entry.o kernel.o --oformat binary and it gives me
kernel_entry.o: file not recognized: File format not recognized but kernel_entry.o is there

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

1 participant