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 2025 | 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 2025 |
<== 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