Experimental Physics and Industrial Control System
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
<2008>
2009
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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024