EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Building asyn
From: "Szalata, Zenon M." <[email protected]>
To: "EPICS tech-talk" <[email protected]>
Date: Sat, 1 Sep 2007 15:42:28 -0700
Thank you Gasper.  Your suggestion worked and allowed me to go to the next build problem of the asyn package.  Now I get the following errors, which unfortunately look to me like some gcc improper use, or something like that.  I am building asyn with linux-gpib on RHEL4 (2.6.9-55.0.2.EL) desktop using gcc-3.4.6-8 and below is some of the output generated:

...
/usr/bin/g++ -o test -Wl,-Bstatic -L/afs/slac.stanford.edu/g/esa/esalib/app/epics/support/asyn/4-3/lib/linux-x86/ -L/afs/sl
ac/package/epics/R3.14.6/base/lib/linux-x86/         -Wl,-rpath,/afs/slac.stanford.edu/g/esa/esalib/app/epics/support/asyn/
4-3/lib/linux-x86 -Wl,-rpath,/afs/slac/package/epics/R3.14.6/base/lib/linux-x86        test_registerRecordDeviceDriver.o te
stMain.o    -ltestSupport -lasyn -lrecIoc -lsoftDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryI
oc -ldbStaticIoc -lca -lCom -Wl,-Bdynamic -lpthread   -lreadline -lcurses -lm -lrt
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.text+0x4c3): In function `dbChannelIO::write
(epicsGuard<epicsMutex>&, unsigned int, unsigned long, void const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.text+0x531): In function `dbChannelIO::write
(epicsGuard<epicsMutex>&, unsigned int, unsigned long, void const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.text+0x9d1): In function `dbChannelIO::opera
tor new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.text+0xa13): In function `dbChannelIO::opera
tor new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.gnu.linkonce.t._ZNSs12_S_constructIPKcEEPcT_
S3_RKSaIcESt20forward_iterator_tag+0x36): In function `char* std::basic_string<char, std::char_traits<char>, std::allocator
<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned
int, std::allocator<char> const&)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbChannelIO.o)(.gnu.linkonce.t._ZNSs12_S_constructIPKcEEPcT_
S3_RKSaIcESt20forward_iterator_tag+0x86): In function `char* std::basic_string<char, std::char_traits<char>, std::allocator
<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbSubscriptionIO.o)(.text+0x539): In function `dbSubscriptio
nIO::operator new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbSubscriptionIO.o)(.text+0x57b): In function `dbSubscriptio
nIO::operator new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbPutNotifyBlocker.o)(.text+0x8c1): In function `dbPutNotify
Blocker::operator new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libdbIoc.a(dbPutNotifyBlocker.o)(.text+0x903): In function `dbPutNotify
Blocker::operator new(unsigned int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libca.a(ca_client_context.o)(.text+0x30c7): In function `ca_client_cont
ext::installDefaultService(cacService&)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/afs/slac/package/epics/R3.14.6/base/lib/linux-x86//libca.a(ca_client_context.o)(.text+0x3112): more undefined references t
o `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' follow
collect2: ld returned 1 exit status
gmake[3]: *** [test] Error 1
gmake[3]: Leaving directory `/afs/slac.stanford.edu/g/esa/esalib/app/epics/support/asyn/4-3/testApp/src/O.linux-x86'
gmake[2]: *** [install.linux-x86] Error 2
gmake[2]: Leaving directory `/afs/slac.stanford.edu/g/esa/esalib/app/epics/support/asyn/4-3/testApp/src'
gmake[1]: *** [src.install] Error 2
gmake[1]: Leaving directory `/afs/slac.stanford.edu/g/esa/esalib/app/epics/support/asyn/4-3/testApp'
gmake: *** [testApp.install] Error 2

It has been painfull building both linux-gpib and now asyn.  Documentation seems incomplete or at least unclear to me.  Again any help will be appreciated.

Zen


Navigate by Date:
Prev: Building asyn Szalata, Zenon M.
Next: CAC-TCP-recv suspended Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building asyn Szalata, Zenon M.
Next: CAC-TCP-recv suspended Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·