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  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: alarm handler on base 3-14-11
From: Patrick Thomas <[email protected]>
To: Mark Rivers <[email protected]>
Cc: [email protected]
Date: Wed, 23 Sep 2009 22:17:37 -0700
It seems there were too many dependencies to remove, so I did a reinstall, but that didn't seem to help, and it gave the same warning that ldconfig did when it reinstalled.

Mark Rivers wrote:
That's what I suspected.  I don't think that is right.  I would uninstall both packages, make sure those files are gone and reinstall.
Mark
________________________________

From: Patrick Thomas [mailto:[email protected]]
Sent: Wed 9/23/2009 11:08 PM
To: Mark Rivers
Cc: Matthieu Bec; [email protected]
Subject: Re: alarm handler on base 3-14-11



/usr/lib/libcurses.so seems to be a link to /usr/lib64/libncurses.so.5.5

Mark Rivers wrote:
Do
ls -l /usr/lib64/*curse*
and see what the real files are, what are soft links, etc.

________________________________

From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 10:54 PM
To: Matthieu Bec
Cc: [email protected]
Subject: Re: alarm handler on base 3-14-11



It said:

/sbin/ldconfig: libraries libcurses.so and libncurses.so.5.5 in directory /usr/lib have same soname but different type.



Matthieu Bec wrote:
Hi Patrick,

try running ldconfig (as root), that might help fix missing softlink etc.
and then rebuild as normal


On 09/23/09 23:38, Patrick Thomas wrote:
I'm not sure. I see the path to /usr/lib64 being used by make, so I'm
confused why it wouldn't find it there.

/usr/bin/g++ -o alh
-L/users/thomas/epics/base/base-3-14-11/lib/linux-x86_64 -L/usr/lib64
-Wl,-rpath,/users/thomas/epics/base/base-3-14-11/lib/linux-x86_64
-Wl,-rpath,/usr/lib64 -m64 alCA.o acknowledge.o alAudio.o alarm.o
alCaCommon.o alConfig.o alFilter.o alLib.o alLog.o alView.o alh.o
awAct.o awAlh.o awEdit.o awView.o axArea.o axRunW.o axSubW.o browser.o
current.o dialog.o file.o force.o guidance.o heartbeat.o help.o line.o
mask.o process.o property.o scroll.o showmask.o sllLib.o beepSevr.o
noAck.o -lca -lCom -lXmu -lXm -lXt -lX11 -lXp -lpthread -lreadline
-lncurses -lm -lrt -ldl -lgcc
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[3]: *** [alh] Error 1
make[3]: Leaving directory
`/users/thomas/epics/extensions/src/alh1_2_24/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory
`/users/thomas/epics/extensions/src/alh1_2_24'
make[1]: *** [alh1_2_24.install] Error 2
make[1]: Leaving directory `/users/thomas/epics/extensions/src'
make: *** [src.install] Error 2



Zhichu Chen wrote:
Then maybe your /usr/lib(64) is not included in the LIB variable. It
happened to me before, when I was compiling EDM on a 64bit ubuntu
using GCC 4.3.3, it can't find libXm, blahblah. Well, since that's not
my laptop and I'm not supposed to jeopardize the system environment, I
just make some symbolic links to /base/lib so it can move on to the
next step. I'm not sure if this message could be helpful.

On Thu, Sep 24, 2009 at 10:35 AM, Patrick Thomas
<[email protected]> wrote:
There is a copy there as well.

Mark Rivers wrote:
I think that is the 32-bit version, and you need the 64-bit version,
which
will be in usr/lib64
Mark

________________________________

From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 9:02 PM
To: Zhichu Chen
Cc: [email protected]
Subject: Re: alarm handler on base 3-14-11



I think it is installed, there is a libncurses.so.5 file in /usr/lib.

Zhichu Chen wrote:

Install ncurses library by yourself.

On Thu, Sep 24, 2009 at 9:47 AM, Patrick Thomas
<[email protected]> wrote:

Thank you, that seems to have worked. However, now it errors on
'cannot
find
-lncurses' for g++ -o alh.

Mark Rivers wrote:

This is a common change required in 3.14.11.
You need to "#include menuYesNo.h" and YES needs to be changed to
menuYesNoYES.
Mark

________________________________

From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 8:00 PM
To: [email protected]
Subject: alarm handler on base 3-14-11



Hi,

I was wondering, I get a compile error on force.c when running
make on
the alarm handler with epics-3-14-11, on 64 bit linux:

/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux
-D_REENTRANT -O3 -Wall -m64 -g -I. -I../O.Common -I.
-I../os/default -I.. -I../../../include/os/Linux
-I../../../include
-I/users/thomas/epics/base/base-3-14-11/include/os/Linux
-I/users/thomas/epics/base/base-3-14-11/include -I../os/Linux
-I../os/default -I/usr/include -I/usr/include/X11 ../force.c
../force.c: In function 'forcePVUpdateFields':
../force.c:1028: error: 'YES' undeclared (first use in this
function)
../force.c:1028: error: (Each undeclared identifier is reported
only
once
../force.c:1028: error: for each function it appears in.)
make[2]: *** [force.o] Error 1
make[2]: Leaving directory
`/users/thomas/epics/extensions/src/alh1_2_24/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory
`/users/thomas/epics/extensions/src/alh1_2_24'
make: *** [alh1_2_24.install] Error 2

Thank you,
Patrick











Replies:
RE: alarm handler on base 3-14-11 Mark Rivers
References:
alarm handler on base 3-14-11 Patrick Thomas
RE: alarm handler on base 3-14-11 Mark Rivers
Re: alarm handler on base 3-14-11 Patrick Thomas
Re: alarm handler on base 3-14-11 Zhichu Chen
Re: alarm handler on base 3-14-11 Patrick Thomas
RE: alarm handler on base 3-14-11 Mark Rivers
Re: alarm handler on base 3-14-11 Patrick Thomas
Re: alarm handler on base 3-14-11 Zhichu Chen
Re: alarm handler on base 3-14-11 Patrick Thomas
Re: alarm handler on base 3-14-11 Matthieu Bec
Re: alarm handler on base 3-14-11 Patrick Thomas
RE: alarm handler on base 3-14-11 Mark Rivers
Re: alarm handler on base 3-14-11 Patrick Thomas
RE: alarm handler on base 3-14-11 Mark Rivers

Navigate by Date:
Prev: RE: alarm handler on base 3-14-11 Mark Rivers
Next: RE: alarm handler on base 3-14-11 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: alarm handler on base 3-14-11 Mark Rivers
Next: RE: alarm handler on base 3-14-11 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·