EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: fd_caMotif build can't find Xm includes
From: Steven Hartman <[email protected]>
To: Eric Williams <[email protected]>
Cc: [email protected]
Date: Wed, 11 Jun 2003 15:52:03 -0400 (EDT)
On Wed, 11 Jun 2003, Eric Williams wrote:
> The include files are there.  The -l option is not in the gcc command line.
> But it wasn't on the RH 8 system, either, and that built OK.  Where in the
> build configuration should the option be added?

That was an -I (for include files), not -l (for libraries), though you'll
need the libraries, too. Are other motif based applications/extensions
building (medm, for instance)? Is HOST_ARCH defined correctly (linux-x86,
for example)?

Or are you building fd_caMotif in an application directory? (I just found
fd_caMotif.c in testApp/src left over from my training session at LANL.)
If so, it doesn't look like there is anywhere in base/configure/* that
defines a motif include directory for use in the application. I don't know
what the `best' way to to do this is, but a simple way would be to have
the folowing in testApp/src/Makefile . .  .

	PROD_HOST += fd_caMotif
	fd_caMotif_CFLAGS += -I/usr/X11R6/include
	fd_caMotif_LDFLAGS += -L/usr/X11R6/lib -lXm -lXt -lX11
	fd_caMotif_LIBS += $(EPICS_BASE_HOST_LIBS)

though this is bad since this library path is platform dependent.

-- 
Steve Hartman
[email protected] | 919-660-2650
Duke Free Electron Laser Laboratory

Replies:
Re: fd_caMotif build can't find Xm includes Eric Williams
References:
fd_caMotif build can't find Xm includes Eric Williams
Re: fd_caMotif build can't find Xm includes Eric Williams

Navigate by Date:
Prev: Re: fd_caMotif build can't find Xm includes Eric Williams
Next: Re: fd_caMotif build can't find Xm includes Eric Williams
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: fd_caMotif build can't find Xm includes Eric Williams
Next: Re: fd_caMotif build can't find Xm includes Eric Williams
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·