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.

Expect library on uClinux

Altera_Forum
Honored Contributor II
863 Views

Hi everyone, 

I am copiling uClinux on CycloneIV. 

I need do run a script to connect to a router by ssh. For that, I have to use the library expect. 

 

So, in the make menuconfig, I selected Expect option (Applications -> Miscellaneous Applications). 

It selects TCL automatically, but despite of that, I have a mistake during the compilation : 

 

cp openssl.pc /home/marius/nios2-linux/uClinux-dist/staging/usr/lib/pkgconfig 

chmod 644 /home/marius/nios2-linux/uClinux-dist/staging/usr/lib/pkgconfig/openssl.pc 

make[4]: leaving directory « /home/marius/nios2-linux/uClinux-dist/lib/libssl/openssl-0.9.8k » 

make[3]: leaving directory « /home/marius/nios2-linux/uClinux-dist/lib/libssl » 

make[2]: leaving directory « /home/marius/nios2-linux/uClinux-dist/lib » 

make[1]: *** [all] Erreur 2 

make[1]: leaving directory « /home/marius/nios2-linux/uClinux-dist/lib » 

make: *** [subdirs] Erreur 1 

 

So, I suppose that TCL needs another module, but I don't know which one. 

Does somebody have the solution ? 

Thanks ! 

Marius.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
93 Views

What about libssl ? you have to select it in library in "uClinux application" configuration during the "make menuconfig".

Altera_Forum
Honored Contributor II
93 Views

LibSSL was selected already. 

So, I suppose that TCL needs something else...
Altera_Forum
Honored Contributor II
93 Views

I found an explanation : TCL library calls fork(). 

fork() needs an MMU, and I don't have in my nios. 

 

Does somebody has another idea to do an automatic ssh connection without MMU ?
Reply