> albinom wrote:
> 
> Hello and thanks for your attention and sorry for my basic question.
> when I trie to load my rtl application module (like frank-module in
> examples directory) by insmod:
> this is the error
> "unresolved symbol __divdi3"
> Sorry but I don't understand where I  could mistake, and i don't find
> any papers or texts about it.
> Where can I find a rich documentation about RTLinux kernel modules and
> relatives programming tecnique?
> Which type of error could I have made?
> 
> Paolo Marras

This error occures, when you implemented a division of long long
variables.
You can either replace the long long by another type (e.g. long), or
(as RTIME is long long) link your module to gcc-lib
with e.g.

ld -r -static -o rt_module ${RT_MOD_OBJS}
-L/usr/lib/gcc-lib/i486-linux/2.7.2.3/ -lgcc 

Kay =8^)

-- 
     |\/\/\/|    
     |      |        Kay-Ulrich Scholl               |
     |      |        [EMAIL PROTECTED]                   |
     | (o)(o)       Forschungszentrum Informatik     |
     C      _)      Haid-und Neu-Str. 10-14          |
     | ,___|        D-76131 Karlsruhe                |
     |   /          0721/9654-218                    |
    /____\          FAX: 0721 / 9654 - 209           |
   /      \ -----------------------------------------+
--- [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