[etherlab-users] ubuntu 18.04 etherlab installation
Çağatay Yürük
cagatay.yuruk at altinay.com
Tue May 7 13:25:18 CEST 2019
Hello everyone,
I want to install etherlab on my Virtual machine which is Ubuntu 18.04 LTS.
Respect to installation guide;
* ./bootstrap
* ./configure -disable-8139too
* make all modules
while process I got this error:
/home/cyuruk/ethercat-hg/examples/mini/mini.c: In function
'init_mini_module':
/home/cyuruk/ethercat-hg/examples/mini/mini.c:495:5: error: implicit
declaration of function 'init_timer'; did you mean 'init_timers'?
[-Werror=implicit-function-declaration]
init_timer(&timer);
^~~~~~~~~~
init_timers
/home/cyuruk/ethercat-hg/examples/mini/mini.c:496:20: error: assignment from
incompatible pointer type [-Werror=incompatible-pointer-types]
timer.function = cyclic_task;
^
After that I tried > make modules install -i
Whit this try I got another errors and last one is
ld: cannot find /home/cyuruk/ethercat-hg/master/cdev.o: No such file or
directory
ld: cannot find /home/cyuruk/ethercat-hg/master/master.o: No such file or
directory
scripts/Makefile.build:580: recipe for target
'/home/cyuruk/ethercat-hg/master/ec_master.o' failed
make[3]: [/home/cyuruk/ethercat-hg/master/ec_master.o] Error 1 (ignored)
Building modules, stage 2.
MODPOST 1 modules
/home/cyuruk/ethercat-hg/examples/mini/ec_mini.o: No such file or directory
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
make[2]: [__modpost] Error 1 (ignored)
CC /home/cyuruk/ethercat-hg/devices/ec_generic.mod.o
gcc: error: /home/cyuruk/ethercat-hg/devices/ec_generic.mod.c: No such file
or directory
gcc: fatal error: no input files
compilation terminated.
scripts/Makefile.modpost:114: recipe for target
'/home/cyuruk/ethercat-hg/devices/ec_generic.mod.o' failed
make[2]: [/home/cyuruk/ethercat-hg/devices/ec_generic.mod.o] Error 1
(ignored)
LD [M] /home/cyuruk/ethercat-hg/devices/ec_generic.ko
ld: cannot find /home/cyuruk/ethercat-hg/devices/ec_generic.mod.o: No such
file or directory
scripts/Makefile.modpost:129: recipe for target
'/home/cyuruk/ethercat-hg/devices/ec_generic.ko' failed
make[2]: [/home/cyuruk/ethercat-hg/devices/ec_generic.ko] Error 1 (ignored)
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-47-generic'
How can I come overcome with this errors. I thought it may be about kernel
version.
I need etherlab for installing it to my Yocto image. I have tried to install
with recipe it doesn't worked.
Thanks for all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20190507/c209d6fc/attachment-0002.htm>
More information about the Etherlab-users
mailing list