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: | LIB_LIBS getting ignored |
From: | "Jones, Edward \(CODAS&IT\) via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 24 Aug 2021 12:24:36 +0000 |
Hello, I’m trying to run a build where we’ve set INSTALL_LOCATION to /prefix and have found a buildable form with: However, when I try to build my IOC itself at the final hurdle it doesn’t seem to link anything. This is what it tries to link: /usr/bin/x86_64-w64-mingw32-g++ -o PICamApp.exe -static -L/ADPICam/lib/windows-x64-mingw -L/ADPICam/iocs/PICamIOC/lib/windows-x64-mingw -m64 -static-libgcc -static-libstdc++
PICamApp_registerRecordDeviceDriver.o PICamAppMain.o -lADPICam -lPicam -lnetapi32 -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp Which lacks all the EPICS_BASE_IOC_LIBS, when I manually navigate to that directory and link it like so: /usr/bin/x86_64-w64-mingw32-g++ -o PICamApp.exe -static -L/ADPICam/lib/windows-x64-mingw -L/ADPICam/iocs/PICamIOC/lib/windows-x64-mingw -L/prefix/lib/windows-x64-mingw
-m64 -static-libgcc -static-libstdc++ PICamApp_registerRecordDeviceDriver.o PICamAppMain.o -lADPICam -lPicam -lnetapi32 -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp -ldbRecStd -ldbCore -lca -lCom -lasyn -lADBase -lca
-lCom -lxml2 -lgdi32 -loleaut32 -lwsock32 -lws2_32 -lpsapi -ldbghelp -lversion -lzlib -lpv -ladvapi32 -luser32
This works. So it looks like the build method is missing all LIB_LIBS definitions. Could someone help to understand this? If you need I can share our work but must be privately done. Thanks, Ed |