Experimental Physics and
| |||||||||||||||||
|
Well, I cannot duplicate your exact setup right now, but for what it's worth, below is the result on a Mac w/ R3.14.6. Tomorrow I can check the output for some Redhat linux and R3.14.7. Anyway, the sequence performed by make that I get is this: - compile several *.cpp files, FUX.cpp being the last one - combine all the *.o into libTools.a - build some test code, which indeed links recIoc, searching both the 'base' and 'extension' lib dirs, presumably locating recIoc in the 'base' lib dir. The point is: Your make's error message "...librecIoc.a', needed by `libTools.a'" doesn't make sense to me since libTools.a doesn't include librecIoc.a Well, these lines in Tools/Makefile could result in trying to link librecIoc.a into libTools.a: # In case of shared lib, link these: Tools_LIBS += $(EPICS_BASE_IOC_LIBS) ... but ChannelArchiver/make.cfg should assert that you're not trying to build shared libs: # These are overrides for CONFIG_SITE. SHARED_LIBRARIES = NO Did you change that setting? -Kay My build log for .../Tools: /usr/bin/c++ -c -DOSITHREAD_USE_DEFAULT_STACK -DUNIX - ansi -g -Wall -D ARCH_VERSION=2 -D ARCH_RELEASE=6 -D ARCH_PATCH=0 -D ARCH_VERSION_TXT=\"2.6.0\" -I/Users/kasemir/epics/ R3.14.6/base/include -I/Users/kasemir/epics/R3.14.6/base/include/os/ Darwin -I/usr/local/xerces-c-src2_4_0/include -fno-common -fPIC - I. -I.. -I../../../../include/os/Darwin -I../../../../ include ../FUX.cpp /usr/bin/ar -rc libTools.a ArchiveException.o ArgParser.o ASCIIParser.o BenchTimer.o BinIO.o Bitset.o CGIDemangler.o epicsTimeHelper.o Filename.o GenericException.o IndexConfig.o Lockfile.o MemoryPool.o MsgLogger.o NetTools.o RegularExpression.o stdString.o FUX.o /usr/bin/ranlib libTools.a Installing library ../../../../lib/darwin-ppc/libTools.a /usr/bin/ranlib ../../../../lib/darwin-ppc/libTools.a /usr/bin/c++ -c -DOSITHREAD_USE_DEFAULT_STACK -DUNIX - ansi -g -Wall -D ARCH_VERSION=2 -D ARCH_RELEASE=6 -D ARCH_PATCH=0 -D ARCH_VERSION_TXT=\"2.6.0\" -I/Users/kasemir/epics/ R3.14.6/base/include -I/Users/kasemir/epics/R3.14.6/base/include/os/ Darwin -I/usr/local/xerces-c-src2_4_0/include -fno-common -I. - I.. -I../../../../include/os/Darwin -I../../../../include ../ ToolsTest.cpp /usr/bin/c++ -o ToolsTest -L../../../../lib/darwin-ppc/ -L/Users/ kasemir/epics/R3.14.6/base/lib/darwin-ppc/ -L/usr/local/lib - lxerces-c ToolsTest.o -lTools -lrecIoc -lsoftDevIoc - liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lm On Nov 9, 2005, at 20:03 , John Dobbins wrote: Dear All,
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |