> Why is it that when I insert my module into kernel space using v2.2, I get the
> following errors?
>
> [root@comanche bin]# /sbin/insmod rtic.o
> ./rtic.o: unresolved symbol pthread_self
> ./rtic.o: unresolved symbol pthread_attr_setschedparam
> ./rtic.o: unresolved symbol pthread_attr_init
> [root@comanche bin]#
>
> Incidentally, the example modules work fine (namely the good old trusty Frank
> Zappa module), it is just my code that will not insert. What am I missing? I am
>using the insrtl command to install the rtlinux modules, and this code worked
>beautifully under v2.0.
All of these functions are defined in include/rtl_sched.h as being inline.
For inline functions to work correctly, -O2 flag should be used with gcc.
Do you see -O2 among compiler options during compilation of your module?
Michael.
-- [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/