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  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Xilinx ARM64 mmap and regdev module compile error
From: "Ha, Kiman via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>, "Zimoch Dirk (PSI)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 8 Nov 2019 18:52:31 +0000

Hi Dirk,

 

I am trying to build a mmap & regdrv device support module for ARM64 Debian10 and got some errors.

It seems environment issue and needs additional modules?

 

 

fpga@debian10-zcu102:~/iocApp/mmap$ make

GNUmakefile:2: It seems you do not have the PSI build environment. Remove GNUmakefile.

make -C O.linux-arm -f ../Makefile TOP=./.. \

    T_A=linux-arm install

make[1]: se entra en el directorio '/home/fpga/iocApp/mmap/O.linux-arm'

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -g   -Wall           -fPIC -I. -I../O.Common -I. -I. -I.. -I./../include/compiler/gcc -I./../include/os/Linux -I./../include -I/home/fpga/epics/base-3.16.2/include/compiler/gcc -I/home/fpga/epics/base-3.16.2/include/os/Linux -I/home/fpga/epics/base-3.16.2/include           -c ../mmapDrv.c

../mmapDrv.c:9:10: fatal error: regDev.h: No existe el fichero o el directorio

#include <regDev.h>

          ^~~~~~~~~~

compilation terminated.

make[1]: *** [/home/fpga/epics/base-3.16.2/configure/RULES_BUILD:235: mmapDrv.o] Error 1

make[1]: se sale del directorio '/home/fpga/iocApp/mmap/O.linux-arm'

make: *** [/home/fpga/epics/base-3.16.2/configure/RULES_ARCHS:58: install.linux-arm] Error 2

 

 

 

fpga@debian10-zcu102:~/iocApp/regdev$ make

If you are not using the PSI build environment, GNUmakefile can be removed.

make -C O.linux-arm -f ../Makefile TOP=./.. \

    T_A=linux-arm install

make[1]: se entra en el directorio '/home/fpga/iocApp/regdev/O.linux-arm'

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -g   -Wall           -fPIC -I. -I../O.Common -I. -I. -I.. -I./../include/compiler/gcc -I./../include/os/Linux -I./../include -I/home/fpga/epics/base-3.16.2/include/compiler/gcc -I/home/fpga/epics/base-3.16.2/include/os/Linux -I/home/fpga/epics/base-3.16.2/include           -MM -MF simRegDev.d  ../simRegDev.c

../simRegDev.c:18:10: fatal error: memDisplay.h: No existe el fichero o el directorio

#include "memDisplay.h"

          ^~~~~~~~~~~~~~

compilation terminated.

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -g   -Wall           -fPIC -I. -I../O.Common -I. -I. -I.. -I./../include/compiler/gcc -I./../include/os/Linux -I./../include -I/home/fpga/epics/base-3.16.2/include/compiler/gcc -I/home/fpga/epics/base-3.16.2/include/os/Linux -I/home/fpga/epics/base-3.16.2/include           -MM -MF regDev.d  ../regDev.c

../regDev.c:21:10: fatal error: memDisplay.h: No existe el fichero o el directorio

#include "memDisplay.h"

          ^~~~~~~~~~~~~~

compilation terminated.

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -g   -Wall           -fPIC -I. -I../O.Common -I. -I. -I.. -I./../include/compiler/gcc -I./../include/os/Linux -I./../include -I/home/fpga/epics/base-3.16.2/include/compiler/gcc -I/home/fpga/epics/base-3.16.2/include/os/Linux -I/home/fpga/epics/base-3.16.2/include           -c ../regDev.c

In file included from /home/fpga/epics/base-3.16.2/include/dbAccess.h:19,

                 from ../regDev.c:10:

/home/fpga/epics/base-3.16.2/include/dbBase.h:162:5: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]

     rset        *prset;

     ^~~~

In file included from /home/fpga/epics/base-3.16.2/include/dbBase.h:21,

                 from /home/fpga/epics/base-3.16.2/include/dbAccess.h:19,

                 from ../regDev.c:10:

/home/fpga/epics/base-3.16.2/include/recSup.h:67:8: note: declared here

struct rset { /* record support entry table */

        ^~~~

In file included from /home/fpga/epics/base-3.16.2/include/dbAccess.h:23,

                 from ../regDev.c:10:

/home/fpga/epics/base-3.16.2/include/dbAccessDefs.h:208:46: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]

epicsShareFunc rset * dbGetRset(const struct dbAddr *paddr);

                                              ^~~~~~

In file included from /home/fpga/epics/base-3.16.2/include/dbBase.h:21,

                 from /home/fpga/epics/base-3.16.2/include/dbAccess.h:19,

                 from ../regDev.c:10:

/home/fpga/epics/base-3.16.2/include/recSup.h:67:8: note: declared here

struct rset { /* record support entry table */

        ^~~~

../regDev.c:21:10: fatal error: memDisplay.h: No existe el fichero o el directorio

#include "memDisplay.h"

          ^~~~~~~~~~~~~~

compilation terminated.

make[1]: *** [/home/fpga/epics/base-3.16.2/configure/RULES_BUILD:235: regDev.o] Error 1

make[1]: se sale del directorio '/home/fpga/iocApp/regdev/O.linux-arm'

make: *** [/home/fpga/epics/base-3.16.2/configure/RULES_ARCHS:58: install.linux-arm] Error 2

 


Replies:
Re: Xilinx ARM64 mmap and regdev module compile error Jeong Han Lee via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Re: Monitored PV limit? Aaron Brown via Tech-talk
Next: RE: ADAndor iKon CCD low saturation point Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Re: Monitored PV limit? Michael Davidsaver via Tech-talk
Next: Re: Xilinx ARM64 mmap and regdev module compile error Jeong Han Lee via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 08 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·