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  2019  2020  <20212022  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  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: asyn vxi11 rpc issue cross compile for yocto powerpc64-fsl-linux
From: junkes via Tech-talk <tech-talk at aps.anl.gov>
To: Tech talk <tech-talk at aps.anl.gov>
Date: Thu, 20 May 2021 16:22:28 +0200
I am in the process of cross-compiling EPICS7 for powerpc64-fsl-linux.

epics-base works great, also already some support-modules like sncseq, sscan, calc, busy …

Now I just fail with asyn on the vxi11 part.

rpc/rpc.h can only be found on the yocto-sysroot under usr/include/tirpc. Also I don't see any rpc-support like rpcgen etc..

That may also be due to how it was built with yocto. But this part I have not yet understood and I use 
recipes from ESS and am quite happy where I have now arrived with their help ;-)

/opt/ifc14xx/2.6-4.14/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc64-fsl-linux/powerpc64-fsl-linux-gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE         -DUSE_TYPED_RSET -DUSE_TYPED_DSET -DUSE_TYPED_DRVET -DBUILDING_asyn_API   -D_ppc_64_ --sysroot=/opt/ifc14xx/2.6-4.14/sysroots/ppc64e6500-fsl-linux -mhard-float -mcpu=e6500  -DUNIX  -Dlinux      -O3   -Wall -Werror-implicit-function-declaration     -DUSE_TYPED_RSET -DUSE_TYPED_DSET -DUSE_TYPED_DRVET -DHAVE_LSREC -DHAVE_CALCMOD -DHAVE_DEVINT64   -m64 --sysroot=/opt/ifc14xx/2.6-4.14/sysroots/ppc64e6500-fsl-linux -mhard-float -mcpu=e6500 -pipe -feliminate-unused-debug-types      -fPIC -I. -I../O.Common -I. -I. -I../../asyn/drvAsynSerial/os/Linux -I../../asyn/drvAsynSerial/os/default -I.. -I../../asyn/asynDriver -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces -I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions -I../../asyn/asynPortDriver -I../../asyn/asynPortClient -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11 -I../../asyn/drvPrologixGPIB -I../../asyn/gsIP488 -I../../asyn/ni1014 -I../../asyn/devGpib -I../../include/compiler/gcc -I../../include/os/Linux -I../../include         -I/home/yocto/EPICS/epics-support/seq-2.2.8/include -I/home/yocto/EPICS/epics-base/include/compiler/gcc -I/home/yocto/EPICS/epics-base/include/os/Linux -I/home/yocto/EPICS/epics-base/include   -I/home/yocto/EPICS/epics-support/sscan/include   -I/home/yocto/EPICS/epics-support/calc/include  -I/home/yocto/EPICS/epics-support/autosave/include/os/Linux -I/home/yocto/EPICS/epics-support/autosave/include   -I/home/yocto/EPICS/epics-support/busy/include         -I/home/yocto/EPICS/epics-support/motor/include           -c vxi11core_xdr.c
In file included from vxi11core_xdr.c:6:
vxi11core.h:9:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
         ^~~~~~~~~~~
compilation terminated.

Is there a variable/flag I can use to keep the vxi11 stuff out of the build process of asyn?

Danke Heinz


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
RE: [EXTERNAL] asyn vxi11 rpc issue cross compile for yocto powerpc64-fsl-linux Pearson, Matthew R. via Tech-talk

Navigate by Date:
Prev: Linux memory problems/questions Mark Rivers via Tech-talk
Next: RE: [EXTERNAL] asyn vxi11 rpc issue cross compile for yocto powerpc64-fsl-linux Pearson, Matthew R. 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  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Linux memory problems/questions Michael Davidsaver via Tech-talk
Next: RE: [EXTERNAL] asyn vxi11 rpc issue cross compile for yocto powerpc64-fsl-linux Pearson, Matthew R. 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  2019  2020  <20212022  2023  2024 
ANJ, 20 May 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·