Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: Compiling SDDS problem
From: "Anderson, Janet B." <jba@aps.anl.gov>
To: "Xue, Chen" <xue@bio.aps.anl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 4 Nov 2014 22:34:13 +0000
Hi Chen,

I made the following changes to get burt to build with SDDS 3.2.1

Janet

Index: Makefile
===================================================================
RCS file: /usr/local/epicsmgr/cvsroot/epics/extensions/src/burt/Makefile,v
retrieving revision 1.15
retrieving revision 1.17
diff -r1.15 -r1.17
10c10
< # $Id: Makefile,v 1.15 2013/01/11 21:34:18 jba Exp $
---
> # $Id: Makefile,v 1.17 2014/07/11 20:43:52 jba Exp $
34c34
< USR_LIBS += namelist
---
> USR_LIBS += lzma
41d40
< USR_LIBS_Linux += Xp Xext X11
47c46
< namelist_DIR = $(EPICS_EXTENSIONS_LIB)
---
> lzma_DIR     = $(EPICS_EXTENSIONS_LIB)
51,52d49
< Xp_DIR       = $(X11_LIB)
< Xext_DIR     = $(X11_LIB)
64a62
>
76c74
< USR_CXXFLAGS_Linux =  -fno-const-strings
---
> #####USR_CXXFLAGS_Linux =  -fno-const-strings
Index: burt.notes
===================================================================
RCS file: /usr/local/epicsmgr/cvsroot/epics/extensions/src/burt/burt.notes,v
retrieving revision 1.9
retrieving revision 1.10
diff -r1.9 -r1.10
39a40,42
>
> Fri Jul 11 15:40:55 CDT 2014  burt_20140711
>       Modified to build and run with SDDS 3.2.1 and later.
________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Chen Xue [xue@bio.aps.anl.gov]
Sent: Tuesday, November 04, 2014 3:30 PM
To: tech-talk@aps.anl.gov
Subject: Re: Compiling SDDS problem

Thanks for help. After I installed libxaw7-dev, SDDS compiling problem was
solved.

Now when I compiled BURT, I have an error message below.

make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
/bin/sh: 1: [: Illegal number: (Debian
make[1]: Entering directory
`/opt/epics/extensions/src/burt_20130124/O.linux-x86_64'

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT   -O3 -g   -Wall    -I../../../templates/List -I/usr/include
-I/usr/include -DNODEVICES -USUN4 -fno-const-strings  -m64      -MMD -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base/include/os/Linux -I../../../../base/include
-I../../../include         ../burtrb.cc
g++: error: unrecognized command line option ‘-fno-const-strings’
make[1]: *** [burtrb.o] Error 1
make[1]: Leaving directory
`/opt/epics/extensions/src/burt_20130124/O.linux-x86_64'
make: *** [install.linux-x86_64] Error 2

How could I get around this problem?

Thanks!

Chen

> Hi,
>
> We need EPICS extension BURT, which requires SDDS package. We are using
> 64bit Linux Debian and base-3.14.12.4. I downloaded SDDS.3.2.tar.gz and
> burt_20130124.tar.gz.
>
> When I compiled SDDS, I encounted the following error.
>
> /usr/bin/g++ -o sddsplot  -L/opt/epics/extensions/lib/linux-x86_64
> -Wl,-rpath,/opt/epics/extensions/lib/linux-x86_64       -m64
> SDDSaps.o put_link_date.o sddsplot.o sddsplotAP.o sddsplotConvert.o
> sddsplotFilter.o sddsplotLabels.o sddsplotMapping.o sddsplotRead.o
> sddsplotRecord.o sddsplotXfer.o sddsplotGroup.o    -lmdbplt -lgd -lpng
> -lmdbplt -lmdbcommon -lmatlib -lfftpack -lSDDS1 -lrpnlib -lmdbmth -lmdblib
> -llzma  -lfontconfig -lz -lrt -lpthread   -lreadline -lm -lrt -ldl
> -L/usr/lib/x86_64-linux-gnu -lXaw -lXmu -lXt -lXext -lX11 -lgcc
> /usr/bin/ld: cannot find -lXaw
> collect2: error: ld returned 1 exit status
> make[2]: *** [sddsplot] Error 1
> make[2]: Leaving directory
> `/opt/epics/extensions/src/SDDS/SDDSaps/sddsplots/O.linux-x86_64'
> make[1]: *** [install.linux-x86_64] Error 2
> make[1]: Leaving directory
> `/opt/epics/extensions/src/SDDS/SDDSaps/sddsplots'
> make: *** [SDDSaps/sddsplots.install] Error 2
>
> Could anyone help me on this problem?
>
> Thanks,
>
> Chen
>



References:
Compiling SDDS problem Chen Xue
Re: Compiling SDDS problem Chen Xue

Navigate by Date:
Prev: Re: Compiling SDDS problem Bob Soliday
Next: Re: read waveform data using ca_create_subscription Bruce Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Compiling SDDS problem Bob Soliday
Next: autosave R5-5 Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·