compiling errors with yat4tango Inline and tangosnmp

I'm very new to Tango and I've been able to get about 70% of our equipment up and running on tango but since our lab uses A LOT of older custom equipment the last 30% seems to be the most challenging.

I'm running in to a lot of issues with getting anything dependent on yat4tango and tangosnmp to compile. For some reason yat4tango simply refuses to allow any inline code regardless of how I setup the Makefile.

Our environment is almost completely Debian based (Buster and Proxmox) and we typically use LXC containers (docker sometimes) to install our software. I've been stuck on this problem for a couple of weeks and I've tried in several different containers and on bare metal all new standard installs (Debian Buster and Ubuntu 18.04/20.04) and really dug through the Makefiles with no joy. I used make as well as cmake and still got the same errors.

I also attempted to install them on a fresh tangobox VM (assuming this would be an ideal install target) and still no joy.

I'm really confused as to what I am doing wrong I have a feeling these issues are related but it's beyond my skill set and I could definitely use some advice.

OS setups:

Ours:

tango@tango-devel:/home/tango/$ hostnamectl
Static hostname: tango-devel
Pretty hostname: Tango Control System
Icon name: computer-container
Chassis: container
Deployment: staging
Machine ID: c5b67cb2fb4c49678a4fd62f7e4a2b20
Boot ID: 15d7563bf7a348c0913546aed4d7d6eb
Virtualization: lxc
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 5.4.103-1-pve
Architecture: x86-64

tango@tango-devel:/home/tango/$ uname -a
Linux tango-devel 5.4.103-1-pve #1 SMP PVE 5.4.103-1 (Sun, 07 Mar 2021 15:55:09 +0100) x86_64 GNU/Linux


Tangobox:


tango-cs@tangobox:~/$ hostnamectl
Static hostname: tangobox
Icon name: computer-desktop
Chassis: desktop
Machine ID: 353c2580470342018cae8c80afab11f6
Boot ID: a4d76bafbf1247278539ffa8772d9ec5
Operating System: Ubuntu 18.04.3 LTS
Kernel: Linux 4.15.0-140-generic
Architecture: x86-64

tango-cs@tangobox:~$ uname -a
Linux tangobox 4.15.0-140-generic #144-Ubuntu SMP Fri Mar 19 14:12:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux



Basic steps with cmake


2017 sudo apt install subversion
2018 svn checkout http://svn.code.sf.net/p/tango-cs/code/share/yat
2019 svn checkout http://svn.code.sf.net/p/tango-cs/code/share/yat4tango
2020 svn checkout http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/GpibPrologix
2021 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
2022 cd yat/trunk/
2023 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local
2024 make
2025 sudo make install
2026 cd ../../yat4tango/trunk
2027 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local
2028 make
2029 sudo make install
2030 cd ../../GpibPrologix/trunk/src ####Use pogo to generate Makefile
2031 make


Steps with make


tango-cs@tangobox:~/yat/trunk$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal –force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory config
autoreconf: running: libtoolize –copy –force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf –force
autoreconf: running: /usr/bin/autoheader –force
autoreconf: running: automake –add-missing –copy –force-missing
configure.ac:14: installing 'config/compile'
configure.ac:16: installing 'config/config.guess'
configure.ac:16: installing 'config/config.sub'
configure.ac:10: installing 'config/install-sh'
configure.ac:10: installing 'config/missing'
automake: warnings are treated as errors
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'libyat.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:5: while processing Libtool library 'libyat.la'
src/Makefile.am: installing 'config/depcomp'
autoreconf: automake failed with exit status: 1

####Edit configure.ac

tango-cs@tangobox:~/yat/trunk$ nano -B configure.ac
tango-cs@tangobox:~/yat/trunk$ diff configure.ac configure.ac~
15c15
< AM_PROG_AR

> #AM_PROG_AR

###Try again

tango-cs@tangobox:~/yat/trunk$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal –force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize –copy –force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf –force
autoreconf: running: /usr/bin/autoheader –force
autoreconf: running: automake –add-missing –copy –force-missing
configure.ac:14: installing 'config/compile'
configure.ac:10: installing 'config/missing'
src/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'

tango-cs@tangobox:~/yat/trunk$ make
tango-cs@tangobox:~/yat/trunk$ sudo make install



tango-cs@tangobox:~/yat/trunk$ cd ~/yat4tango/trunk
tango-cs@tangobox:~/yat4tango/trunk$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal –force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize –copy –force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf –force
autoreconf: running: /usr/bin/autoheader –force
autoreconf: running: automake –add-missing –copy –force-missing
configure.ac:14: installing 'config/compile'
configure.ac:10: installing 'config/missing'
automake: warnings are treated as errors
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'libyat4tango.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:13: while processing Libtool library 'libyat4tango.la'
src/Makefile.am: installing 'config/depcomp'
autoreconf: automake failed with exit status: 1
tango-cs@tangobox:~/yat4tango/trunk$ nano -B configure.ac
tango-cs@tangobox:~/yat4tango/trunk$ diff configure.ac configure.ac~
15c15
< AM_PROG_AR

> #AM_PROG_AR
tango-cs@tangobox:~/yat4tango/trunk$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal –force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize –copy –force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf –force
autoreconf: running: /usr/bin/autoheader –force
autoreconf: running: automake –add-missing –copy –force-missing
configure.ac:14: installing 'config/compile'
configure.ac:10: installing 'config/missing'
src/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'

tango-cs@tangobox:~/yat4tango/trunk$ make
tango-cs@tangobox:~/yat4tango/trunk$ sudo make install



tango-cs@tangobox:~/yat4tango/trunk$ cd ~/GpibPrologix/trunk/src/

tango-cs@tangobox:~/GpibPrologix/trunk/src$ make
Compiling GpibPrologix.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/local/include -I/usr/local/include -std=c++0x -Dlinux -c GpibPrologix.cpp -o obj/GpibPrologix.o
GpibPrologix.cpp: In member function ‘virtual char* GpibPrologix_ns::GpibPrologix::write_read(Tango::DevString)’:
GpibPrologix.cpp:985:7: warning: ‘argout’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (argout)
^~
Compiling GpibPrologixClass.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/local/include -I/usr/local/include -std=c++0x -Dlinux -c GpibPrologixClass.cpp -o obj/GpibPrologixClass.o
Compiling GpibPrologixStateMachine.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/local/include -I/usr/local/include -std=c++0x -Dlinux -c GpibPrologixStateMachine.cpp -o obj/GpibPrologixStateMachine.o
Compiling ClassFactory.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/local/include -I/usr/local/include -std=c++0x -Dlinux -c ClassFactory.cpp -o obj/ClassFactory.o
Compiling main.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/local/include -I/usr/local/include -std=c++0x -Dlinux -c main.cpp -o obj/main.o
Linking TANGO device server /home/tango-cs/DeviceServers/GpibPrologix …
g++ ./obj/GpibPrologix.o ./obj/GpibPrologixClass.o ./obj/GpibPrologixStateMachine.o ./obj/ClassFactory.o ./obj/main.o -L/usr/local/lib -ltango -lomniDynamic4 -lCOS4 -lomniORB4 -lomnithread -lzmq -ldl -lpthread -lstdc++ -o /home/tango-cs/DeviceServers/GpibPrologix
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:95: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:95: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:95: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:95: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, char const*)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:104: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:104: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, char const*)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:104: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:104: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, char const*, char const*)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:113: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:113: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::GpibPrologix(Tango::DeviceClass*, char const*, char const*)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:113: undefined reference to `yat::Mutex::Mutex()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:113: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::init_device()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:246: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:253: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:259: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:265: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:272: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
./obj/GpibPrologix.o:/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:279: more undefined references to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::init_device()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:288: undefined reference to `yat::Socket::receive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::write(char*)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:728: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::read()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:827: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:828: undefined reference to `yat::Socket::receive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::set_time_out(short)':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1087: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::trigger()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1112: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::clear()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1137: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1138: undefined reference to `yat::Socket::receive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::is_srqline_up()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1169: undefined reference to `yat::Socket::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1170: undefined reference to `yat::Socket::receive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::disconnect()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1223: undefined reference to `yat::ClientSocket::disconnect()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1225: undefined reference to `yat::Socket::terminate()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::connect()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1255: undefined reference to `yat::Socket::init()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1258: undefined reference to `yat::ClientSocket::ClientSocket(yat::Socket::Protocol)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1261: undefined reference to `yat::Socket::set_option(yat::Socket::Option, int)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1262: undefined reference to `yat::Socket::set_option(yat::Socket::Option, int)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1263: undefined reference to `yat::Socket::set_option(yat::Socket::Option, int)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1264: undefined reference to `yat::Socket::set_option(yat::Socket::Option, int)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1266: undefined reference to `yat::Address::Address(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1267: undefined reference to `yat::ClientSocket::connect(yat::Address const&)'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1266: undefined reference to `yat::Address::~Address()'
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.cpp:1266: undefined reference to `yat::Address::~Address()'
./obj/GpibPrologix.o: In function `GpibPrologix_ns::GpibPrologix::~GpibPrologix()':
/home/tango-cs/GpibPrologix/trunk/src/GpibPrologix.h:143: undefined reference to `yat::Mutex::~Mutex()'
./obj/GpibPrologix.o: In function `yat::AutoMutex<yat::Mutex>::AutoMutex(yat::Mutex&)':
/usr/local/include/yat/threading/Mutex.h:262: undefined reference to `yat::Mutex::lock()'
./obj/GpibPrologix.o: In function `yat::AutoMutex<yat::Mutex>::~AutoMutex()':
/usr/local/include/yat/threading/Mutex.h:268: undefined reference to `yat::Mutex::unlock()'
./obj/GpibPrologix.o: In function `yat::XString<bool>::to_num(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/local/include/yat/utils/XString.h:75: undefined reference to `yat::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)'
/usr/local/include/yat/utils/XString.h:75: undefined reference to `yat::Exception::~Exception()'
/usr/local/include/yat/utils/XString.h:75: undefined reference to `typeinfo for yat::Exception'
./obj/GpibPrologix.o:(.data.rel.local.DW.ref._ZTIN3yat15SocketExceptionE[DW.ref._ZTIN3yat15SocketExceptionE]+0x0): undefined reference to `typeinfo for yat::SocketException'
./obj/GpibPrologix.o:(.data.rel.local.DW.ref._ZTIN3yat9ExceptionE[DW.ref._ZTIN3yat9ExceptionE]+0x0): undefined reference to `typeinfo for yat::Exception'
collect2: error: ld returned 1 exit status
/usr/local/share/pogo/preferences/common_target.opt:102: recipe for target '/home/tango-cs/DeviceServers/GpibPrologix' failed
make: *** [/home/tango-cs/DeviceServers/GpibPrologix] Error 1


TangoSnmp:


tango@tango-devel:/home/tango$ git clone https://gitlab.esrf.fr/accelerators/System/tangosnmp.git
tango@tango-devel:/home/tango$ cd tangosnmp

tango@tango-devel:/home/tango/tangosnmp$ dpkg-query -l | grep snmp
ii libnet-snmp-perl 6.0.1-5 all Script SNMP connections
ii libsnmp-base 5.7.3+dfsg-5+deb10u2 all SNMP configuration script, MIBs and documentation
ii libsnmp-dev 5.7.3+dfsg-5+deb10u2 amd64 SNMP (Simple Network Management Protocol) development files
ii libsnmp-perl 5.7.3+dfsg-5+deb10u2 amd64 SNMP (Simple Network Management Protocol) Perl5 support
ii libsnmp30:amd64 5.7.3+dfsg-5+deb10u2 amd64 SNMP (Simple Network Management Protocol) library
ii snmp 5.7.3+dfsg-5+deb10u2 amd64 SNMP (Simple Network Management Protocol) applications

tango@tango-devel:/home/tango/tangosnmp$ diff Makefile Makefile~
diff Makefile Makefile~
23c23
< MAKE_ENV = /usr/local/share/pogo/preferences

> MAKE_ENV = /segfs/tango/cppserver/env
57c57
< OUTPUT_DIR = /home/tango/DevicerServers

> OUTPUT_DIR = ./bin/$(BIN_DIR)
111a112
> #include ../../tmp/tango.opt
126,130d126
< $(LIB_OBJS) \
< $(OBJDIR)/ClassFactory.o \
< $(OBJDIR)/main.o
<
< LIB_OBJS = \
133a130,131
> $(OBJDIR)/ClassFactory.o \
> $(OBJDIR)/main.o \

tango@tango-devel:/home/tango/tangosnmp$ grep FLAGS_USR+ Makefile
LFLAGS_USR+= -g `net-snmp-config –libs`
CXXFLAGS_USR+= -Wall `net-snmp-config –cflags`
tango@tango-devel:/home/tango/tangosnmp$ make



Error:


tango@tango-devel:/home/tango/tangosnmp$ make

Compiling TangoSnmp.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/include -I/usr/local/include -Wall `net-snmp-config –cflags` -Dlinux -c TangoSnmp.cpp -o obj/TangoSnmp.o
<command-line>: warning: "linux" redefined
<command-line>: note: this is the location of the previous definition
TangoSnmp.cpp:2:20: warning: 'RcsId' defined but not used [-Wunused-variable]
static const char *RcsId = "$Id: TangoSnmp.cpp 15733 2013-10-03 07:12:38Z taurel $";
^~~~~
Compiling TangoSnmpClass.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/include -I/usr/local/include -Wall `net-snmp-config –cflags` -Dlinux -c TangoSnmpClass.cpp -o obj/TangoSnmpClass.o
<command-line>: warning: "linux" redefined
<command-line>: note: this is the location of the previous definition
TangoSnmpClass.cpp:2:20: warning: 'RcsId' defined but not used [-Wunused-variable]
static const char *RcsId = "$Id: TangoSnmpClass.cpp 6348 2013-04-17 11:28:30Z taurel $";
^~~~~
Compiling TangoSnmpStateMachine.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/include -I/usr/local/include -Wall `net-snmp-config –cflags` -Dlinux -c TangoSnmpStateMachine.cpp -o obj/TangoSnmpStateMachine.o
<command-line>: warning: "linux" redefined
<command-line>: note: this is the location of the previous definition
TangoSnmpStateMachine.cpp:2:20: warning: 'RcsId' defined but not used [-Wunused-variable]
static const char *RcsId = "$Id: TangoSnmpStateMachine.cpp 6348 2013-04-17 11:28:30Z taurel $";
^~~~~
Compiling ClassFactory.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/include -I/usr/local/include -Wall `net-snmp-config –cflags` -Dlinux -c ClassFactory.cpp -o obj/ClassFactory.o
<command-line>: warning: "linux" redefined
<command-line>: note: this is the location of the previous definition
ClassFactory.cpp:2:20: warning: 'RcsId' defined but not used [-Wunused-variable]
static const char *RcsId = "$Id: ClassFactory.cpp 6348 2013-04-17 11:28:30Z taurel $";
^~~~~
Compiling main.cpp …
g++ -g -D_DEBUG -D_REENTRANT -W -I . -I../include -I. -I/usr/local/include/tango -I/usr/include -I/usr/local/include -Wall `net-snmp-config –cflags` -Dlinux -c main.cpp -o obj/main.o
<command-line>: warning: "linux" redefined
<command-line>: note: this is the location of the previous definition
main.cpp:2:20: warning: 'RcsId' defined but not used [-Wunused-variable]
static const char *RcsId = "$Id: main.cpp 6348 2013-04-17 11:28:30Z taurel $";
^~~~~
Linking TANGO device server /home/tango/DevicerServers/TangoSnmp …
g++ ./obj/TangoSnmp.o ./obj/TangoSnmpClass.o ./obj/TangoSnmpStateMachine.o ./obj/ClassFactory.o ./obj/main.o -g `net-snmp-config –libs` -L/usr/local/lib -ltango -lomniDynamic4 -lCOS4 -lomniORB4 -lomnithread -lzmq -ldl -lpthread -lstdc++ -o /home/tango/DevicerServers/TangoSnmp
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_attr_hardware(std::vector<long, std::allocator<long> >&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_attr_hardware(std::vector<long, std::allocator<long> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_attr_hardware(std::vector<long, std::allocator<long> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:424: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<char*>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<char*>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<char*>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:119: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:460: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::delete_device()':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::delete_device()':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::delete_device()':
/home/tango/tangosnmp/TangoSnmp.cpp:128: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_MIBFileDirs(Tango::Attribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_MIBFileDirs(Tango::Attribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_MIBFileDirs(Tango::Attribute&)':
/home/tango/tangosnmp/TangoSnmp.cpp:443: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::always_executed_hook()':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::always_executed_hook()':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::always_executed_hook()':
/home/tango/tangosnmp/TangoSnmp.cpp:400: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::set_snmp_data(Tango::DevVarDoubleStringArray const*)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: /usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::set_snmp_data(Tango::DevVarDoubleStringArray const*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::set_snmp_data(Tango::DevVarDoubleStringArray const*)':
/home/tango/tangosnmp/TangoSnmp.cpp:1218: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::set_snmp_data(Tango::DevVarDoubleStringArray const*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::set_snmp_data(Tango::DevVarDoubleStringArray const*)':
/home/tango/tangosnmp/TangoSnmp.cpp:1235: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:1751: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:1839: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<char*>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<char*>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<char*>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:272: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:1577: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::check_coherency(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Tango::AttrWriteType&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:1721: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/home/tango/tangosnmp/TangoSnmp.cpp:974: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::get_snmp_data(char*)':
/home/tango/tangosnmp/TangoSnmp.cpp:980: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::add_dynamic_attributes()':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::add_dynamic_attributes()':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::add_dynamic_attributes()':
/home/tango/tangosnmp/TangoSnmp.cpp:668: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::init_device()':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::init_device()':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::init_device()':
/home/tango/tangosnmp/TangoSnmp.cpp:164: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_LoadedMIBModules(Tango::Attribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_LoadedMIBModules(Tango::Attribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_LoadedMIBModules(Tango::Attribute&)':
/home/tango/tangosnmp/TangoSnmp.cpp:514: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::read_attr_hardware(std::vector<long, std::allocator<long> >&)':
/home/tango/tangosnmp/TangoSnmp.cpp:424: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<char*>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:119: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<char*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:460: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `TangoSnmp_ns::TangoSnmp::delete_device()':
/home/tango/tangosnmp/TangoSnmp.cpp:128: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o:/home/tango/tangosnmp/TangoSnmp.cpp:443: more undefined references to `log4tango::LoggerStream::~LoggerStream()' follow
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<int>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<int>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<int>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int)':
/home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned int>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned int>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned int>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)':
/home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned long>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned long>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::ScalarSnmpData<unsigned long>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:66: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned long)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned long)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_snmp_data<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned long)':
/home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:415: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<char*>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<char*>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<char*>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<char*>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<char*>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<char*>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned long>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<unsigned int>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_SpectrumSnmpDataAttr<int>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:609: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<int>(Tango::WAttribute&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::write_ScalarSnmpDataAttr<int>(Tango::WAttribute&)':
/home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:515: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned long>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned long>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned long>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned int>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned int>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<unsigned int>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<int>*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<int>*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmp.o: in function `void TangoSnmp_ns::TangoSnmp::read_snmp_data_bulk<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TangoSnmp_ns::SpectrumSnmpData<int>*)':
/home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: /home/tango/tangosnmp/./TangoSnmp.tpp:201: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::GetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::GetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::GetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:174: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::SetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::SetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::SetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:193: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::erase_dynamic_attributes(Tango::DevVarStringArray const*, std::vector<Tango::Attr*, std::allocator<Tango::Attr*> >&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::erase_dynamic_attributes(Tango::DevVarStringArray const*, std::vector<Tango::Attr*, std::allocator<Tango::Attr*> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::erase_dynamic_attributes(Tango::DevVarStringArray const*, std::vector<Tango::Attr*, std::allocator<Tango::Attr*> >&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:699: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::device_factory(Tango::DevVarStringArray const*)':
/usr/local/include/tango/log4tango/Logger.hh:174: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::device_factory(Tango::DevVarStringArray const*)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::device_factory(Tango::DevVarStringArray const*)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:504: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::TangoSnmpClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, int, bool)'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::TangoSnmpClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/LoggerStream.hh:119: undefined reference to `log4tango::LoggerStream::flush()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::TangoSnmpClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:94: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::TangoSnmpClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/usr/local/include/tango/log4tango/Logger.hh:217: undefined reference to `log4tango::LoggerStream::LoggerStream(log4tango::Logger&, /bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::GetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:174: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::SetSnmpDataClass::execute(Tango::DeviceImpl*, CORBA::Any const&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:193: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::erase_dynamic_attributes(Tango::DevVarStringArray const*, std::vector<Tango::Attr*, std::allocator<Tango::Attr*> >&)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:699: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o: in function `TangoSnmp_ns::TangoSnmpClass::device_factory(Tango::DevVarStringArray const*)':
/home/tango/tangosnmp/TangoSnmpClass.cpp:504: undefined reference to `log4tango::LoggerStream::~LoggerStream()'
/usr/bin/ld: ./obj/TangoSnmpClass.o:/home/tango/tangosnmp/TangoSnmpClass.cpp:86: more undefined references to `log4tango::LoggerStream::~LoggerStream()' follow
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::get_mode() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::get_append() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::LayoutAppender::LayoutAppender(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Appender::level_changed(int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::remove_all_appenders()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `vtable for log4tango::RollingFileAppender'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::LayoutAppender::get_layout()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::RollingFileAppender(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned int, bool, unsigned int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::roll_over()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::_append(log4tango::LoggingEvent const&)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::XMLLayout::XMLLayout()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::get_appender(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::LayoutAppender::set_layout(log4tango::Layout*)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `typeinfo for log4tango::RollingFileAppender'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::get_all_appenders()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::set_mode(unsigned int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::reopen()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Appender::Appender(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::close()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::~FileAppender()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::remove_appender(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::set_max_backup_index(unsigned int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::LayoutAppender::requires_layout() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::LayoutAppender::~LayoutAppender()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `typeinfo for log4tango::Appender'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `typeinfo for log4tango::LayoutAppender'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::set_append(bool)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::FileAppender::is_valid() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Logger::Logger(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Level::get_name[abi:cxx11](int)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::add_appender(log4tango::Appender*)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::get_max_backup_index() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::AppenderAttachable::remove_appender(log4tango::Appender*)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::set_maximum_file_size(unsigned long)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Appender::is_valid() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::RollingFileAppender::get_max_file_size() const'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Appender::~Appender()'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libtango.so: undefined reference to `log4tango::Logger::set_level(int)'
collect2: error: ld returned 1 exit status
make: *** [/usr/local/share/pogo/preferences/common_target.opt:103: /home/tango/DevicerServers/TangoSnmp] Error 1
Edited 4 weeks ago
Hi Mike,

We use to compile those libs using cmake without this kind of problem. But a couple of weeks I've fixed the cmake configuration for both yat/yat4tango because some recent cpp files was not properly declared in CMakeList.txt files. Since when I've compiled both libs and used them in a Tango device without problem.
I suggest you to checkout again the libs and try again…

Unfortunately classical makefile files are not up-to-date, because of a lack of maintenance for a while so i do not recommend to use it.

Regards.

Stéphane Poirier
Synchrotron SOLEIL
stephane.poirier@synchrotron-soleil.fr
Stéphane
 
Register or login to create to post a reply.