Comments (12)
@vinsdragonis After running build.sh in sudo it worked!
Thanks for solving this issue! I will close this issue now...
from noobos.
Could you try the same command after manually creating a directory called bin in the root directory of the project?
from noobos.
After creating the folder bin
then running build.sh
again I got more errors now I guess or more things happened but it still fails... Here is the log in pic and text:
ld: warning: ./bin/kernel.bin has a LOAD segment with RWX permissions
ld: kernel.o: in function `kernel_main':
kernel.c:(.text+0x86): undefined reference to `__stack_chk_fail_local'
ld: ./bin/kernel.bin: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: bad value
qemu: could not open kernel file './bin/kernel.bin': No such file or directory
from noobos.
@Debarka-Kundu I think it has some permission issues as the first warning by ld said LOAD segment with RWX permissions
so I think there is some issues with permission...
from noobos.
There seems to be a slight issue with the keyboard module in addition to the same. The files have been updated to stop using the keyboard module until it is properly tested. Give it a try now.
from noobos.
Ok I will try again...
from noobos.
@vinsdragonis still fail :(
ld: cannot open output file ./bin/kernel.bin: No such file or directory
qemu: could not open kernel file './bin/kernel.bin': No such file or directory
from noobos.
I cloned the repo again with new files but it still fails...
from noobos.
@Debarka-Kundu are you sure you have QEMU and ld installed? Because I have noticed in some cases, when you clone a repo that relies on QEMU freshly, you may need to reinstall it again in that new directory.
This may have happened with me and a few other users, but do check it once.
from noobos.
I had a look at the problem, and it doesn't seem to be a dependency issue. Apparently, there were some loosely coupled files in one of our previous commits, which had been commented out due to erroneous results. But since that didn't solve the issue, I have removed them and it seems to work fine now.
And if you are using VS Code terminal, you may need sudo permissions to run build.sh
from noobos.
Okay I will try to run the build.sh in sudo and yes I have ld and qemu installed because I use those
from noobos.
@vinsdragonis After running build.sh in sudo it worked!
Thanks for solving this issue! I will close this issue now...
from noobos.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noobos.