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

Code doesnt compile from chapter 4 and beyond #5

Open
CUEngineer opened this issue Aug 19, 2024 · 0 comments
Open

Code doesnt compile from chapter 4 and beyond #5

CUEngineer opened this issue Aug 19, 2024 · 0 comments

Comments

@CUEngineer
Copy link

This code stops compiling after chapter 4, have tried by writing my own src code from scratch following the book and by directly compiling the provided source code, both fail the same way.

"
ld: scheduler.elf:(.bss+0x48): multiple definition of curr_sch_pid'; kernel.elf:(.bss+0x68): first defined here ld: scheduler.elf:(.bss+0x4c): multiple definition of next_process'; kernel.elf:(.bss+0x6c): first defined here
ld: warning: starter.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: 539kernel.elf has a LOAD segment with RWX permissions
make: *** [Makefile:16: build] Error 1
"

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