Experimental Physics and Industrial Control System
Mark,
Try to compile without Xp. makefile should contains
USR_LIBS_Linux = Xm Xt Xmu X11 Xext
instead of
USR_LIBS_Linux = Xm Xt Xp Xmu X11 Xext
Han
On Thu, Oct 22, 2020 at 1:30 PM Johnson, Andrew N. via Tech-talk
<tech-talk at aps.anl.gov> wrote:
>
> IIRC there are some libraries that are no longer needed and that might be one of them, try modifying the Makefile to take that out and see whether it builds.
>
> - Andrew
>
>
> On Oct 22, 2020, at 3:22 PM, Mark Rivers <rivers at cars.uchicago.edu> wrote:
>
> Ø As Bob pointed out you have an empty include path in your build. The last -I option there was eating up the -MM which explains the error message, so one of your extensions config variables was probably empty.
>
> I solved that. I was missing this file that needs to define X11_LIB and MOTIF_LIB:
>
> extensions/configure/os/CONFIG_SITE.linux-x86_64-ub18.linux-x86_64-ub18
>
> However, now I get this error:
>
> -lANLwidgets -lPrintUtils -lca -lCom -lXm -lXt -lXp -lXmu -lX11 -lXext -lpthread -lreadline -lm -lrt -ldl -lgcc
> /usr/bin/ld: cannot find -lXp
> collect2: error: ld returned 1 exit status
> /corvette/usr/local/epics/base/configure/RULES_BUILD:212: recipe for target 'medm' failed
>
> I have Googled to see what package provides libXp.so on Ubuntu 18, and I can’t find it. Others have the same problem.
>
> Pete and Bob how did you install libXp.so?
>
> Mark
>
>
> From: Johnson, Andrew N. <anj at anl.gov>
> Sent: Thursday, October 22, 2020 3:14 PM
> To: Mark Rivers <rivers at cars.uchicago.edu>
> Cc: Soliday, Robert T. <soliday at anl.gov>; EPICS tech-talk <tech-talk at aps.anl.gov>
> Subject: Re: MEDM crash
>
> On Oct 22, 2020, at 1:54 PM, Mark Rivers <rivers at cars.uchicago.edu> wrote:
>
>
> That PR builds OK on Centos 7, but it fails to build on Ubuntu 18. I see the same failure on Ubuntu 18 with the MEDM_3_1_14 tag.
>
>
> TahoeU18:/corvette/usr/local/epics/extensions_new/src/medm_fix> make
> make -C ./printUtils install
> make[1]: Entering directory '/corvette/usr/local/epics/extensions_new/src/medm_fix/printUtils'
> make -C O.linux-x86_64-ub18 -f ../Makefile TOP=../../../.. \
> T_A=linux-x86_64-ub18 install
> make[2]: Entering directory '/corvette/usr/local/epics/extensions_new/src/medm_fix/printUtils/O.linux-x86_64-ub18'
> /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/corvette/usr/local/epics/base/include/compiler/gcc -I/corvette/usr/local/epics/base/include/os/Linux -I/corvette/usr/local/epics/base/include -I../../../../include -I -MM -MF xwd2ps.d ../xwd2ps.c
> cc1: error: to generate dependencies you must specify either -M or -MM
>
>
> As Bob pointed out you have an empty include path in your build. The last -I option there was eating up the -MM which explains the error message, so one of your extensions config variables was probably empty.
>
> - Andrew
>
> --
> Complexity comes for free, simplicity you have to work for.
>
>
> --
> Complexity comes for free, simplicity you have to work for.
>
- Replies:
- RE: MEDM crash Mark Rivers via Tech-talk
- References:
- MEDM crash Siddons, David via Tech-talk
- RE: MEDM crash Soliday, Robert T. via Tech-talk
- Re: MEDM crash Johnson, Andrew N. via Tech-talk
- Re: MEDM crash Mark Rivers via Tech-talk
- Re: MEDM crash Johnson, Andrew N. via Tech-talk
- RE: MEDM crash Mark Rivers via Tech-talk
- Re: MEDM crash Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
RE: MEDM crash Mark Rivers via Tech-talk
- Next:
Re: MEDM crash Siddons, David 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
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: MEDM crash Mark Rivers via Tech-talk
- Next:
RE: MEDM crash Mark Rivers 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
2019
<2020>
2021
2022
2023
2024