EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: How to cross compile procServ?
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Tue, 14 Dec 2010 13:47:11 +0100
Should be configure.ac - which lists the tests that autoconf should put into the configure script. Comment out AC_FUNC_SETPGRP in that file.
This setpgrp test, while being one of autoconf's standard tests, does not work in cross-compiling environments. I will have to replace it with an equivalent test that also works when cross-compiling.
I created a Trac bug report on procServ's Sourceforge project for this. [1] Thanks for bringing it to my attention.


If you compile procServ within an EPICS project, you can use that project's configuration instead of using autoconf. See `configure --help` (option "--with-epics-top") for details.

Sorry for the inconvenience!
Ralph

[1] https://sourceforge.net/apps/trac/procserv/ticket/26


On 14.12.2010 11:28 Dirk Zimoch wrote:
Davidsaver, Michael wrote:
Hi Dirk,

1) Export the following before running configure.  Value (yes/no)
depending on your environment.

export ac_cv_func_setpgrp_void=yes

2) Comment out the test in configure.in and run 'autoreconf'.


Hi Michael


There is no configure.in, only configure.ac and configure.

There are Makefile.in and Makefile.Epics.in. Does that help?

Dirk


-----Original Message-----
From: [email protected] [mailto:tech-talk-
[email protected]] On Behalf Of Dirk Zimoch
Sent: Monday, December 13, 2010 5:27 PM
To: EPICS
Subject: How to cross compile procServ?

When trying to cross compile, the configure script fails with:

checking whether setpgrp takes no argument... configure: error: cannot
check setpgrp when cross compiling

How can I cross compile procServ (for embedded Linux) ?

Dirk



References:
How to cross compile procServ? Dirk Zimoch
RE: How to cross compile procServ? Davidsaver, Michael
Re: How to cross compile procServ? Dirk Zimoch

Navigate by Date:
Prev: Re: How to cross compile procServ? Dirk Zimoch
Next: RE: How to cross compile procServ? Davidsaver, Michael
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to cross compile procServ? Dirk Zimoch
Next: RE: How to cross compile procServ? Davidsaver, Michael
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 14 Dec 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·