EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: for help: how to load .so file in EPICS
From: Dirk Zimoch <[email protected]>
To: 黄思婷 <[email protected]>
Cc: tech-talk <[email protected]>
Date: Wed, 02 Apr 2008 11:21:21 +0200
Use LDFLAGS instead of CFLAGS.

黄思婷 wrote:
> 
> Dear tech-talk,
>  
> I am  trying to load a simplest .so file in EPICS, but it fails, with 
> the prompts:
>  
> gcc:-ltest: linker input file unused because linking not done
> undefined reference to ...
> collect2: ld returned 1 exit status
>  
>  
> More information:
> The .so file is successfully loaded outside the EPICS.
> I've added a line to the Makefile: CFLAGS= -Wall -ggdb -L../../lib -ltest
>  
> So my question is: how to correctly load the .so file in EPICS?
>  
> Thanks a lot.
>  
> 2008-04-02
> Siting Huang
>  

-- 
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

References:
for help: how to load .so file in EPICS 黄思婷

Navigate by Date:
Prev: for help: how to load .so file in EPICS 黄思婷
Next: cross subnet CA communication Sue Witherspoon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: for help: how to load .so file in EPICS 黄思婷
Next: cross subnet CA communication Sue Witherspoon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·