[Etherlab-users] ectty_tx_data undefined symbol inuxcnc-ethercat

Sebastien BLANCHET blanchet at iram.fr
Thu Nov 26 08:50:11 CET 2020


Hi,

Actually Serial-Over-EtherCAT works only in kernel mode with IgH 
EtherCAT master.

The file "examples/tty/serial.c" calls several functions defined in
"include/ectty.h" and implemented in "tty/module.c"

These functions exist only in kernel mode.

If you try to call them in user mode, you will get undefined symbols for
   ectty_create, ecctty_free, ectty_tx_data, ectty_rx_data

If you really want to use Serial-Over-EtherCAT you have to rewrite your 
application to run in kernel mode.

Regards
---
Sebastien BLANCHET

Le 22/11/2020 à 21:50, Albert Chimeno garcia a écrit :
> 
> Hi, I am starting to use el6001, I tried the example that has igh 
> ethercat and adapted for the EL6001 and it works very well, I wonder if 
> anyone has been using it with linuxcnc-ethercat and ec-debianize, I have 
> undefined symbols "ectty_tx_data" I guess I need modify config file for 
> compilation, but can anyone give me a hint? thanks Chimeno
> 
> 


More information about the Etherlab-users mailing list