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 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 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: asyn build fail |
From: | "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Li, Ji" <liji at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Siddons, David" <siddons at bnl.gov> |
Date: | Wed, 31 Aug 2022 23:02:14 +0000 |
Hi Pete, this happened to many people, including me. I guess this will continue trip other people. See this report:
https://github.com/epics-modules/asyn/issues/95. From:
Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Li, Ji via Tech-talk <tech-talk at aps.anl.gov> Hi Pete, You can uncomment this line in CONFIG_SITE of asyn: # TIRPC=yes Then the compiler should be able to look for this file in /usr/include/tirpc/. Best, -Ji From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Siddons, David via Tech-talk <tech-talk at aps.anl.gov> I am provisioning a new machine (Ubuntu 22.04), and have installed and built base-3.15.9. I'm now installing synApps, and the build failed when building asyn, see below: make[3]: Entering directory '/home/peter/epics/synApps/support/asyn-R4-42/asyn/O.linux-x86_64'
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -DUSE_TYPED_DRVET -DBUILDING_asyn_API -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DUSE_TYPED_RSET -DUSE_TYPED_DSET
-DUSE_TYPED_DRVET -DHAVE_LSREC -mtune=generic -m64 -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/peter/epics/synApps/support/ipac-2-16/include -I/home/peter/epics/synApps/support/seq-2-2-9/include -I/home/peter/epics/base-3.15.9/include/compiler/gcc
-I/home/peter/epics/base-3.15.9/include/os/Linux -I/home/peter/epics/base-3.15.9/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 9 | #include <rpc/rpc.h> | ^~~~~~~~~~~ compilation terminated. The file /usr/include/rpc/rpc.h does not exist. There is a file /usr/include/tirpc/rpc/rpc.h. Should I simply copy the files into /usr/include? Or edit the offending source files to point to these
new locations? Pete. |