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: | Re: Fwd: Re: Fwd: cross-compiling (kind of) with Buildroot |
From: | Pierrick M Hanlet via Tech-talk <[email protected]> |
To: | "Hill, Bruce" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Mon, 9 Sep 2019 19:59:32 +0000 |
Hi Bruce, Thanks for the feedback. I did attempt putting these modifications by adding SITE_CONFIG.Common.linux-686 and pointing to it from CONFIG in the StreamDevice/configure files and also by modifying the file in base/configuration/os. Unfortunately neither of these worked for me. As you can see, the correct library doesn't show up in the linking phase: /usr/local/products/elsd/conc405x/linux-3.16.7_generic/output/host/usr/bin/i686-buildroot-linux-uclibc-g++ -o streamApp -L/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/StreamDevice-2-8/lib/linux-686 -L/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/asyn4-35/lib/linux-686 -L/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/calc-R3-7-1/lib/linux-686 -L/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/sscan-2-11-2/lib/linux-686 -L/scratch/home/hanlet/platforms/conc405x/epicsDEV/base-3.14.12.8/lib/linux-686 -Wl,-rpath,/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/StreamDevice-2-8/lib/linux-686 -Wl,-rpath,/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/asyn4-35/lib/linux-686 -Wl,-rpath,/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/calc-R3-7-1/lib/linux-686 -Wl,-rpath,/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/sscan-2-11-2/lib/linux-686 -Wl,-rpath,/scratch/home/hanlet/platforms/conc405x/epicsDEV/base-3.14.12.8/lib/linux-686 -m32 -L/usr/local/products/elsd/conc405x/linux-3.16.7_generic/output/host/usr/i686-buildroot-linux-uclibc/lib streamApp_registerRecordDeviceDriver.o streamAppMain.o -lstream -lasyn -lcalc -lsscan -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lpcre /scratch/products/elsd/conc405x/linux-3.16.7_generic/output/host/usr/bin/../lib/gcc/i686-buildroot-linux-uclibc/4.8.3/../../../../i686-buildroot-linux-uclibc/bin/ld: cannot find -lpcre collect2: error: ld returned 1 exit status make[2]: *** [streamApp] Error 1 make[2]: Leaving directory `/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/StreamDevice-2-8/streamApp/O.linux-686' make[1]: *** [install.linux-686] Error 2 make[1]: Leaving directory `/scratch/home/hanlet/platforms/conc405x/epicsDEV/Support/StreamDevice-2-8/streamApp' make: *** [streamApp.install] Error 2 Of course, I may have not been following your suggestions sufficiently accurately so please feel free to correct me. Thank you, Pierrick On 8/14/19 5:58 PM, Hill, Bruce via Tech-talk wrote:
Try this in your configure/CONFIG_SITE.Common.linux-686 file: -- Pierrick Hanlet Fermi National Accelerator Accelerator Front End Controls +1-630-840-5555 -- lab +1-312-687-4980 -- mobile "Whether you think you can or think you can't, you're right" -- Henry Ford |