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: | Re: linking in IOC makefile for RTEMS |
From: | "Siddons, David via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Johnson, Andrew N." <anj at anl.gov> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Fri, 16 Jul 2021 19:47:18 +0000 |
Hi Andrew,
It doesn't seem to. The file is clearly compiled and included in the support library:
/home/peter/quick-start/rtems/5/bin/arm-rtems5-ar rc libmyexampleSupport.a xxxRecord.o devXxxSoft.o dbSubExample.o devmyexampleVersion.o myexampleHello.o initTrace.o tarball.o
arm-rtems5-nm libmyexampleSupport.a |grep epicsRtems
00000000 R epicsRtemsFSImage
00000000 R epicsRtemsFSImage_size
but not in the myexample executable:
peter@peter-OptiPlex-7070:~/test_ioc/bin/RTEMS-beagleboneblack$ arm-rtems5-nm myexample |grep epicsRtems
8060306c V epicsRtemsFSImage
which is the weak symbol.
Pete.
From: Johnson, Andrew N. <anj at anl.gov>
Sent: Friday, July 16, 2021 3:21 PM To: Siddons, David <siddons at bnl.gov> Cc: EPICS tech-talk <tech-talk at aps.anl.gov> Subject: Re: linking in IOC makefile for RTEMS Hi Pete,
Just an idea, does it make any difference if you remove the tarball.h file from your _SRCS variable (you shouldn’t include .h files in _SRCS anyway, if you want to install them they go into INC instead)?
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|