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