hello
 pls send u'r make file, so that i can tell.
what is  first.o, whether it is object of this file or some thing else.
let me know , what the following call will do?(purpose)
because i didn't use this one so far, whetgher it is to make u'r module to
be available
 as a system module.

system("rtlinux start first.o");

chandu

----- Original Message -----
From: A V <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 6:16 AM
Subject: [rtl] system command


>
> Hi all,
>
>     when i am inerting kernel module of this prog i am
> getting the following error
> "unresolved symbol system".
> What is the error in my prog ?
> first.o is working well.
> Please tell me .
>
> Regards
> Anumula
>
> #include<stdio.h>
> #include<rtl.h>
> #include<time.h>
> #include<pthread.h>
> #include<stdlib.h>
>
> pthread_t thread1;
> void start_routine() {
>   struct sched_param p;
>   p.sched_priority=10;
>   pthread_setschedparam(pthread_self(),SCHED_FIFO,&p);
>
>
> pthread_make_periodic_np(pthread_self(),gethrtime()+20,10000000000000);
>   system("rtlinux start first.o");
> }
> int init_module(void) {
>   return
> pthread_create(&thread1,NULL,start_routine,NULL);
> }
> void cleanup_module(void){
>   pthread_delete_np(thread1);
> }
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> ----- End of forwarded message from [EMAIL PROTECTED] -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to