[etherlab-users] error: ‘ec_master_t’ has no member named ‘master_sem’

Bruno Jenni brunojenni at isotherm.ch
Fri Nov 25 11:11:21 CET 2011


Hello

I am setting up an test environment. To test EtherCat.

Intel Processor i686
Ethernet Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
Debian 6
Kernel 2.6.32-5-686
EtherCAT-Master 1.5

Installation:

aptitude install mercurial automake autoconf libtool make g++ gawk gpp 
libc6-dev linux-headers-2.6.32-5-686 doxygen dpkg-dev build-essential

cd /usr/local/src

hg clone 
http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster

cd etherlabmaster

./bootstrap

./configure --enable-generic

make all

make modules

During the compilation of modules I got following Errors:

  CC [M]  /usr/local/src/etherlabmaster/master/master.o
/usr/local/src/etherlabmaster/master/master.c: In function 
‘ecrt_master_sdo_download_complete’:
/usr/local/src/etherlabmaster/master/master.c:2514: error: ‘ec_master_t’ 
has no member named ‘master_sem’
/usr/local/src/etherlabmaster/master/master.c:2518: error: ‘ec_master_t’ 
has no member named ‘master_sem’
/usr/local/src/etherlabmaster/master/master.c:2530: error: ‘ec_master_t’ 
has no member named ‘master_sem’
/usr/local/src/etherlabmaster/master/master.c:2536: error: ‘ec_master_t’ 
has no member named ‘master_sem’
/usr/local/src/etherlabmaster/master/master.c:2539: error: ‘ec_master_t’ 
has no member named ‘master_sem’
/usr/local/src/etherlabmaster/master/master.c:2544: error: ‘ec_master_t’ 
has no member named ‘master_sem’
make[5]: *** [/usr/local/src/etherlabmaster/master/master.o] Fehler 1
make[4]: *** [/usr/local/src/etherlabmaster/master] Fehler 2
make[3]: *** [_module_/usr/local/src/etherlabmaster] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
make: *** [modules] Fehler 2

Any idea of the cause?
How can I solve it?

I have tried different hardware, distributions and kernels too. i.e. 
Ubuntu, Gentoo... (not Suse). The same result.

With best regards

Bruno




More information about the Etherlab-users mailing list