--- Begin Message ---
For anyone who hasn't yet built EPICS on Linux 5.0, I found the problem
with many of the error messages I reported when trying to build the
extensions, a few days ago. The answer was in the glibc FAQ (Thanks to
my supervisor for directing me to it):
"_GNU_SOURCE: glibc does not make the GNU extensions available
automatically. If a program depends on the GNU extensions or some other
non-standard functionality, it is necessary to compile it with the C
compiler option -D_GNU_SOURCE, or better to put #define _GNU_SOURCE at
the beginning of your source files, before any C library header files
are included. This difference normally manifests itself in the form
of missing prototypes and/or data type definitions. Thus, if you get
such errors, the first thing you should do is try defining _GNU_SOURCE
and see if that makes the problem go away."
In most cases, it does.
Many of you who have been working with Linux a long time, probably knew
this, but for those whose experience is as limited as mine, I figured
I'd post this, and maybe it will help someone.
--
Bonnie Madre
Accelerator Development
Integration and Assessment Group
ANALOG ADDRESS:
Thomas Jefferson National Accelerator Facility (TJNAF)
MS 58
12000 Jefferson Avenue
Newport News, VA 23606
(757) 269-7059
E-MAIL ADDRESS:
[email protected]
--- End Message ---
- Navigate by Date:
- Prev:
[no subject] David Hon
- Next:
RE: Jeff Hill
- 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
- Navigate by Thread:
- Prev:
[no subject] David Hon
- Next:
RE: Jeff Hill
- 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
|