Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
820 Views

Expect library on uClinux

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 I
50 Views

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

Altera_Forum
Honored Contributor I
50 Views

LibSSL was selected already. 

So, I suppose that TCL needs something else...
Altera_Forum
Honored Contributor I
50 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