Tmsnc textbased (console) MSN client for Fox Board

This guide describes the steps to follow for cross-compile Tmsnc, it is a textbased (console) MSN client written in C, and is aviable from Fox Board.

 

TMSNC is a textbased (console) MSN client written in C. TMSNC should work on most Unix (Linux, BSD, MacOS) compatible operating systems. The goal of this project is to create a client like MSN Messenger but without any graphical features. These features make it ideal for the Fox Board.

 

 

The guide is referring to the Fox Board with kernel compiled with "Phrozen SDK made by John Crispin" offered by default from Acme System.
 
In order to cross-compile the application is necessary to have everything you need ready on your computer. To install the SDK under Linux or Windows may refer to one of the following methods: method 1 Linux e method 2 Win. In particular, this guide refers to a typical Linux installation, exactly Fedora 9. Therefore be used commands belonging to the Linux world, in case you have not yet acquired a good domestication with commands from a shell, is required reading some guida in the network.
 
Prepared everything you need, including the SDK, you must obtain the source code of Tmsnc. The program is under GNU license, source code is available for download from the homepage, generally these files are distributed in zipped archives, and we must continue with the decompression and the copy in a folder at our choice, to have everything all at your fingertips we can use this path /../devboard-R2_01/apps/NCurses, where with /../ refers to a generic path of your SDK. 
 
Before you can compile any source in general is important to resolve all the dependencies, in this case the program have two dependencies: the library NCurses compiled according to this guide and the library OpenSSL compiled from default to SDK, to proceed with the porting will be followed the next steps from shell Linux by typing carefully and where necessary replace /../ with your path: 


/..# cd  devboard-R2_01

/devboard-R2_01# .  init_env

/devboard-R2_01# cd  apps

/devboard-R2_01/apps/# cd Tmsnc

/devboard-R2_01/apps/Tmsnc# ./configure --build=i686-linux-gnu --host=cris-axis-linux-gnu --prefix=/../devboard-R2_01/apps/tmsnc2 --with-ncurses=/../devboard-R2_01/apps/ncurses2 --enable-rpath --with-openssl=/../devboard-R2_01/target/cris-axis-linux-gnu

/devboard-R2_01/apps/Tmsnc# make

/devboard-R2_01/apps/Tmsnc# make install

 

At this point if everything went well we have a chat program compiled and executable by Fox Board.

To create a custom kernel with preinstalled Tmsnc can proceed with the following steps:

 

/devboard-R2_01/apps/Tmsnc# cd ../..

/devboard-R2_01# cp /../devboard-R2_01/apps/ncurses2/lib /../devboard-R2_01/target/cris-axis-linux-gnu/lib

/devboard-R2_01# cp /../devboard-R2_01/apps/tmsnc/bin /../devboard-R2_01/target/cris-axis-linux-gnu/bin

/devboard-R2_01# make fimage

 

With the last command entered, we have added the shared libraries needed to Tmsnc to the kernel, now we can proceed with the flash of Fox Board bridge the two control pins on the Fox Board and typing:

 

/devboard-R2_01/apps/Tmsnc# ./boot_linux -F -i fimage

 

The last operation that remains to be done is to mount a device such as a Pen-Drive on the root, tmsnc write files in that path.

First we need to start a Telnet or SSH session to FoxBoard and proceed with the following command:

 

FoxBoard# mount /dev/sda /root -t vfat

 

Finally to run tmsnc, simply type via SSH or Telnet:

 

FoxBoard# tmsnc

 

otain the login screen as right picture.

 

 

N.B: recently for reasons unaware servers msn not accept connections from protocols that aren't live-messenger, when login Tmsnc warn us of an error on the protocol used. The compilation may be the same source of experience cross-compilation.

 

Login

Main Menu

Online

None
We have 81 guests online