EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: base3.14.9 compile error under uC5282-RTEMS
From: Till Straumann <[email protected]>
To: "K.M Ha" <[email protected]>
Cc: [email protected]
Date: Fri, 09 Feb 2007 09:04:21 -0800
RTM :-)

http://www.aps.anl.gov/epics/base/R3-14/9-docs/KnownProblems.html

HTH
-- Till

K.M Ha wrote:
> Hi All,
>
> I found error messages when the base-3.14.9 IOC compile.
> Dose anyone have a proposal for solve this errors?
>
>
> /usr/local/rtems/rtems-4.7/bin/m68k-rtems4.7-gcc --pipe -B/usr/local/rtems/rtems-4.7/m68k-rtems4.7/uC5282/lib/ -specs bsp_specs -qrtems   -fasm -c   -m528x               -DUNIX    -ansi  -O4 -g -g  -Wall      -DMY_DO_BOOTP=NULL     -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov  -I. -I.. -I../../../../include/os/RTEMS -I../../../../include         ../rtems_init.c
> ../rtems_init.c:40:19: error: iocsh.h: No such file or directory
> ../rtems_init.c: In function 'initialize_local_filesystem':
> ../rtems_init.c:151: warning: implicit declaration of function 'open'
> ../rtems_init.c: In function 'initialize_remote_filesystem':
> ../rtems_init.c:192: warning: implicit declaration of function 'rpcUdpInit'
> ../rtems_init.c:193: warning: implicit declaration of function 'nfsInit'
> ../rtems_init.c:248: warning: implicit declaration of function 'nfsMount'
> ../rtems_init.c: At top level:
> ../rtems_init.c:305: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netStatArg0'
> ../rtems_init.c:306: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> ../rtems_init.c:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netStatFuncDef'
> ../rtems_init.c:308: warning: type defaults to 'int' in declaration of 'iocshArgBuf'
> ../rtems_init.c:308: error: expected ';', ',' or ')' before '*' token
> ../rtems_init.c:313: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stackCheckFuncDef'
> ../rtems_init.c:314: warning: type defaults to 'int' in declaration of 'iocshArgBuf'
> ../rtems_init.c:314: error: expected ';', ',' or ')' before '*' token
> ../rtems_init.c:319: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'heapSpaceFuncDef'
> ../rtems_init.c:320: warning: type defaults to 'int' in declaration of 'iocshArgBuf'
> ../rtems_init.c:320: error: expected ';', ',' or ')' before '*' token
> ../rtems_init.c:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nfsMountArg0'
> ../rtems_init.c:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nfsMountArg1'
> ../rtems_init.c:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nfsMountArg2'
> ../rtems_init.c:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> ../rtems_init.c:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nfsMountFuncDef'
> ../rtems_init.c:341: warning: type defaults to 'int' in declaration of 'iocshArgBuf'
> ../rtems_init.c:341: error: expected ';', ',' or ')' before '*' token
> ../rtems_init.c: In function 'iocshRegisterRTEMS':
> ../rtems_init.c:362: warning: implicit declaration of function 'iocshRegister'
> ../rtems_init.c:362: error: 'netStatFuncDef' undeclared (first use in this function)
> ../rtems_init.c:362: error: (Each undeclared identifier is reported only once
> ../rtems_init.c:362: error: for each function it appears in.)
> ../rtems_init.c:362: error: 'netStatCallFunc' undeclared (first use in this function)
> ../rtems_init.c:363: error: 'stackCheckFuncDef' undeclared (first use in this function)
> ../rtems_init.c:363: error: 'stackCheckCallFunc' undeclared (first use in this function)
> ../rtems_init.c:364: error: 'heapSpaceFuncDef' undeclared (first use in this function)
> ../rtems_init.c:364: error: 'heapSpaceCallFunc' undeclared (first use in this function)
> ../rtems_init.c:366: error: 'nfsMountFuncDef' undeclared (first use in this function)
> ../rtems_init.c:366: error: 'nfsMountCallFunc' undeclared (first use in this function)
> ../rtems_init.c: In function 'initConsole':
> ../rtems_init.c:378: warning: implicit declaration of function 'fileno'
> ../rtems_init.c: In function 'Init':
> ../rtems_init.c:535: warning: implicit declaration of function 'tzset'
> ../rtems_init.c:545: warning: implicit declaration of function 'main'
> make[4]: *** [rtems_init.o] error 1
> make[4]: ³ª°¨ `/usr/local/epics/base-3.14.9/src/RTEMS/base/O.RTEMS-uC5282' directory
> make[3]: *** [install.RTEMS-uC5282] error 2
> make[3]: ³ª°¨ `/usr/local/epics/base-3.14.9/src/RTEMS/base' directory
> make[2]: *** [base.install] error 2
> make[2]: ³ª°¨ `/usr/local/epics/base-3.14.9/src/RTEMS' directory®
> make[1]: *** [RTEMS.install] error 2
> make[1]: ³ª°¨ `/usr/local/epics/base-3.14.9/src' directory
> make: *** [src.install]  error 2
> [root@localhost base-3.14.9]#
>
> Kiman Ha,
> Pohang Accelator Labaratory
>   


References:
base3.14.9 compile error under uC5282-RTEMS K.M Ha

Navigate by Date:
Prev: Re: base3.14.9 compile error under uC5282-RTEMS Janet Anderson
Next: Re: CAC: Ignored conn resp to conn chan CID=0 SID=4180934912? Jeffrey O. Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: base3.14.9 compile error under uC5282-RTEMS Janet Anderson
Next: CAC: Ignored conn resp to conn chan CID=0 SID=4180934912? Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·