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

Subject: Re: MEDM installation
From: Mark Rivers <[email protected]>
To: Ignacio Casal Iglesias <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 19 Jun 2018 15:04:46 +0000
The problem is the -I with no directory after it. That causes the -MM to be ignored.  There is probably a USR_INCLUDES with an undefined macro.

Mark


Sent from my iPhone

On Jun 19, 2018, at 9:19 AM, Ignacio Casal Iglesias <[email protected]<mailto:[email protected]>> wrote:

Hello tech-talkers,

I am trying to install MEDM on CentOS for the first time but I get an error on the process. I have downloaded the tar file corresponding to the version 3.1.11 and unzipped it in the EPICS/extensions/src directory. Then I do make from the extensions directory and get the following error:

usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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 -Wextra      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../base/include/compiler/gcc -I../../../../../base/include/os/Linux -I../../../../../base/include   -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



Am I missing any step in the installation process? I haven't find any installation manual so it is possible I am missing something obvious.

Thanks,


<image001.gif>

Ignacio Casal Iglesias
Desarrollador de software/ Software developer

GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 33 29
Fax +34 91 807 21 99
www.gmv.com <http://www.gmv.com/>
<image002.png><http://www.facebook.com/infoGMV>

<image003.png><http://www.twitter.com/infoGMV_es>

<image004.png><https://plus.google.com/+Gmvcompany>

<image005.png><http://www.youtube.com/infoGMV>

<image006.png><https://www.linkedin.com/company/gmv>

<image007.png><http://www.gmv.com/en/RSS>


<image008.png><http://www.gmv.com/blog_gmv/language/en/>





P Please consider the environment before printing this e-mail.

________________________________
This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. Thank you.
________________________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informaci?n clasificada por su emisor como confidencial en el marco de su Sistema de Gesti?n de Seguridad de la Informaci?n siendo para uso exclusivo del destinatario, quedando prohibida su divulgaci?n copia o distribuci?n a terceros sin la autorizaci?n expresa del remitente. Si Vd. ha recibido este mensaje err?neamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboraci?n.
________________________________
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informa??o confidencial, de acordo com nosso Sistema de Gest?o de Seguran?a da Informa??o, sendo para uso exclusivo do destinat?rio e estando proibida a sua divulga??o, c?pia ou distribui??o a terceiros sem autoriza??o expressa do remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o remetente e apague-a. Obrigado pela sua colabora??o.
________________________________

GIF image

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image


References:
MEDM installation Ignacio Casal Iglesias

Navigate by Date:
Prev: MEDM installation Ignacio Casal Iglesias
Next: Re: MEDM installation Andrew Johnson
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MEDM installation Ignacio Casal Iglesias
Next: Re: MEDM installation Andrew Johnson
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 19 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·