EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: a question about edm
From: "黄松" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 3 Jan 2003 8:12:10 +0800
Hello:    
     I'm a graduate student in the Institute of High Energy Physics of Chinese Academy of Sciences. 
I have a question about EDM. Can you help me? 

I configure the file "make.setup" like this:
# -*- makefile -*-
	EPICS=/home1/local/epics/epics3.13.4/base
	CC=gcc
	CXX=g++
	CFLAGS = -g -Wall -O0 -DMOTIF
	CXXFLAGS=$(CFLAGS)
	SL_LINK=gcc -shared -Wall 
	SL_FLAGS=-L$(EPICS)/lib/$(HOST_ARCH) -lm -lCom -lca
# Shouldn't have to change this -------------------------------------
INCLUDES  = -I$(EPICS)/include -I../lib -I../util -I../pvlib
ODIR      = O.$(HOST_ARCH)
CCFLAGS  += $(INCLUDES)
CXXFLAGS += $(INCLUDES)                             
$(ODIR)/%.o: %.c
	     $(CC) -c $(CFLAGS) $< -o $@      
$(ODIR)/%.o: %.cc
	     $(CXX) -c $(CXXFLAGS) $< -o $@   
target: $(ODIR) all                    
$(ODIR):
	mkdir $(ODIR)                         
clean:
	rm -rf $(ODIR) *~ core

 


When I make the directory "pvFactory"(or make the "edm" directory), it failed by displaying the following message: 

mkdir O.solaris
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib textupdate.cc -o O.solaris/textupdate.o
gcc -c -g -Wall -O0 -DMOTIF SciPlot.c -o O.solaris/SciPlot.o
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib strip_data.cc -o O.solaris/strip_data.o
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib strip.cc -o O.solaris/strip.o
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib regTextupdate.cc -o O.solaris/regTextupdate.o
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib byte.cc -o O.solaris/byte.o
g++ -c -g -Wall -O0 -DMOTIF -I/home1/local/epics/epics3.13.4/base/include -I../l
ib -I../util -I../pvlib pv_register.cc -o O.solaris/pv_register.o
gcc -shared -Wall  -o O.solaris/libPV.so O.solaris/textupdate.o O.solaris/SciPlo
t.o O.solaris/strip_data.o O.solaris/strip.o O.solaris/regTextupdate.o O.solaris
/byte.o O.solaris/pv_register.o -L/home1/local/epics/epics3.13.4/base/lib/solari
s -lm -lCom -lca

ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake: *** [O.solaris/libPV.so] Error 1

Can you tell me why this failed?

	
best wishes and regards	
huangsong
        
        [email protected]
          2003-01-03



Navigate by Date:
Prev: Help about SLC 500 1747-DCM configuration guobao shen
Next: Re: Agilent E2050B LAN/GPIB gateway no longer available Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Help about SLC 500 1747-DCM configuration guobao shen
Next: Re: Agilent E2050B LAN/GPIB gateway no longer available Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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 ·