[etherlab-users] Insmod error: - unknown symbol in module
Brundiek, Patrick
Patrick.Brundiek at ftigroup.net
Wed Mar 2 12:37:16 CET 2011
Hello,
I am unsing the latest versions of EtherCAT (1.5) and EtherLab (1.3) and during the rebuilding of an older etherlab model the above mentioned error occured.
Following you will find the messages seen during the compilation:
make: Entering directory `/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw'
### Deleting the objects and ../PCULocalControl_kmod.ko
make: Leaving directory `/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw'
make: Entering directory `/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw'
CC rtw_wrapper.o
CC rtw_app_info.o
CC PCULocalControl_capi.o
CC PCULocalControl_data.o
CC rtGetInf.o
CC rtGetNaN.o
CC rt_mod_snf.o
CC rt_nonfinite.o
CC rt_round_snf.o
CC rt_zcfcn.o
CC rtw_data_interface.o
CC etl_data_types.o
CC PCULocalControl.o
CC rt_sim.o
CC ode1.o
AR PCULocalControllib.a
/usr/bin/ar: creating PCULocalControllib.a
LD PCULocalControl_obj.o_shipped
### Created PCULocalControl_obj.o_shipped
Generating module_payload.c
# Call KBuild process
make[1]: Entering directory `/usr/src/linux-2.6.28.10'
CC [M] /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/rt_app_main.o
CC [M] /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/module_payload.o
LD [M] /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/.PCULocalControl_obj.o_shipped.cmd for /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_obj.o_shipped
WARNING: "ecrt_master_sync_slave_clocks" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: "ecrt_master_send_ext" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: "ecrt_master_application_time" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: "ecrt_slave_config_dc" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: "ecrt_slave_config_idn" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: "ecrt_master_sync_reference_clock" [/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko] undefined!
WARNING: modpost: Found 16 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.mod.o
LD [M] /home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw/PCULocalControl_kmod.ko
make[1]: Leaving directory `/usr/src/linux-2.6.28.10'
### Created kernel module: Makefile ../PCULocalControl_kmod.ko
make: Leaving directory `/home/ml/bretece/tsd_ctrl_programm/PCULocalControl_etl_rtw'
ERROR: Module PCULocalControl_kmod does not exist in /proc/modules
insmod: error inserting 'PCULocalControl_kmod.ko': -1 Unknown symbol in module
Through dmesg I got the following output:
PCULocalControl_kmod: Unknown symbol ecrt_master_sync_reference_clock
PCULocalControl_kmod: Unknown symbol ecrt_slave_config_idn
PCULocalControl_kmod: Unknown symbol ecrt_slave_config_dc
PCULocalControl_kmod: Unknown symbol ecrt_master_application_time
PCULocalControl_kmod: Unknown symbol ecrt_master_send_ext
PCULocalControl_kmod: Unknown symbol ecrt_master_sync_slave_clocks
In earlier posts i have seen that the ecrt warnings can be ignored. If it is still suitable it leaves the first warning open.
Any advice to get the kernel module loaded would be helpful.
Thanks and Regards
Patrick
________________________________________
Dipl.- Ing. Patrick Brundiek
Systems Engineering
Test Systems
FTI Technologies GmbH
Ludwig-Erhard-Ring 8, Dahlewitz
D- 15827 Blankenfelde-Mahlow
phone: +49 (0) 33 708 / 44 09 - 46
fax: +49 (0) 33 708 / 44 09 - 60
email:Patrick.Brundiek at ftigroup.net
web:www.ftigroup.net
Sitz: Bremen
HRB: 23389 HB, Amtsgericht Bremen
Geschäftsführung: Michael Weisel
Besuchen Sie uns auf der AEROSPACE TESTING in Hamburg vom 5. - 7. April 2011, Halle B4 (Lower Level), Stand M35!
Visit us at AEROSPACE TESTING in Hamburg from 5 - 7 April 2011, Hall B4 (Lower Level), booth M35!
*
Diese E-Mail enthaelt vertrauliche Informationen. Wenn Sie wissen oder erkennen koennen, dass Sie diese vertraulichen Informationen nicht erhalten sollten, informieren Sie uns und loeschen Sie diese E-Mail von Ihrem System und verwenden oder verteilen Sie bitte diese vertraulichen Informationen nicht weiter.
This e-mail contains confidential information. If you know or if you can perceive that you are not intended to receive this confidential information please inform us and delete this e-mail from your system and please do not use or distribute the confidential information.
More information about the Etherlab-users
mailing list