EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: error linking with cmlog
From: Heinrich du Toit <[email protected]>
To: TechTalk EPICS <[email protected]>
Date: Wed, 26 Sep 2007 10:24:22 +0200
Ok I now I'm trying to link my IOC program with cmlog.

I've added to the makefile:
xxx_LDFLAGS += -L/epics/cmlog/lib/Linux-i386   <<without this it doesn't
find it even thought that path is in ldconfig's path

xxx_CPPFLAGS += -I/epics/cmlog/include -D_CMLOG_BUILD_CLIENT
xxx_SYS_LIBS += cmlog

(xxx is my IOC library or something)

when compiling I get the following at linking stage:

/epics/cmlog/lib/Linux-i386/libcmlog.so: undefined reference to
`__stack_chk_fail_local'
collect2: ld returned 1 exit status

cmlog compiled fine without errrors - and libcmlog.so is statically
linked according to "ldd"

Thanks
-Heinrich




Navigate by Date:
Prev: AutoSave - errors? Heinrich du Toit
Next: channelWatcher Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: AutoSave - errors? Tim Mooney
Next: channelWatcher Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·