EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  <19981999  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  <19981999  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: EPICS on Linux revisited
From: [email protected] (William Lupton)
To: [email protected], [email protected]
Date: Wed, 8 Apr 1998 09:53:04 -1000
Bonnie,

I think I can help with the last (cau) problem:
> cau.o: In function `cauTask':
> cau.o(.text+0x31f): undefined reference to `ca_pend_event'
> cau.o: In function `cau_put':
> cau.o(.text+0x17b1): undefined reference to `ca_put'
> cau.o(.text+0x17e8): undefined reference to `ca_pend_io'
> .
> .

The Makefile states CMPLR=OLD, which (for me at least) invokes "gcc
-traditional" under Linux. I assume that this does not define the
__STDC__ macro and this means that, in cadef.h, the CAC_ANSI_FUNC_PROTO
is not defined.

I'm not sure if it is deliberate, but if CAC_ANSI_FUNC_PROTO is not
defined, cadef.h does not define the various macros such as
ca_pend_event() and this is what causes the errors.

William

Navigate by Date:
Prev: EPICS on Linux revisited madre
Next: [no subject] David Hon
Index: 1994  1995  1996  1997  <19981999  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 
Navigate by Thread:
Prev: EPICS on Linux revisited madre
Next: RE: EPICS on Linux revisited Jeff Hill
Index: 1994  1995  1996  1997  <19981999  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