EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Build failure under QNX 6.1
From: Andrew Johnson <[email protected]>
To: David Eisert <[email protected]>
Cc: [email protected]
Date: Thu, 07 Sep 2006 17:37:53 -0500
Hi David,

Welcome to the EPICS community.

David Eisert wrote:
I am trying to build 3.14.8.2 on QNX 6.1 (GCC version 2.95.2). We are currently running our control system
under QNX. The migration plan is to have EPICS and our current control software running side by side in our
IOCs.

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. There may not be too much work needed to do this, but it will take some effort.


Unfortunately the build is failing in resourceLib.h. I noticed that the code near the error has a problem on
some systems and it has been conditionally removed.

In the build output that you presented though the problem is with the build for the host machine though, not the QNX cross-compile. You said:


I am building it using the linux-x86 host architecture. So far only small changes
have been needed. QNX is supposed to be POSIX compliant. Any ideas?

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, and the O.linux-x86 directory tells me that the error was reported while building code for linux. You actually *have* to be able to compile code for the host architecture as well as for the target architecture, since there are programs in the early parts of the build that are run while building later parts of the code, thus you must have a host compiler as well as the cross-compiler present to build EPICS.


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
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger

Replies:
Re: Build failure under QNX 6.1 David Eisert
References:
Build failure under QNX 6.1 David Eisert

Navigate by Date:
Prev: Build failure under QNX 6.1 David Eisert
Next: Looking for an IOC for Wiener PL512 Bertrand H.J. Biritz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Build failure under QNX 6.1 David Eisert
Next: Re: Build failure under QNX 6.1 David Eisert
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·