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