Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: buiding GDCT
From: Maren Purves <m.purves@jach.hawaii.edu>
To: Zhao Zhuo <zhaozhuo@mail.ihep.ac.cn>
Cc: tech-talk@aps.anl.gov
Date: Wed, 24 Jul 2002 08:08:42 -1000
Hi Zhao Zhuo,

next questions to ask:
- is the directory actually in that place?
- does it contain the library your're trying to use?
- do you have access to the directory as well as the library?

Aloha,

Maren

Zhao Zhuo wrote:
> 
> Mr. Bec
> thanks for your advice
> I did it according to your method except that
> I set $EPICS/base/lib/Linux-x86 to my LD_LIBRARY_PATH,
> but it still shows the the same errors,I don't know what to do.
> anyway,thank you!
> best regards
> 
> On Tue, 23 Jul 2002, Matthieu Bec wrote:
> 
> >
> > Hi Zhao Zhuo,
> >
> > check your base/config/CONFIG_SITE for:
> >
> > SHARED_LIBRARIES=YES
> >
> > append $EPICS/base/lib/Linux to your LD_LIBRARY_PATH, and rebuild base
> > to create libDb.so
> > from there, you should be able to proceed.
> >
> > cheers,
> > Matthieu
> >
> >
> >
> >
> >
> >
> > Zhao Zhuo wrote:
> > >
> > > hello,everyone!
> > > I've built base_R3_14_0.alhpa_2,now I want to build GDCT that is included
> > > in extensions313_2.So I did the following:
> > > cd extensions/src/gdct313
> > > make
> > > but it shows the following informations:
> > >
> > > make -C tools buildInstall
> > > make[1]: Entering directory `/home/zz/extensions/src/gdct313/tools'
> > > make -C O.linux-x86 -f ../Makefile.Host T_A=linux-x86 BUILD_TYPE=Host
> > > buildInstall
> > > make[2]: Entering directory
> > > `/home/zz/extensions/src/gdct313/tools/O.linux-x86'
> > > g++    -O  -Wall   -D_X86_ -Dlinux   -DUNIX  -I. -I..
> > > -I../../../../include -I../../../../include/os/Linux
> > > -I../../../../../extensions/include -I../../../../../base/include
> > > -I../../../../../base/include/os/Linux   -c   ../dbedit.cc
> > > ..../dbedit.cc: In method `void menu::PrintList (long int (*) (DBENTRY
> > > *), long int (*) (DBENTRY *), char *(*) (DBENTRY *))':
> > > ..../dbedit.cc:206: warning: comparison between signed and unsigned
> > > integer expressions
> > > ..../dbedit.cc: In method `int menuMain::Command (char)':
> > > ..../dbedit.cc:238: warning: suggest parentheses around assignment used
> > > as truth value
> > > ..../dbedit.cc: In function `int main (int, char **)':
> > > ..../dbedit.cc:465: warning: unused variable `int j'
> > > ..../dbedit.cc:465: warning: unused variable `int state'
> > > ..../dbedit.cc:465: warning: unused variable `int i'
> > > ..../dbedit.cc:465: warning: unused variable `int s'
> > > ..../dbedit.cc:466: warning: unused variable `char *rname'
> > > ..../dbedit.cc:466: warning: unused variable `char *pc'
> > > ..../dbedit.cc: In function `char *ResolveName (char *)':
> > > ..../dbedit.cc:543: warning: unused variable `int i'
> > > g++ -o dbedit -O  -Wall   -D_X86_ -Dlinux   -DUNIX  -I. -I..
> > > -I../../../../include -I../../../../include/os/Linux
> > > -I../../../../../extensions/include -I../../../../../base/include
> > > -I../../../../../base/include/os/Linux
> > > -L../../../../../base/lib/linux-x86/  -lpthread -lreadline -lcurses -lrt
> > > dbedit.o    -lDb -lCom    -lm
> > > /usr/bin/ld: cannot find -lDb
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [dbedit] Error 1
> > > make[2]: Leaving directory
> > > `/home/zz/extensions/src/gdct313/tools/O.linux-x86'
> > > make[1]: *** [buildInstall.linux-x86] Error 2
> > > make[1]: Leaving directory `/home/zz/extensions/src/gdct313/tools'
> > > make: *** [tools.buildInstall] Error 2
> > >
> > > I don't know how to solve it,who can help me?
> > > thanks in advance!
> > > best regards!
> >
> >

References:
Re:buiding GDCT Zhao Zhuo

Navigate by Date:
Prev: RE: ISEG VHQ204L Driver Kay-Uwe Kasemir
Next: Re: switch clock Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re:buiding GDCT Zhao Zhuo
Next: Re: Janet Anderson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·