EPICS Controls 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  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: Janet Anderson <[email protected]>
To: Zhao Zhuo <[email protected]>
Cc: [email protected]
Date: Wed, 24 Jul 2002 09:15:50 -0500
The extensions need some modifications to build with R3.14 base.
I am now in the process of updating them for a new extensions
release tar file.  The changes are described in the document
"Building R3.13 extensions with R3.14".

In R3.14 the host Db library has been renamed to dbStaticHost.
You will have to check out or download the latest version of
extensions/config (4/2002) and make the following gdct313
changes:

In free_gdct/Makefile.Host change

USR_LIBS = Db Com Unidraw IV X11
Db_DIR = $(EPICS_BASE_LIB)

to

ifdef BASE_3_14
# Crun is needed because of -compat above
USR_LIBS += dbStaticHost
USR_LIBS_solaris += Crun
dbStaticHost_DIR = $(EPICS_BASE_LIB)
else
USR_LIBS += Db
Db_DIR = $(EPICS_BASE_LIB)
endif
USR_LIBS += Com Unidraw IV X11


In tools/Makefile.Host change

USR_LIBS = Db Com
Db_DIR = $(EPICS_BASE_LIB)
Com_DIR = $(EPICS_BASE_LIB)

to

ifdef BASE_3_14
USR_LIBS += dbStaticHost
dbStaticHost_DIR = $(EPICS_BASE_LIB)
else
USR_LIBS += Db
Db_DIR = $(EPICS_BASE_LIB)
endif
USR_LIBS += Com
Com_DIR = $(EPICS_BASE_LIB)


Janet




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:
[no subject] Zhao Zhuo

Navigate by Date:
Prev: switch clock Bernd Schoeneburg
Next: Tornado-2 arp-table Bernd Schoeneburg
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: Re: buiding GDCT Maren Purves
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·