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: | Re: Build failure under QNX 6.1 |
From: | David Eisert <[email protected]> |
To: | Andrew Johnson <[email protected]>, [email protected] |
Date: | Fri, 08 Sep 2006 11:19:39 -0500 |
Hi David,Hello Andrew,
Welcome to the EPICS community.
I was able to figure that out from the EPICS web site. Great job on documentation and training materials by the way.
You're going to have to port EPICS to QNX then, since we don't have the operating system interface for that OS in Base.
I left out a bit too much information in my first post. QNX can be built from either a cross development system or native. In its most minimum configuration it can be flashed into a small SBC with only a MB or two. The full configuration requires more than a GB of hard disk space and will run X and larger open source packages like Eclipse, Qt and MySQL. I am running QNX as a native development system on a VME VMIC-7750 CPU board (733Mhz PIII /w 64MB RAM). Our IOCs are diskless but boot off a 64 MB Compact Flash card. The parts of QNX that I need fill about half of the card. My development system is identical except that I have a small hard drive with a complete install of QNX. So from the EPICS build prospective it is almost identical to the Linux build environment. I have hijacked the Linux build scripts rather than potentially causing myself problems by creating a separate QNX build configuration for EPICS base. I realize I am editing files that I should not be editing but I am taking notes and if I can get EPICS to build I will untar a new copy of base and add proper QNX build configuration files. So everywhere you see O.linux-x86 just think O.qnx-x86. All of the code is being built to run under only one architecture.
The part of the error message I'm interested in is this:
make[3]: *** [fdmgr.o] Error 1
make[3]: Leaving directory `/home/Epics/base-3.14.8.2/src/libCom/O.linux-x86'
This tells me that the build failed while it was trying to compile code that will run on Linux, not code that will run on QNX (which would have been an error from inside some libCom/O.qnx-XXX directory). The EPICS build system was designed to compile multiple architectures simultaneously alongside themselves, ...
Please post the output from the following command:
/usr/bin/g++ --version
This should *not* be your QNX cross-compiler, it must be the compiler for the host Linux operating system. What Linux distribution are you building this on?
- Andrew
QNXDevel> /usr/bin/g++ --version 2.95.2