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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building MEDM on linux rhel7
From: Mark Rivers via Tech-talk <[email protected]>
To: "Madden, Timothy J." <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 20 May 2019 19:53:07 +0000
Note that in your gcc command -I is followed immediately by -MM, rather than by an include directory. This suggests a problem with configure/RELEASE, since it should probably be the location of EPICS base.

Mark


Sent from my iPhone

On May 20, 2019, at 1:16 PM, Madden, Timothy J. via Tech-talk <[email protected]<mailto:[email protected]>> wrote:



I am building medm on rhel7. Medm is already installed, but when typing into text input fields, it will not accept

entry. caput to the PV works. Strange. I assume that there are mismatched libraries on the OS and whatever

medm was built with. I have seen this very problem on windows boxes.



So when building, I yum installed all the packeages from the medm website, https://epics.anl.gov/extensions/medm/index.php


I am using this linux:
Linux csi357421.aps.anl.gov<http://csi357421.aps.anl.gov> 3.10.0-957.10.1.el7.x86_64 #1 SMP Thu Feb 7 07:12:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


I am using base 3 15 6

I get these errors during make, when trying to make printutils. See below. Any ideas?
Tim Madden



bash-4.2$
bash-4.2$ make
make -C ./printUtils install
make[1]: Entering directory `/home/RFINJ/swWork/epics/base-3.15.6/ext/medm-MEDM3_1_11/printUtils'
make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory `/home/RFINJ/swWork/epics/base-3.15.6/ext/medm-MEDM3_1_11/printUtils/O.linux-x86_64'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF xwd2ps.d  ../xwd2ps.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF xwd.d  ../xwd.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF utilPrint.d  ../utilPrint.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF ps_utils.d  ../ps_utils.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF pUtils.d  ../pUtils.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -MM -MF getopt.d  ../getopt.c
cc1: error: to generate dependencies you must specify either -M or -MM
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include     -I    -c ../getopt.c
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [getopt.o] Error 1
make[2]: Leaving directory `/home/RFINJ/swWork/epics/base-3.15.6/ext/medm-MEDM3_1_11/printUtils/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/home/RFINJ/swWork/epics/base-3.15.6/ext/medm-MEDM3_1_11/printUtils'
make: *** [printUtils.install] Error 2



Replies:
Re: Building MEDM on linux rhel7 Madden, Timothy J. via Tech-talk
References:
Building MEDM on linux rhel7 Madden, Timothy J. via Tech-talk

Navigate by Date:
Prev: Building MEDM on linux rhel7 Madden, Timothy J. via Tech-talk
Next: Re: Building MEDM on linux rhel7 Madden, Timothy J. 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building MEDM on linux rhel7 Madden, Timothy J. via Tech-talk
Next: Re: Building MEDM on linux rhel7 Madden, Timothy J. 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  <20192020  2021  2022  2023  2024 
ANJ, 20 May 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·