Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

SharedLibs in Nano-X

Hello,

I would like to use SharedLibs in MicroWindows Librairies options, but during the compilation I had this error:

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>/opt/nios2/bin/nios2-linux-uclibc-ld.real: -shared not supported</div>

Why? What is the solution?

Thanks for your help.

Chris

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The current "NIOS2nommu" architecture does not support shared libraries. The upcoming MMU-enabled full-Linux "NIOS2" architecture will support shared libraries.

    But anyway, I am happily using NANO-X without shared libraries.

    -Michael
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks Michael.

    Other question, is it possible to have a web browser with only 16MB RAM memory?

    Because when I start uClinux, I have only 8MB free memory and Links doesn&#39;t start. (page allocation problem)

    And when I use a small zImage (without graphics drivers for exemple) I have 10MB free memory, I can start Links but when I want open an url, I have a problem => ERROR: out of memory...

    Thanks

    Chris
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I suppose you are speaking of a graphical web browser. A text based browser should be no problem, but graphical: I don&#39;t know.

    -Michael
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok, now, browser Links starts in text mode without problems.

    But in graphical mode, I had a problem with DirectFB lib

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>

    > links -g

    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~

    © 2001-2008 The world wide DirectFB Open Source Community

    © 2000-2004 Convergence (integrated media) GmbH

    ----------------------------------------------------------------

    (*) DirectFB/Core: Single Application Core. (2009-07-08 08:37)

    (!) DirectFB/core/system: No system found!

    Could not initialize any graphics driver. Tried the following drivers:

    directfb:

    No (suitable) implementation found!</div>

    Did you have this problem Michael?

    Thanks for your help

    Chris
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Right now I am working on another branch (without a framebuffer enabled), so I can&#39;t check into this easily. I&#39;ll do so when this branch is successfully finished.

    I seem to remember that there had been a discussion on DirectFB, here, but, alas, all seems to be lost....

    -Michael