sittner / ec-debianize

EtherCAT-Master debianization
31 stars 29 forks source link

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

Open AceXIE opened 8 years ago

AceXIE commented 8 years ago

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

koppi commented 8 years ago

@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.

ntd commented 1 year ago

This should be solved upstream.