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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: asyn |
From: | "Mark Rivers" <[email protected]> |
To: | "Chithra Karunakaran" <[email protected]>, <[email protected]> |
Cc: | <[email protected]> |
Date: | Thu, 20 Oct 2005 09:42:25 -0500 |
Chitra, You are missing the file called envPaths. That
file is created automatically when you run “make” in the iocBoot/myIoc
directory. You may just need to run make in your iocBoot directory, or you may
need to edit the Makefile in your iocBoot/myIOC directory to correctly define
the architecture (ARCH) that you are running on. Mark From: Chithra
Karunakaran [mailto:[email protected]] Hi: I am compiling the example device support and application
given in “How to create EPICS device support for a simple serial or GPIB
device” guide. I find the guide very useful. The device support part compiles
without any problem. When I compile the application and run the IOC application
I get the following error. Any one has a suggestion. I have copied the directory
structure and the error messages. I am compiling the programs on a linux
machine using EPICS3.14.7 AB302App AB302Sup
bin configure db dbd documentation iocBoot
lib Makefile #!../../bin/linux-x86/AB302 ## You may have to change AB302 to something else ## everywhere it appears in this file < envPaths Can't open envPaths: No such file or directory macLib: macro TOP is undefined (expanding string cd ${TOP}) ## Register all support components dbLoadDatabase("dbd/AB302.dbd",0,0) filename="../dbLexRoutines.c" line number=234 No such file or directory dbRead opening file
dbd/AB302.dbdAB302_registerRecordDeviceDriver(pdbbase) registerRecordDeviceDriver failed ai registerRecordDeviceDriver failed ao registerRecordDeviceDriver failed bi registerRecordDeviceDriver failed bo registerRecordDeviceDriver failed calc registerRecordDeviceDriver failed calcout registerRecordDeviceDriver failed compress registerRecordDeviceDriver failed dfanout registerRecordDeviceDriver failed event registerRecordDeviceDriver failed fanout registerRecordDeviceDriver failed longin registerRecordDeviceDriver failed longout registerRecordDeviceDriver failed mbbi registerRecordDeviceDriver failed mbbiDirect registerRecordDeviceDriver failed mbbo registerRecordDeviceDriver failed mbboDirect registerRecordDeviceDriver failed permissive registerRecordDeviceDriver failed sel registerRecordDeviceDriver failed seq registerRecordDeviceDriver failed state registerRecordDeviceDriver failed stringin registerRecordDeviceDriver failed stringout registerRecordDeviceDriver failed sub registerRecordDeviceDriver failed subArray registerRecordDeviceDriver failed waveform registerRecordDeviceDriver failed asyn macLib: macro AB302 is undefined (expanding string cd ${AB302}) dbLoadRecords("db/devAB302.db","P=AB302:,R=,L=0,A=0") filename="../dbLexRoutines.c" line number=234 No such file or directory dbRead opening file db/devAB302.db## Load
record instances #dbLoadRecords("db/xxx.db","user=karunacHost") macLib: macro TOP is undefined (expanding string cd
${TOP}/iocBoot/${IOC}) macLib: macro IOC is undefined (expanding string cd
${TOP}/iocBoot/${IOC}) drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0) asynSetOption("L0", -1, "baud", "9600") 2005/10/19 16:15:38.409 /dev/ttyS0 Can't open Permission denied 166967288 autoConnect could not connect bash-3.00$ ls Makefile st.cmd Thanks, Chithra. Chithra Karunakaran Canadian Light Source Inc. Phone: (306) 657-3749 |