Recently libmotif-dev has been replaced with lesstif2-dev
(under ubuntu anyways)
therefore...
in the file medm/xc/Matrix.c there is a line (44 about):
/* Internal Motif functions not defined in header files */
void _XmDrawShadow();
Well under ubuntu we used to have libmotif-dev package for which this
was needed.
This has been replaced with lesstif2-dev
Now the line is no longer needed.
Infact it gives a compile error if it is there
Further:
in medm/xc/WheelSwitch.c:
line 232:
Widget _XmGetTabGroup();
Change this to:
/*Widget _XmGetTabGroup();*/
#define _XmGetTabGroup XmGetTabGroup
As XmGetTabGroup is defined now!
I'm still getting these warnings inside xc folder compile:
gcc -ansi -pedantic -D_POSIX_C_SOURCE=199506L -O3 -Wall -D_X86_
-Dlinux -fPIC -D_REENTRANT -DUNIX -D_BSD_SOURCE -I. -I..
-I/usr/X11R6/include -I/usr/X11R6/include/X11
-I../../../../include/os/Linux -I../../../../include
-I/epics/base/include/os/Linux -I/epics/base/include
-c ../WheelSwitch.c
../WheelSwitch.c: In function âInitializeâ:
../WheelSwitch.c:687: warning: passing argument 1 of â_XmGetFocusPolicyâ
from incompatible pointer type
../WheelSwitch.c: In function âbtn1DownProcâ:
../WheelSwitch.c:2831: warning: passing argument 1 of
â_XmDispatchGadgetInputâ from incompatible pointer type
../WheelSwitch.c: In function âenterWindowProcâ:
../WheelSwitch.c:3040: warning: passing argument 1 of
â_XmGetFocusPolicyâ from incompatible pointer type
../WheelSwitch.c: In function âleaveWindowProcâ:
../WheelSwitch.c:3066: warning: passing argument 1 of
â_XmGetFocusPolicyâ from incompatible pointer type
But medm compiles and seems to work :)
- Navigate by Date:
- Prev:
RE: host watchdog and PLC Bryce Karnaghan
- Next:
CMLOG error :( Heinrich du Toit
- 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:
RE: Deadlock on epicsEvent Jeff Hill
- Next:
CMLOG error :( Heinrich du Toit
- 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
|