EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RTEMS build issue, rtems_3c509_driver_attach
From: Andrew Johnson via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Wed, 20 Jul 2022 10:48:46 -0500
This issue is nothing to do with my RTEMS-uC5282 build, it's RTEMS-pc686 where the problem is. In my RTEMS-5.1 bsp.h header there is a declaration of this function that conflicts with ours:
tux% cd /local/anj/RTEMS-5.1/rtems-5.1
tux% ack -C3 rtems_3c509_driver_attach
i386-rtems5/pc686/lib/include/bsp.h
95-#define BSP_DEC21140_NETWORK_DRIVER_NAME    "dc1"
96-#define BSP_DEC21140_NETWORK_DRIVER_ATTACH  rtems_dec21140_driver_attach
97-
98:extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config);
99-#define BSP_3C509_NETWORK_DRIVER_NAME    "3c1"
100:#define BSP_3C509_NETWORK_DRIVER_ATTACH  rtems_3c509_driver_attach
101-
102-#ifndef RTEMS_BSP_NETWORK_DRIVER_NAME
103-#define RTEMS_BSP_NETWORK_DRIVER_NAME   BSP_DEC21140_NETWORK_DRIVER_NAME

tux% cd /home/phoebus/ANJ/epics/base/7.0
tux% ack -C3 rtems_3c509_driver_attach
modules/libcom/RTEMS/rtems_netconfig.c
71-    rtems_fxp_attach,                   /* attach function */
72-    &ne2k_driver_config,             /* link to next interface */
73-};
74:// extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *, int);
75-static struct rtems_bsdnet_ifconfig e3c509_driver_config = {
76-    "ep0",                              /* name */
77:    rtems_3c509_driver_attach,          /* attach function */
78-    &fxp_driver_config,                 /* link to next interface */
79-};
80-#define FIRST_DRIVER_CONFIG &e3c509_driver_config


I don't understand why this isn't causing similar problems with the GHA builds, presumably Michael's RTEMS installation is different somehow. Can we just remove the function declaration or is it more complicated than that?

- Andrew
-- 
Complexity comes for free, Simplicity you have to work for.

Replies:
Re: RTEMS build issue, rtems_3c509_driver_attach Michael Davidsaver via Core-talk

Navigate by Date:
Prev: epics-7.0 » linux32 - Build # 411 - Still Unstable! APS Jenkins via Core-talk
Next: Re: RTEMS build issue, rtems_3c509_driver_attach Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: epics-7.0 » linux32 - Build # 432 - Still Unstable! APS Jenkins via Core-talk
Next: Re: RTEMS build issue, rtems_3c509_driver_attach Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 25 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·