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: cross-compiling (kind of) with Buildroot |
From: | Pierrick M Hanlet via Tech-talk <[email protected]> |
To: | "Johnson, Andrew N." <[email protected]>, "[email protected]" <[email protected]> |
Date: | Mon, 8 Jul 2019 16:39:32 +0000 |
Hi Andrew, My apologies for giving insufficient information. My problems stem from when the cross compiler attempts to build test or examples. I first saw it in seq (using 2.2.5) and then in asyn (using 4-35). The XXX.st and XXX.i files don't get copied to O.linux-686 directory. So for seq, I copied in by hand (using the syntax which worked for HOST) all of the files in the list of TESTPROD_CROSS in ./seq/test/compiler/Makefile; the following attempt to compile, the next failure came from the next file that wasn't explicitly in the TESTPROD_CROSS list in the Makefile. For asyn: /usr/local/products/elsd/vmivme7805/linux-3.16.7_generic/output/host/usr/bin/i686-buildroot-linux-uclibc-gcc -x c -E -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_ -DUNIX -Dlinux -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/home/hanlet/platforms/vmivme7805/epicsDEV/base/include/os/Linux -I/home/hanlet/platforms/vmivme7805/epicsDEV/base/include /usr/local/products/elsd/vmivme7805/linux-3.16.7_generic/output/staging/usr/include -I/usr/local/products/elsd/vmivme7805/linux-3.16.7_generic/output/host/usr/i686-buildroot-linux-uclibc/include ../array.st > array.i cc1: fatal error: /usr/local/products/elsd/vmivme7805/linux-3.16.7_generic/output/staging/usr/include: No such file or directory compilation terminated. make[3]: *** [array.i] Error 1 The build for seq did work when I commented out the test and examples in the ./seq/Makefile. I hope that this is enough information, and again, thank you for your assistance. Pierrick On 7/8/19 11:14 AM, Johnson, Andrew N. wrote:
Hi Pierrick, -- 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 |