> Hi ! > Please help me in this matter . > I installed RTlinux-3.1 on linux kernel-2.4.4 . > > 1.first i installed REDHAT 7.1 on my x86 pc. > 2.I created a new dir. at /usr/src as rtlinux. > 3. i copied linux-kernel.2.4.4.tar and rtlinux-3.1.tar to /usr/src/rtlinux > and i untared both and i got linux and rtlinux-3.1 directory. > 4. I patched kernel-2.4.4 with linux i.e /usr/src/rtlinux/linux/ patch > -p1<kernel-2.4.4 > 5.after that make mproper ,make menuconfig make bzImage ,make modules and > make modules_install. > 6. I copied bzImage to /boot and altered /etc/lilo.conf and restarted the > system . > 7. After restarting the system ,in /usr/src/rtlinux/rtlinux-3.1/ i created > a link to /usr/src/rtlinux/linux and after that i did make ,make menuconfig > and make devices. > 8. at last i installed the rtlinux modules by scripts/insrtl. > > Till now everything is fine ,now if i need to compile my application its > giving me the multipal declaration error. espically when ever i incude > <time.h > and <rtl_sched.h>. Pls. some one help me in this matter ,even i > copied the file rtl.mk to my applications directory. Is there any thing to > be done further or i missed out some thing. one more thing all the examples > given with rtlinux-3.1 at /rtlinux-3.1/examples/ are working fine . > If rtlinux-3.1 compiled all the way you should have gotten the same errors as for instance examples/measurements/rt_process.c also includes time.h and rtl_sched.h - so I would recomend you check your Makefile (as you did not post the application/Makefile its kind of hard to say what could be wrong).
> It give the err like struct timespec is redifined in rtl_sched.h and so many > others. I think there is some thing wrong in rtl.mk or somewhere else. > i am structed here pls. help me in this concern. > If posible pleas post code or a code sample + Makefile and the relevant error output from your make invocation (cut & past) otherwise we are limited to guessing... hofrat -- [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/