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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | undefined symbol:MAXvSetup |
From: | 洪春霞 <[email protected]> |
To: | <[email protected]> |
Date: | Sun, 6 May 2012 15:59:51 +0800 |
Hello Thank you very much for your reply. I have added extern "C" before the function definition of MAXvSetup() and RTN_VALUES MAXvConfig(), but unfortunately, this can not solve my problem, and when I download st.cmd to the VME crate, it is still display the error: “undefined symbol:MAXvSetup”. And I change the order of libs in makefile, it can not solve the problem also. When I input nm command(nm bisaxsioc.munch | grep MAXvSetup) in the /bin/ vxWorks-ppc604_long directory, it displays nothing. So I think the .munch file does not correctly define the symbol MAXvSetup. Now I do not know what is the reason. And I have another question, I have seen some OmsSrc/Makefile in some worked program, a part of the source code is bisaxs_SRCS_vxWorks += devMAXv.cc drvMAXv.cc, but the source file of OmsSrc which I copied from synApps_5_3/support/motor/6-3/motorApp/OmsSrc is SRCS += devMAXv.cc drvMAXv.cc. so I do not know if I should change it into the word of omsMAXv_SRCS_vxWorks. Thank you very much. hongchunxia =================================================== No.239 Zhangheng Road PuDong District Shanghai Institute of Applied Physics CAS Shanghai, China |