On Tue, Aug 08, 2000 at 04:14:30PM -0400, Adam Meyerowitz wrote:
> Hello,
>
> I know this is not directly related to RTL/RTAI but I just ran across this
> and this seems
> to be the best place to ask. I have a user space app that runs with
> iopl(3) and that needs
> to use cli() and sti() once in the app. I have included asm/system.h where
I really dislike this feature of Linux: it is unsafe, nonportable, and
I've never seen a necessary use.
> these seem
> to be defined by I'm getting undefined references to __cli(void) and
> __sti(void). What
> do I have to link with to grab these functions? Do I have to compile with
> -O to get these?
Try defining __KERNEL__ if you must.
>
> Any help would be appreciated.
>
> Thanks
> Adam
> --
> Adam Meyerowitz
> Senior Software Engineer
> Video Data Systems
> 40 Oser Avenue
> Hauppauge, NY 11788
> Tel# 631-231-4400
> Fax# 631-231-4405
> [EMAIL PROTECTED]
> www.videodatasystems.com
>
> -- [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/rtlinux/
--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com
-- [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/rtlinux/