Experimental Physics and
| |||||||||||||||||
|
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? Sorry for the typo, my mail font obfuscated the letters. 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.) Yes, that's the case. Leftovers from USPAS training. HOST_ARCH looks OK. 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 . . . I added these two lines: fd_caMotif_CFLAGS += -I/usr/X11R6/include fd_caMotif_LDFLAGS += -L/usr/X11R6/lib and the Make proceeded successfully, thanks. (The rest looked like it was already there.) It's still a mystery why my laptop from the class with the same environment doesn't require them. Oh, well. Thanks again. -- eric
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |