Hello,
I tryed to start a "soft"-IOC on PC (Windows 2000) by makeing the
example and start it as shown bellow.
Loading the database works, but not loading the records. The parse error
is not a dos/unix line ending problem! - I have tested this. Call of
iocInit shows that there is no record support for the standard records!
C:\project\epics\base-3.14.beta1.Apps\exampleApp\Db>example
epics> dbLoadDatabase "..\..\dbd\example.dbd"
epics> dbLoadRecords "dbExample1.db"
Error Last token ")"
input line: record(ai, "$(user):aiExample")
in: path "." file dbExample1.db line 1
db_parse returned -1
epics> dbAllocRecord(ai) record_size =0
filename="..\dbLexRoutines.c" line number=869
Record support not found new record instance error
epics> dbLoadRecords "dbExample1.db", "HORST"
Error Last token ")"
input line: record(ai, "$(user):aiExample")
in: path "." file dbExample1.db line 1
db_parse returned -1
epics> filename="../../../src/libCom/macLib/macCore.c" line number=700
<string>: user referenced but undefined
filename="..\dbLexRoutines.c" line number=322
macExpandString failed for file dbExample1.db
dbAllocRecord(ai) record_size =0
filename="..\dbLexRoutines.c" line number=869
Record support not found new record instance error
epics> iocInit
############################################################################
### @(#)EPICS IOC CORE built on Jan 25 2002
### @(#)Version R3.14.0.beta.1 $R3-14-0-beta-1$ $2001/09/13 19:13:12$
############################################################################
Starting iocInit
iocInit record support for ai not found
iocInit record support for ao not found
iocInit record support for bi not found
iocInit record support for bo not found
iocInit record support for calc not found
iocInit record support for calcout not found
iocInit record support for compress not found
iocInit record support for dfanout not found
iocInit record support for event not found
iocInit record support for fanout not found
iocInit record support for longin not found
iocInit record support for longout not found
iocInit record support for mbbi not found
iocInit record support for mbbiDirect not found
iocInit record support for mbbo not found
iocInit record support for mbboDirect not found
epics> errlog = 34 messages were discarded
iocInit: All initialization complete
epics> exit
As I know the soft record support should be linked in the example.exe
because there is no 'ld' command for the iocsh. The link command is:
link -nologo /WARN:3 /incremental:no /opt:ref /release
-out:example.exe
xxxRecord.obj devXxxSoft.obj example_registerRecordDeviceDriver.obj
exampleMain
.obj ../../../../base-3.14.beta1/lib/win32-x86/recIocObj.lib
../../../../base
-3.14.beta1/lib/win32-x86/softDevIocObj.lib
../../../../base-3.14.beta1/lib/win3
2-x86/testDevIocObj.lib
../../../../base-3.14.beta1/lib/win32-x86/iocsh.lib ../.
./../../base-3.14.beta1/lib/win32-x86/miscIoc.lib
../../../../base-3.14.beta1/li
b/win32-x86/rsrvIoc.lib
../../../../base-3.14.beta1/lib/win32-x86/dbtoolsIoc.lib
../../../../base-3.14.beta1/lib/win32-x86/asIoc.lib
../../../../base-3.14.beta1
/lib/win32-x86/dbIoc.lib
../../../../base-3.14.beta1/lib/win32-x86/registryIoc.l
ib ../../../../base-3.14.beta1/lib/win32-x86/dbStaticIoc.lib
../../../../base-3.
14.beta1/lib/win32-x86/ca.lib
../../../../base-3.14.beta1/lib/win32-x86/Com.lib
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/testDevIocObj.lib verwendet
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/miscIoc.lib verwendet
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/rsrvIoc.lib verwendet
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/dbtoolsIoc.lib verwendet
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/asIoc.lib verwendet
LINK : warning LNK4005: Keine Objekte der Bibliothek
../../../../base-3.14.beta1
/lib/win32-x86/ca.lib verwendet
This seems to be right. Has anyone a idea why it doesn't work
Gruessle
Bernhard
----------------- [email protected]
-------------------------------------------------------
- Replies:
- Re: Iocsh with win32. Bad soft-record support? Pete R. Jemian
- Navigate by Date:
- Prev:
Re: Newbie question: symb.dbd in example application Andrew Johnson
- Next:
Re: Iocsh with win32. Bad soft-record support? mooney
- 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
- Navigate by Thread:
- Prev:
Re: Newbie question: symb.dbd in example application Andrew Johnson
- Next:
Re: Iocsh with win32. Bad soft-record support? Pete R. Jemian
- 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
|