Code Monkey home page Code Monkey logo

Comments (9)

fido2020 avatar fido2020 commented on September 13, 2024

libgcc_s.so should be a symlink, what does it point to?

from lemonos.

pdpdds avatar pdpdds commented on September 13, 2024

root@darkx-VirtualBox:# cd /root/.local/share/lemon/x86_64-lemon/lib/
root@darkx-VirtualBox:
/.local/share/lemon/x86_64-lemon/lib# ls
libgcc_s.so
root@darkx-VirtualBox:~/.local/share/lemon/x86_64-lemon/lib#

from lemonos.

fido2020 avatar fido2020 commented on September 13, 2024

Try readlink -f ~/.local/share/lemon/x86_64-lemon/lib/libgcc_s.so

from lemonos.

pdpdds avatar pdpdds commented on September 13, 2024

root@darkx-VirtualBox:~/.local/share/lemon/x86_64-lemon/lib# readlink -f /.local/share/lemon/x86_64-lemon/lib/libgcc_s.so
/root/.local/share/lemon/x86_64-lemon/lib/libgcc_s.so.1
root@darkx-VirtualBox:
/.local/share/lemon/x86_64-lemon/lib#

from lemonos.

fido2020 avatar fido2020 commented on September 13, 2024

ok so libgcc_s.so.1 does not exist, try find ~/.local/share/lemon -name libgcc_s.so.1, if that does not work are you sure the build succeeded?

from lemonos.

pdpdds avatar pdpdds commented on September 13, 2024

only fact i know is that build was processed. and after 10-20 miniutes, last error message was "cp: '/root/.local/share/lemon/x86_64-lemon/lib/libgcc_s.so' There are no such files or directories". i will try build again and i will look out whether error message exists. thanks.

from lemonos.

pdpdds avatar pdpdds commented on September 13, 2024

i found error message as you say.

/home/Lemon-OS/Toolchain/build-gcc/./gcc/collect-ld: 106: exec: -shared: not found
collect2: error: ld returned 127 exit status
Makefile:989: recipe for target 'libgcc_s.so' failed
make[1]: *** [libgcc_s.so] Error 1

What should I do?

from lemonos.

pdpdds avatar pdpdds commented on September 13, 2024

I tried build in WSL2 finally.
below is error message.
......
/home/darkx/.local/share/lemon/x86_64-lemon/bin/ar rc libgcov.a $objects
/home/darkx/.local/share/lemon/x86_64-lemon/bin/ranlib libgcov.a
/home/darkx/.local/share/lemon/x86_64-lemon/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:994: libgcc_s.so] Error 1
.....

i think i have proceed as build instruction.

from lemonos.

fido2020 avatar fido2020 commented on September 13, 2024

Sorry it has been over a month now, however this has been because I was in the middle of switching to an LLVM/Clang toolchain and now Lemon can be built with docker which should make building much quicker and easier, so I am going to close the issue now.

from lemonos.

Related Issues (20)

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.