Git Product home page Git Product logo

Comments (12)

debarkak avatar debarkak commented on June 2, 2024 1

@vinsdragonis After running build.sh in sudo it worked!

Thanks for solving this issue! I will close this issue now...

from noobos.

vinsdragonis avatar vinsdragonis commented on June 2, 2024

Could you try the same command after manually creating a directory called bin in the root directory of the project?

from noobos.

debarkak avatar debarkak commented on June 2, 2024

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:

image

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.

XanuduBuster avatar XanuduBuster commented on June 2, 2024

@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.

vinsdragonis avatar vinsdragonis commented on June 2, 2024

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.

debarkak avatar debarkak commented on June 2, 2024

Ok I will try again...

from noobos.

debarkak avatar debarkak commented on June 2, 2024

@vinsdragonis still fail :(

image

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.

debarkak avatar debarkak commented on June 2, 2024

I cloned the repo again with new files but it still fails...

from noobos.

vinsdragonis avatar vinsdragonis commented on June 2, 2024

@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.

vinsdragonis avatar vinsdragonis commented on June 2, 2024

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.

debarkak avatar debarkak commented on June 2, 2024

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.

debarkak avatar debarkak commented on June 2, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.