ec-debianize icon indicating copy to clipboard operation
ec-debianize copied to clipboard

error: ethercat uses VFP register arguments, ../master/soe_errors.o does not

Open AceXIE opened this issue 10 years ago • 2 comments

Dear sittner, I try to use this on my beaglebone black. When I dpkg-buildpackages, there is some errors as follows.

/usr/bin/ld: error: ethercat uses VFP register arguments, ../master/soe_errors.o does not /usr/bin/ld: failed to merge target specific data of file ../master/soe_errors.o collect2: ld returned 1 exit status make[3]: *** [ethercat] Error 1 make[3]: Leaving directory /home/machinekit/ec-debianize/tool' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory/home/machinekit/ec-debianize' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/machinekit/ec-debianize' make: *** [install] Error 2 dpkg-buildpackage: error: debian/rules binary gave error exit status 2

$ cat /proc/version 
Linux version 3.8.13-xenomai-r78 (root@a6-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Sat Sep 26 16:54:43 UTC 2015

Can you help me. Thanks.

XieKai

AceXIE avatar Apr 15 '16 07:04 AceXIE

@AceXIE the error happens, because kernel modules get not built with VFP registers IMHO.

A work-around I found is to touch ../master/soe_errors.c after the error happens and re-run make.

This needs more investigation.

koppi avatar May 30 '16 19:05 koppi

This should be solved upstream.

ntd avatar Nov 20 '22 20:11 ntd