[etherlab-users] Error building the mini application
Kim H. Madsen
khm at deif.com
Wed Jun 3 15:40:19 CEST 2009
Hi
I have tried building the ethercat master on a linux 2.6.28 with PREEMP_RT. I get the following error then I build the modules. Any hint?
make modules
make -C "/usr/src/linux-headers-2.6.28-3-rt" M="/home/khm/Skrivebord/ethercat-devel-r1770" modules
make[1]: Går til katalog '/usr/src/linux-headers-2.6.28-3-rt'
CC [M] /home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.o
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c:359: fejl: expected identifier or ( before do
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c:359: fejl: expected identifier or ( before while
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c: In function init_mini_module:
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c:385: fejl: release_lock undeclared (first use in this function)
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c:385: fejl: (Each undeclared identifier is reported only once
/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.c:385: fejl: for each function it appears in.)
make[4]: *** [/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini/mini.o] Fejl 1
make[3]: *** [/home/khm/Skrivebord/ethercat-devel-r1770/examples/mini] Fejl 2
make[2]: *** [/home/khm/Skrivebord/ethercat-devel-r1770/examples] Fejl 2
make[1]: *** [_module_/home/khm/Skrivebord/ethercat-devel-r1770] Fejl 2
make[1]: Forlader katalog '/usr/src/linux-headers-2.6.28-3-rt'
make: *** [modules] Fejl 2
Med venlig hilsen, Best regards,
Kim H. Madsen, Developer
DEIF A/S
Frisenborgvej 33
DK-7800 Skive
Phone: +45 9614 9614
Direct: +45 9614 8435
E-mail: khm at deif.com
Web: www.deif.com <http://www.deif.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090603/79f3d108/attachment-0002.htm>
More information about the Etherlab-users
mailing list