EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Building EPICS for RTEMS TMS570LS3137 HDK
From: Florian Feldbauer <[email protected]>
To: Benjamin Franksen <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Fri, 10 Jun 2016 15:50:06 +0200

Thanks for the info!

In this case, I will try to downgrade my RTEMS to 4.10


On 06/10/2016 02:25 PM, Benjamin Franksen wrote:
AFAIK not even RTEMS-4.11 is supported (but 4.10 is). See teh recently
opened https://bugs.launchpad.net/bugs/1587610

Cheers
Ben

Am 10.06.2016 um 08:25 schrieb Florian Feldbauer:
Hey all,

I'm currently trying to build EPICS for the Hardware Development Kit (HDK)
of the TMS570LS3137 Microprocessor [1] running RTEMS.

I'm using RTEMS 4.12 and tried base 3.14.12.4 and 3.15.4
but both base versions fail to build.

This is the failing compiler step:

/opt/rtems/4.12/bin/arm-rtems4.12-g++
-B/opt/rtes/4.12/arm-rtems4.12/tms570ls3137_hdk_sdram/lib/ -specs
bsp_specs -qrtems     -march=armv7-r -mthumb -mbig-endian
-mfpu=vfpv3-d16 -mfloat-abi=hard                    -DUNIX      -O2
-ggdb -ffunction-sections -fdata-sections   -Wall           -I.
-I../O.Common -I. -I../../../src/libCom/osi/compiler/gcc
-I../../../src/libCom/osi/compiler/default -I.
-I../../../src/libCom/osi/os/RTEMS -I../../../src/libCom/osi/os/posix
-I../../../src/libCom/osi/os/default -I.. -I../../../src/libCom/as
-I../../../src/libCom/bucketLib -I../../../src/libCom/calc
-I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd
-I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf
-I../../../src/libCom/ellLib -I../../../src/libCom/env
-I../../../src/libCom/error -I../../../src/libCom/fdmgr
-I../../../src/libCom/flex -I../../../src/libCom/freeList
-I../../../src/libCom/gpHash -I../../../src/libCom/iocsh
-I../../../src/libCom/log -I../../../src/libCom/macLib
-I../../../src/libCom/misc -I../../../src/libCom/osi
-I../../../src/libCom/pool -I../../../src/libCom/ring
-I../../../src/libCom/taskwd -I../../../src/libCom/timer
-I../../../src/libCom/yacc -I../../../src/libCom/yacc
-I../../../src/libCom/yajl -I../../../include/compiler/gcc
-I../../../include/os/RTEMS -I../../../include         -c
../../../src/libCom/osi/epicsEvent.cpp
In file included from ../../../src/libCom/osi/osiSock.h:21:0,
                 from
../../../src/libCom/misc/ipAddrToAsciiAsynchronous.h:29,
                 from
../../../src/libCom/misc/ipAddrToAsciiAsynchronous.cpp:31:
../../../src/libCom/osi/os/RTEMS/osdSock.h:68:29: error: expected
identifier before numeric constant
 #define bzero(p,n) memset(p,0,n)
                             ^
../../../src/libCom/osi/os/RTEMS/osdSock.h:68:29: error: expected ',' or
'...' before numeric constant
../../../src/libCom/osi/os/RTEMS/osdSock.h:68:20: error: conflicting
declaration of C function 'void memset(void*, int)'
 #define bzero(p,n) memset(p,0,n)
                    ^
In file included from /opt/rtems/4.12/arm-rtems4.12/include/wchar.h:4:0,
                 from
/opt/rtems/4.12/lib/gcc/arm-rtems4.12/6.1.1/include/c++/cwchar:44,
                 from
/opt/rtems/4.12/lib/gcc/arm-rtems4.12/6.1.1/include/c++/bits/postypes.h:40,
                 from
/opt/rtems/4.12/lib/gcc/arm-rtems4.12/6.1.1/include/c++/bits/char_traits.h:40,

                 from
/opt/rtems/4.12/lib/gcc/arm-rtems4.12/6.1.1/include/c++/string:40,
                 from
../../../src/libCom/misc/ipAddrToAsciiAsynchronous.cpp:25:
/opt/rtems/4.12/arm-rtems4.12/include/string.h:25:7: note: previous
declaration 'void* memset(void*, int, size_t)'
 _PTR  _EXFUN(memset,(_PTR, int, size_t));
       ^
../../../configure/RULES_BUILD:234: recipe for target
'ipAddrToAsciiAsynchronous.o' failed
make[3]: *** [ipAddrToAsciiAsynchronous.o] Error 1

Since I'm completely new to RTEMS maybe I forgot something, or did
something wrong...
Anybody has an idea?

Cheers,
Florian

[1] http://processors.wiki.ti.com/index.php/TMS570LS31x_HDK_Kit


    

-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29608         |
----------------------------------------

References:
Building EPICS for RTEMS TMS570LS3137 HDK Florian Feldbauer
Re: Building EPICS for RTEMS TMS570LS3137 HDK Benjamin Franksen

Navigate by Date:
Prev: Re: Building EPICS for RTEMS TMS570LS3137 HDK Benjamin Franksen
Next: Re: EPICS Archiver Appliance Hugo Slepicka
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Building EPICS for RTEMS TMS570LS3137 HDK Benjamin Franksen
Next: EPICS support for LonWorks field bus? Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·