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: Re: Xilinx ARM64 mmap and regdev module compile error
From: Jeong Han Lee via Tech-talk <[email protected]>
To: "Ha, Kiman" <[email protected]>, "[email protected]" <[email protected]>, "Zimoch Dirk (PSI)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 8 Nov 2019 23:46:22 +0100
Hi Kiman,

  You need memDisplay[1] in order to compile regdev[3] correctly.

And there may be one more dependent module, symbolname [2]. Please look at
https://github.com/paulscherrerinstitute/memDisplay/blob/master/configure/RELEASE#L22

 However, symbolname doesn't have the standard EPICS building system.

  HTH
  Han


[1] https://github.com/paulscherrerinstitute/memDisplay
[2] https://github.com/paulscherrerinstitute/symbolname
[3] https://github.com/paulscherrerinstitute/regdev



On 11/8/19 7:52 PM, Ha, Kiman via Tech-talk wrote:
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 Ha, Kiman via Tech-talk
References:
Xilinx ARM64 mmap and regdev module compile error Ha, Kiman via Tech-talk

Navigate by Date:
Prev: Re: Waveform record not sending monitor on .NORD field Lucas Russo via Tech-talk
Next: RE: Xilinx ARM64 mmap and regdev module compile error Ha, Kiman 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: Xilinx ARM64 mmap and regdev module compile error Ha, Kiman via Tech-talk
Next: RE: Xilinx ARM64 mmap and regdev module compile error Ha, Kiman 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 ·