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  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EDM in RHEL8 or Centos8
From: "Williams Jr., Ernest L. via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Ernesto Paiser <ernesto_paiser at lynceantech.com>
Date: Fri, 3 Apr 2020 14:49:08 +0000
Hi Ernesto,
How is it going?

Our production systems are using mainly RHEL6 and RHEL7.
I have started looking ahead to RHEL 8.

What version of EDM are you using there?

Please provide more detail:

  1. Version of EPICS
  2. Version of EDM
  3. Version of giflib
Here is what I have on my centos8 box:
OS = CentOS Linux release 8.1.1911 (Core)
EPICS BASE = 7.0.3.1
EDM = 1.12.105B
GIFLIB = giflib-devel-5.1.4-3.el8.x86_64

Looks like we have a problem.
Here is my error message:

make -C ./giflib install
make[1]: Entering directory '/usr/local/controlsDev/epics/extensions/edm/R1.12.105B-1.2.0/giflib'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/usr/local/controlsDev/epics/extensions/edm/R1.12.105B-1.2.0/giflib/O.linux-x86_64'
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3   -Wall     -std=c++98 -fpermissive -Wno-write-strings -DNO_UNORDERED_MAP -DSINGLE_THREADED=1 -D__epics__=1  -mtune=generic      -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include          -I/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/include/compiler/gcc -I/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/include/os/Linux -I/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/include     -I../../util -I../../edmlib -I/usr/include -I/usr/include/X11    -c ../gif.cc
../gif.cc: In constructor ‘activeGifClass::activeGifClass(const activeGifClass*)’:
../gif.cc:245:5: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
 int status;
     ^~~~~~
../gif.cc: In member function ‘int activeGifClass::readGifFile()’:
../gif.cc:24:50: error: too few arguments to function ‘GifFileType* DGifOpenFileName(const char*, int*)’
   #define GIF_OPEN_FILE(gif) DGifOpenFileName(gif)
                                                  ^
../gif.cc:442:11: note: in expansion of macro ‘GIF_OPEN_FILE’
     gif = GIF_OPEN_FILE( name );
           ^~~~~~~~~~~~~
In file included from ../gif.h:28,
                 from ../gif.cc:39:
/usr/include/gif_lib.h:179:14: note: declared here
 GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
              ^~~~~~~~~~~~~~~~
../gif.cc:23:48: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’
   #define GIF_CLOSE_FILE(gif) DGifCloseFile(gif)
                                                ^
../gif.cc:898:12: note: in expansion of macro ‘GIF_CLOSE_FILE’
   status = GIF_CLOSE_FILE( gif );
            ^~~~~~~~~~~~~~
In file included from ../gif.h:28,
                 from ../gif.cc:39:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^~~~~~~~~~~~~
../gif.cc:23:48: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’
   #define GIF_CLOSE_FILE(gif) DGifCloseFile(gif)
                                                ^
../gif.cc:910:30: note: in expansion of macro ‘GIF_CLOSE_FILE’
   if ( fileOpened ) status = GIF_CLOSE_FILE( gif );
                              ^~~~~~~~~~~~~~
In file included from ../gif.h:28,
                 from ../gif.cc:39:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^~~~~~~~~~~~~
make[2]: *** [/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/configure/RULES_BUILD:251: gif.o] Error 1
make[2]: Leaving directory '/usr/local/controlsDev/epics/extensions/edm/R1.12.105B-1.2.0/giflib/O.linux-x86_64'
make[1]: *** [/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/usr/local/controlsDev/epics/extensions/edm/R1.12.105B-1.2.0/giflib'
make: *** [/usr/local/controlsDev/epics/base/R7.0.3.1-1.0/configure/RULES_DIRS:84: giflib.install] Error 2'


Cheers,
Ernesto


Replies:
Re: EDM in RHEL8 or Centos8 Ernesto Paiser via Tech-talk
References:
EDM in RHEL8 or Centos8 Ernesto Paiser via Tech-talk

Navigate by Date:
Prev: Re: Setting an array to zero length Ralph Lange via Tech-talk
Next: RE: Packages to build EPICS base, synApps, and areaDetector on Centos 8 Mark Rivers via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: EDM in RHEL8 or Centos8 Ernesto Paiser via Tech-talk
Next: Re: EDM in RHEL8 or Centos8 Ernesto Paiser via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 03 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·