[etherlab-users] FW: EtherCAT-Master 1.5 Installation
ronaldo.mercado at diamond.ac.uk
ronaldo.mercado at diamond.ac.uk
Fri Aug 20 20:02:21 CEST 2010
I meant to cc to the list
________________________________
From: Mercado, Ronaldo (DLSLtd,RAL,DIA)
Sent: Fri 20/08/2010 18:58
To: Westpfahl Jasper
Subject: RE: [etherlab-users] EtherCAT-Master 1.5 Installation
Hello Jasper,
I too found that "HEAD" in sourceforge fails to compile with that error.
The patch below fixes it.
Regards,
Ronaldo
Dr Ronaldo Mercado
Software Systems Engineer Photon Beamlines
Phone: +44 (0)1235-778486 Mobile 07887 832623
Diamond Light Source Fax: +44 (0)1235-446713
Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE
diff -r e607ab01d9f5 master/cdev.c
--- a/master/cdev.c Fri Aug 13 13:31:04 2010 +0100
+++ b/master/cdev.c Fri Aug 20 18:53:39 2010 +0100
@@ -3794,7 +3794,7 @@
page = vmalloc_to_page(priv->process_data + offset);
- EC_MASTER_DBG(master, "Nopage fault vma, address = %#lx,"
+ EC_MASTER_DBG(priv->cdev->master, 1, "Nopage fault vma, address = %#lx,"
" offset = %#lx, page = %p\n", address, offset, page);
get_page(page);
________________________________
From: etherlab-users-bounces at etherlab.org on behalf of Westpfahl Jasper
Sent: Fri 20/08/2010 10:46
To: etherlab-users at etherlab.org
Subject: [etherlab-users] EtherCAT-Master 1.5 Installation
Hello,
I have a problem installing the EtherCAT-Master 1.5 development version, which I need for the Etherlab 1.3pre from 2010-08-13. Has anyone encountered the problem described below and gotten around/solved it? I would appreciate any help.
after
/.configure
make
when I type:
make modules
I get error messages notifying me of an undefined variable "master"
CC [M] /opt/etherlab/src/etherlabmaster-968a531e5a89/master/cdev.o
/opt/etherlab/src/etherlabmaster-968a531e5a89/master/cdev.c: In function 'eccdev_vma_nopage':
/opt/etherlab/src/etherlabmaster-968a531e5a89/master/cdev.c:3797: error: 'master' undeclared (first use in this function)
best regards and thanks in advance
Jasper Westpfahl
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
More information about the Etherlab-users
mailing list