[etherlab-dev] IgH EtherCAT Master for Power PC
hbausley at deltatau.com
Thu Nov 8 20:45:23 CET 2007
The problem was caused by not compiling with the -fno-common option.
This seems to be required at least for a power pc build starting with
On Wed, 2007-11-07 at 15:18 -0800, Henry Bausley wrote:
> I am trying to run ethercat on an AMCC Power PC 440EP embedded computer.
> I am starting with a rt8139 PCI card before attempting to ethercat
> enable the AMCC/IBM PowerPC ethernet driver for the built in Ethernet
> hardware in the CPU.
> I am getting the following error message after cross compiling the
> master driver. insmod: error inserting 'ec_master.ko': -1 Invalid module
> What causes the module not to load is the declaration of struct kobject
> kobj. If I comment out the declaration of kobj and the code associated
> with it in ec_init_module I can then load ec_master.ko as well as
> Does anyone have any idea? I am using 2.6.14-rtl kernel with patches
> from formerly FSM Labs now WindRiver to enable RTLinux. The filesystem
> is basically from Debian 4.0.
> I hope I am on the correct mailing list, I didn't know if I should use
> the user or developer list.
> etherlab-dev mailing list
> etherlab-dev at lists.etherlab.org
More information about the Etherlab-dev