Evert Lammerts wrote:
> Hi all,
> 
> I'm trying to compile a kernel module for use of RTnet with a CNC (EMC2).
> Apparantly something goes wrong with importing rtdm:
> 
> Aug  2 12:54:05 emc2-2 kernel: [ 5626.900425] rt_comm: Unknown symbol
> _rtdm_socket

That should be exported by rtai_rtdm. Is rtnet.ko loaded at that time
without problems? What does /proc/kallsyms tell you?

> Aug  2 12:54:05 emc2-2 kernel: [ 5626.900480] rt_comm: Unknown symbol
> inet_aton

User-space symbol, use RTnet's kernel variant rt_inet_aton instead.

> Aug  2 12:54:05 emc2-2 kernel: [ 5626.900525] rt_comm: Unknown symbol
> _rtdm_close

Same as with _rtdm_socket.

> Aug  2 12:54:05 emc2-2 kernel: [ 5626.900623] rt_comm: Unknown symbol
> mlockall

User-space stuff, not needed in the kernel (memory is locked implicitly
here).

> 
> I've tried to import rtdm.h seperately, but of course that didn't make a
> difference. Any idea on what I'm doing wrong?

Do you get no warnings while building the module?

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to