Hi list,
i have to install emc2 on a debian system with
kernel version 2.6.30.5 patched in the debian way
like explained in emc2 wiki.
I downloaded emc2_2.3.3.tar.gz from sf.net because i'missing git behind
a web proxy at work.
`rtai-config --prefix' output /usr/realtime
I configured emc2 with:
./configure -C --with-kbuild=y \
--with-kernel-headers=/usr/src/linux-headers-2.6.30.5-rtai \
--enable-build-documentation --enable-run-in-place
(using --with-realtime=`rtai-config --prefix` don't work.)
Anyway, when i build with `make' copilation stop for error about
missing `bus_id' field in `struct device'.
Following several issue about bus_id, like this:
http://lkml.org/lkml/2008/10/29/408
I applied this patch:
--- a/src/hal/drivers/mesa-hostmot2/hostmot2.c
+++ b/src/hal/drivers/mesa-hostmot2/hostmot2.c
@@ -838,8 +838,9 @@
}
memset(&dev, '\0', sizeof(dev));
- strncpy(dev.bus_id, hm2->llio->name, BUS_ID_SIZE);
- dev.bus_id[BUS_ID_SIZE - 1] = '\0';
+ dev_set_name(&dev,hm2->llio->name);
+ /* strncpy(dev.bus_id, hm2->llio->name, BUS_ID_SIZE); */
+ /* dev.bus_id[BUS_ID_SIZE - 1] = '\0'; */
dev.release = hm2_release_device;
r = device_register(&dev);
if (r != 0) {
Now emc2 build, but crash during in-place excecution, i have to append
Module.symvers to /lib/modules/`uname -r`/Module.symvers ,
like for rtai ??
Thanks, in the next weeks i'll test it better, at soon.
--
Marco Bardelli,
Undergraduate of Computer Science
(Supporto Informatico)
Laboratorio di Tecnologia Medica
Istituti Ortopedici Rizzoli
Via di Barbiano 1/10
40136 Bologna, Italy
Tel: (+39) 051 6366575 (direct)
E-mail: [email protected]
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers