Hello RTLees

When I run the rtai_shm test in /rtai/shmem/test everything appears
to be working fine. When attempting to compile a shared memory
example (user-space) from Phil Wilshire I get error messages of the
type:

rtai_shm.h:77 O_RDWR undeclared
rtai_shm.h:85 PROT_WRITE undeclared

etc.. Unlike the Phil Wilshire example which uses mbuff I am using
rtai_shm and have therefore made the appropriate calls to rtai_malloc
instead of mbuff_alloc.

Can anyone tell me what I am missing. I compiled simply with:

gcc -o myfile myfile.c


Thanks,
Daniel
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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/

Reply via email to