[etherlab-users] ecrt_slave_config_state and ecrt_slave_config_pdos undefined

BOESEL Diego Fernandes Diego.BOESEL at csem.ch
Fri Feb 8 10:42:08 CET 2013


I found the solution.

In the include section of the master/slave_config.c, it was:
#include <linux/slab.h>

And then I changed it to:
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/version.h>
#include <linux/hrtimer.h>
#include "globals.h"
#include "slave.h"
#include "slave_config.h"
#include "device.h"
#include "datagram.h"

These includes I took from master/master.c I think, not sure about that.

I am surprised I am the first to have this problem... 




More information about the Etherlab-users mailing list