So, I noticed also additional warning earlier in the "#make modules":
/home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1053:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1053:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1053:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1054:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1054:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1054:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1055:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1055:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1055:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1056:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1056:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1056:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1057:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1057:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1057:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1058:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1058:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1058:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1059:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1059:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1059:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1060:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1060:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1060:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1061:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1061:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1061:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1062:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1062:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1062:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1063:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1063:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1063:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1064:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1064:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1064:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1065:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1065:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1065:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1066:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1066:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1066:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1067:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1067:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1067:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1068:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1068:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1068:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1069:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1069:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1069:1: warning: parameter names (without types) in function declaration [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1070:1: warning: data definition has no type or storage class [enabled by default] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1070:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int] /home/dfb/Downloads/ethercat-1.5.1/master/slave_config.c:1070:1: warning: parameter names (without types) in function declaration [enabled by default] ________________________________ Von: [email protected] [[email protected]]" im Auftrag von "BOESEL Diego Fernandes [[email protected]] Gesendet: Donnerstag, 7. Februar 2013 16:01 An: [email protected] Betreff: [etherlab-users] ecrt_slave_config_state and ecrt_slave_config_pdos undefined Hello all, I am trying to install Etherlab master in a newer Linux kernel with RT-Preemption: 3.4.0-rt7 #1 SMP PREEMPT RT. My Etherlab version is 1.5.1 When I do #make modules the final messages will be: CC [M] /usr/local/ethercat-1.5.1/master/soe_errors.o CC [M] /usr/local/ethercat-1.5.1/master/soe_request.o CC [M] /usr/local/ethercat-1.5.1/master/sync.o CC [M] /usr/local/ethercat-1.5.1/master/sync_config.o CC [M] /usr/local/ethercat-1.5.1/master/voe_handler.o CC [M] /usr/local/ethercat-1.5.1/master/ethernet.o LD [M] /usr/local/ethercat-1.5.1/master/ec_master.o Building modules, stage 2. MODPOST 3 modules WARNING: "ecrt_slave_config_state" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined! WARNING: "ecrt_slave_config_pdos" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined! CC /usr/local/ethercat-1.5.1/devices/ec_generic.mod.o LD [M] /usr/local/ethercat-1.5.1/devices/ec_generic.ko CC /usr/local/ethercat-1.5.1/examples/mini/ec_mini.mod.o LD [M] /usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko CC /usr/local/ethercat-1.5.1/master/ec_master.mod.o LD [M] /usr/local/ethercat-1.5.1/master/ec_master.ko And from this point on, everything that needs "ecrt_slave_config_state" and "ecrt_slave_config_pdos" will not work anymore, e.g., the mini example. Before the #make modules I do #./configure --enable-generic --enable-8139too=no #make Does anyone know where the problem could be? Thanks in advance
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
