EPICS Home

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  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re:
From: Matthieu Bec <[email protected]>
To: Zhao Zhuo <[email protected]>
Cc: [email protected]
Date: Tue, 23 Jul 2002 16:23:43 -1000
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!

-- 
Matthieu Bec              Gemini Observatory
Tel: +1 808 9742557       670 N. A'ohoku Place
Fax: +1 808 9359235       Hilo, Hawaii 96720, USA

Replies:
Re:buiding GDCT Zhao Zhuo
References:
[no subject] Zhao Zhuo

Navigate by Date:
Prev: about building GDCT Zhao Zhuo
Next: Problem of ChannelArchive Cheng Weixing@ssrc
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: about building GDCT Zhao Zhuo
Next: Re:buiding GDCT Zhao Zhuo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024