EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: 6259 epics driver help
From: [email protected]
To: [email protected]
Date: Tue, 24 Apr 2012 16:53:42 +0200
Hi everybody,

I´ve been trying to install the NI pxi6259 card EPICS drivers provided
with the CODAC Core system 3.0 public release and I´ve found some trouble.
I´ve tried to manually compile (make) the "m-epics-pxi6259/src/main/epics"
and i get the following error:



[root@localhost epics]# make
make -C ./configure install
make[1]: Entering directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/configure'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install
make[2]: Entering directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/configure/O.linux-x86_64'
perl /usr/local/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/configure/O.linux-x86_64'
make[1]: Leaving directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/configure'
make -C ./ni6259App install
make[1]: Entering directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/ni6259App'
make -C ./src install
make[2]: Entering directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/ni6259App/src'
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[3]: Entering directory
`/usr/local/codac-core-system-3.0.0-public/codac/m-epics-pxi6259/src/main/epics/ni6259App/src/O.linux-x86_64'

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT   -g   -Wall      -m64     -fPIC -MMD -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/include/os/Linux -I/usr/local/epics/base/include
    ../devNi6259.c
In file included from /usr/local/epics/base/include/pxi6259.h:27,
                 from /usr/local/epics/base/include/pxi-6259-lib.h:16,
                 from ../devNi6259.c:68:
/usr/local/epics/base/include/pxi6259-enums.h:514: error: expected
identifier or ?(? before numeric constant
/usr/local/epics/base/include/pxi6259-enums.h:531: error: expected
identifier or ?(? before numeric constant
/usr/local/epics/base/include/pxi6259-enums.h:536: error: expected
identifier or ?(? before numeric constant
In file included from ../devNi6259.c:68:
/usr/local/epics/base/include/pxi-6259-lib.h:66: error:
?pxi6259_ai_channel? defined as wrong kind of tag
/usr/local/epics/base/include/pxi-6259-lib.h:130: error: redeclaration of
enumerator ?AI_CONVERT?
/usr/local/epics/base/include/pxi6259-enums.h:2068: note: previous
definition of ?AI_CONVERT? was here
...


The .h files from "m-epics-pxi6259/src/main/epics/ni6259App/lib" were
copied to $EPICS_BASE/include.
By the way, the 6259 drivers for Linux worked fine.
Any idea?

Thanks in advance for your help

Inari Badillo



Navigate by Date:
Prev: Re: RTEMS driver for SIS3820 scaler Kate Feng
Next: Presentation slides for EPICS Training Available Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: mrfioc2 release 2.0.1 Michael Davidsaver
Next: Presentation slides for EPICS Training Available Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·