[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using user programs in MiniRTL



Hello again :

	I send you this e-mail to explain how your solution jobs. In my development 
computer I have libvga.so.1.4.0 and libm.so.6 
I downloaded from the FTP adress which you gave me the libvga.so.1.3.0 and 
libm.so.6. Then I applied these libraries to MiniRTL
an I tried to run my applications. These applications have two parts :

	Application 1 : A client/server structure which uses TCP/IP protocols.
	Application 2 : A RT modules and a user program which communicates with the 
RT module.

	Only the client of appli1 and the user program of appli2 uses libvga. The RT 
module and the server of appli1 don't use it.
	When I try to run these 4 programs in MiniRTL I obtain the next results (In 
my development computer all these programs job correctly):

	Appli 1 : Client   ->   Segmentation Fault
	Appli 1 : Server   ->   Segmentation Fault
	Appli 2 : RT module   -> It jobs well
	Appli 2 : User Program   -> Segmentation Fault

	Theremore, I have other question. When I run these programs I need type 
./Program.If I don't type it and I type only Program, then miniRTL returns 
Program : Not found.
Howewer, when I try to run other programs as hello I should type only hello. 
If I type ./hello miniRTL returns Segmentation Fault.
        I only think in two solutions :
        - I need the same version of libraries in MiniRTL and the development 
computer ? How should I do this ?
        - It is a problem of the other libraries.

	I send you one of my programs server.c of apli1 and the user program of apli2 
for try to help you.

        I ask these problems to you because I think that it's a dificult 
problem to solve for a person who uses Linux for 6 months ago only as I.

	Thanks for spend your time in try to solve my problems. If you want I will 
send you my results when I finish my project (It will be early because I only 
have this problem).

	Regards


						Toni

Server.c

userprog.c