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: | Build edm failed on Centos 7 |
From: | "yeeon" <[email protected]> |
To: | <[email protected]> |
Date: | Wed, 11 May 2016 09:43:42 +0800 |
Hi,
I build edm edm-1-12-102.tgz
on newest Centos 7.2, somebody can help me?
Please find the following message:
../x_text_dsp_obj.cc:4432:71: error: no matching function for call to
‘gcClass::setBG(int, int*)’
actWin->executeGc.setBG(
bgColor.getDisconnectedIndex(), &blink );
^
../x_text_dsp_obj.cc:4432:71: note: candidate is:
In file included from ../../../../include/edm/color_pkg.h:40:0,
from ../../../../include/edm/act_grf.h:30,
from ../../../../include/edm/ulBindings.h:26,
from ../x_text_dsp_obj.h:26,
from ../x_text_dsp_obj.cc:33:
../../../../include/edm/gc_pkg.h:129:5: note: int gcClass::setBG(unsigned
int)
int setBG (
^
../../../../include/edm/gc_pkg.h:129:5: note: candidate expects
1 argument, 2 provided
../x_text_dsp_obj.cc:4564:57: error: no matching function for call to
‘gcClass::setBG(int, int*)’
actWin->executeGc.setBG( bgColor.getIndex(),
&blink );
^
../x_text_dsp_obj.cc:4564:57: note: candidate is:
In file included from ../../../../include/edm/color_pkg.h:40:0,
from ../../../../include/edm/act_grf.h:30,
from ../../../../include/edm/ulBindings.h:26,
from ../x_text_dsp_obj.h:26,
from ../x_text_dsp_obj.cc:33:
../../../../include/edm/gc_pkg.h:129:5: note: int gcClass::setBG(unsigned
int)
int setBG (
^
../../../../include/edm/gc_pkg.h:129:5: note: candidate expects
1 argument, 2 provided
../x_text_dsp_obj.cc:4417:15: warning: unused variable ‘args1’
[-Wunused-variable]
Arg args[10], args1[10];
^
../x_text_dsp_obj.cc:4418:8: warning: unused variable ‘n1’
[-Wunused-variable]
int n, n1;
^
../x_text_dsp_obj.cc: In member function ‘virtual void
activeXTextDspClass::btnDown(XButtonEvent*, int, int, int, int, int*)’:
../x_text_dsp_obj.cc:5171:40: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
(XtCallbackProc)
xtdoCancelKp );
^
../x_text_dsp_obj.cc:5177:40: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
(XtCallbackProc)
xtdoCancelKp );
^
../x_text_dsp_obj.cc:5188:40: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
(XtCallbackProc)
xtdoCancelKp );
^
../x_text_dsp_obj.cc:5194:40: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
(XtCallbackProc)
xtdoCancelKp );
^
../x_text_dsp_obj.cc:5248:20: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
NULL, NULL, NULL );
^
../x_text_dsp_obj.cc:5260:48: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
Strncat( selectString,
"|", XTDC_K_MAX );
^
make[2]: *** [x_text_dsp_obj.o] Error 1
make[2]: Leaving directory
`/opt/epics/extensions/src/edm/baselib/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/opt/epics/extensions/src/edm/baselib'
make: *** [baselib.install] Error 2 |