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: | Andrew |
From: | 周永年 <[email protected]> |
To: | "[email protected]" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Mon, 22 Apr 2013 07:26:45 +0000 |
Hello,
Andrew!
I'm Zhou Yong-nian at SSRF,Shanghai,China.
When we started to executing the startup script st.cmd at :
ld<systemO/system.munch
sysAtReboot not found. epicsExit will not be called by reboot. According to http://www.aps.anl.gov/epics/tech-talk/2005/msg00004.php , I added the two routines in bootConfig.c.
In the routine"int sysAtReboot(VOIDFUNCPTR closedown)", the parameter closedown is undeclared.So when I build the bootrom.bin,there is the error message: ======================================================================================================================= C:\Tornado2.2\target\config\mv5500>make bootrom.bin
ccppc -c -mcpu=604 -mstrict-align -ansi -O2 -fvolatile -fno-builtin -Wall -I/h
-I. -IC:\Tornado2.2\target\config\all -IC:\Tornado2.2\target/h -IC:\Tornado2.
2\target/src/config -IC:\Tornado2.2\target/src/drv -DCPU=PPC604 -DTOOL_FAMILY=gn
u -DTOOL=gnu -DMV5500 C:\Tornado2.2\target\config\all\bootConfig.c
C:\Tornado2.2\target\config\all\bootConfig.c: In function `bootLoad':
C:\Tornado2.2\target\config\all\bootConfig.c:2164: `closedown' undeclared (first
use in this function)
C:\Tornado2.2\target\config\all\bootConfig.c:2164: (Each undeclared identifier i
s reported only once
C:\Tornado2.2\target\config\all\bootConfig.c:2164: for each function it appears
in.)
C:\Tornado2.2\target\config\all\bootConfig.c: In function `sysRebootHook':
C:\Tornado2.2\target\config\all\bootConfig.c:4982: warning: implicit declaration
of function `cplusDtors'
make: *** [bootConfig.o] Error 0x1
=============================================================================================
It seems that the parameter 'closedown' is undeclared.
How do you make this two routines work?
Please help us with the error message.We are looking forward to your reply!
Thanks!
Sincerely yours,
Zhou Yong-nian |