Jan Kiszka a écrit : > Bruno Carlus wrote: > >> Hello, >> >> I'm experiencing problems using old Amine's multicast patch for version >> 0.8.3. >> I had to adapt it to the current RTnet version (use of rtdm, different >> file hierarchy and compilation ... ) and it seems that there are >> linking warnings when building rtnet and rtipv4 modules preventing the >> modules from being loaded: >> >> WARNING: "rt_dev_mc_delete" >> [/home/daq/rtnet-0.9.10-mc/stack/ipv4/rtipv4.ko] undefined! >> WARNING: "rt_ip_dev_find" >> [/home/daq/rtnet-0.9.10-mc/stack/ipv4/rtipv4.ko] undefined! >> WARNING: "rt_dev_mc_add" >> [/home/daq/rtnet-0.9.10-mc/stack/ipv4/rtipv4.ko] undefined! >> >> WARNING: "rt_ip_mc_up" [/home/daq/rtnet-0.9.10-mc/stack/rtnet.ko] >> undefined! >> WARNING: "rt_ip_mc_join_group" >> [/home/daq/rtnet-0.9.10-mc/stack/rtnet.ko] undefined! >> WARNING: "rt_ip_mc_down" [/home/daq/rtnet-0.9.10-mc/stack/rtnet.ko] >> undefined! >> WARNING: "rt_ip_mc_leave_group" >> [/home/daq/rtnet-0.9.10-mc/stack/rtnet.ko] undefined! >> >> these functions are part of the new file igmp.c (stack/ipv4/igmp.c, >> rtipv4 module) and needed by socket.c (stack/socket.c, rtnet module) and >> by other files in stack/ipv4/, rtipv4 module... >> >> My first idea was to add manually in stack/Gnumakefile.am and >> stack/ipv4/Gnumakefile.am references to igmp.c but it is not enough ... >> I'm not familiar with autoconf, so could anyone tell how to link the new >> file properly (igmp.o) ? >> > > Did you already run scripts/autogen.sh? > Yes but there seemed to be errors... thanks for the hint, I was able to compile ! I had also to deal with modules rtnet and rtipv4 calling one another ... now it's fixed, but I had to change the patch, making it more linux like or trying to do so! I can deal with multicast code itself now: the interface does not seem to register properly with multicast or is it my changes that are faulting the ptp api ? I'm investigating ...
Thanks anyway, I'll keep you informed. Bruno. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users