Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

cannot find -ldl

Altera_Forum
Honored Contributor II
823 Views

Hi, 

I use 

nios2gcc-20080203.tar.bz2 

and nios2-linux-20100621.tar 

to build uclinux,and they work well. 

 

But when I build my c and c++ files,I get a error: 

 

/usr/local/src/opt/nios2/bin/../lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/bin/ld.real: cannot find -ldl 

 

how can i solve that?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
102 Views

IIRC you can't link to "dl" (dynamic loader/linker(?)) on uclinux/uclibc. You'll have to take that out of your build. If your program relies on it (for some sort of plugins maybe?) it's not going to work.

Reply