Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

SharedLibs in Nano-X

Altera_Forum
Honored Contributor II
1,046 Views

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
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
315 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

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
0 Kudos
Reply