As of May 2, 2022 the LabJack forums have been set to read-only.
If you are in need of support, please contact us via one of the methods described on our contact page.
The LabjackM-1.1700-Rasbian-Linux-armhf are for 32 bit and I need to link to this libraries from a 64-bit ARM SoC. Is there a way to compile the libraries for 64 bit?
What 64-bit ARM SoC are you using, and what is it's output for `uname -a`? I will compile a 64-bit ARM version of LJM and update this thread when it is available.
The new aarch64 tar has an extra _0 before .gz. (LabJackM-1.1700-openSUSE-Linux-aarch64.tar_0.gz)
When you download it, try the following commands before trying to compile your own program:
tar zxf LabJackM-1.1700-openSUSE-Linux-aarch64.tar_0.gz
cd LabJackM-1.1700-openSUSE-Linux-aarch64
sudo ./LabJackM.run
cd LabJackM/examples/list_all/
./make.sh
./list_all
If libLabJackM.so still has an undefined reference to libusb, you need to install libusb. A command similar to sudo apt install libusb-1.0-0 should do it (depending on package manager your distribution uses).
If libLabJackM.so still has undefined references to GLIBC, please post the output of /lib64/libc.so*. If you can install those required glibc versions, please do so.
liblabjackusb functionality has been compiled into LJM, so you don't need it.
From this StackOverflow post, it seems like gcc: error trying to exec 'cc1': execvp: No such file or directory indicates that you need to install the build-essential package:
LJM only supports the T-series (LabJack T7 and T4).
For the LabJack U6 you will need to use the Exodriver. The Exodriver is built from source code. You build it on your system with the aarch64 architecture:
What 64-bit ARM SoC are you using, and what is it's output for `uname -a`? I will compile a 64-bit ARM version of LJM and update this thread when it is available.
It's NVIDIA's Jetson TX2. The output is below. Thank you very much.
[email protected]-ubuntu:~$ uname -a
Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Thu Jul 20 00:49:07 PDT 2017 aarch64 aarch64 aarch64 GNU/Linux
I'll compile LJM for aarch64 this week.
Thank you. We have 6 T-PROs that are waiting for the driver.
I was unable to compile LJM for aarch64 this week, but I expect to have a working binary early next week. I apologize for the delay.
Thank you. Looking forward. Have a good weekend.
LJM for aarch64 is now available on this page:
https://labjack.com/support/software/installers/ljm
Please let us know if you have any issues or any feedback whatsoever.
Thank you. When I try to build I get these errors:
/labjackComms/labjackComms.o: In function `readLabjack':
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:330: undefined reference to `ErrorCheck'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:337: undefined reference to `ErrorCheck'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:347: undefined reference to `ErrorCheck'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:352: undefined reference to `ErrorCheck'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:358: undefined reference to `CountAndOutputNumSkippedScans'
./labjackComms/labjackComms.o: In function `labjackCommsThread':
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:166: undefined reference to `OpenOrDie'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:233: undefined reference to `CloseOrDie'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../labjackComms/labjackComms.c:234: undefined reference to `WaitForUserIfWindows'
./analysisComms/analysisComms.o: In function `sendToAnalytics':
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../analysisComms/analysisComms.c:417: undefined reference to `s_send'
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../analysisComms/analysisComms.c:418: undefined reference to `s_recv'
./analysisComms/analysisComms.o: In function `analysisCommsThread':
/home/korhan/cuda-workspace/test1/control/trunk/src/Default/../analysisComms/analysisComms.c:263: undefined reference to `s_send'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::append(char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::length_error::length_error(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for unsigned [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::condition_variable::condition_variable()@GLIBCXX_3.4.11'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::locale::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::Server::~Server()'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_clear_halt'
/usr/local/lib/libLabJackM.so: undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::istream& std::istream::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::put(char)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_close'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::operator==(std::locale const&) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::sync()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::uflow()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::erase(unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `VTT for std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::Timepoint2Timespec(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, gpr_timespec*)'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_system_error(int)@GLIBCXX_3.4.11'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::assign(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_open'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_claim_interface'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream& std::ostream::_M_insert<bool>(bool)@GLIBCXX_3.4.9'
/usr/local/lib/libzmq.so: undefined reference to `operator new[](unsigned long, std::nothrow_t const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::bad_alloc::~bad_alloc()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::facet::~facet()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_Rep::_M_dispose(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `operator delete(void*, std::nothrow_t const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_ifstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::locale()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::imbue(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_free_device_list'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `VTT for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_get_device_list'
/usr/local/lib/libLabJackM.so: undefined reference to `std::runtime_error::runtime_error(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::runtime_error::~runtime_error()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_bad_function_call()@GLIBCXX_3.4.14'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_filebuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::operator<<(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ServerBuilder::~ServerBuilder()'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(unsigned long, char, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_leak_hard()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_control_transfer'
/usr/local/lib/libLabJackM.so: undefined reference to `std::length_error::~length_error()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::condition_variable::~condition_variable()@GLIBCXX_3.4.11'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::overflow(int)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::locale::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_M_mutate(unsigned long, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__detail::_Prime_rehash_policy::_M_next_bkt(unsigned long) [email protected]_3.4.18'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::~locale()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(char const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_interrupt_transfer'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::swap(std::string&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::condition_variable::notify_all()@GLIBCXX_3.4.11'
/usr/local/lib/libLabJackM.so: undefined reference to `std::runtime_error::what() [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for __cxxabiv1::[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ServerBuilder::AddListeningPort(std::string const&, std::shared_ptr<grpc::ServerCredentials>, int*)'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::substr(unsigned long, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::end()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::close()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::compare(std::string const&) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::bad_exception::~bad_exception()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::InsecureServerCredentials()'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ios_base::ios_base()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::operator=(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `operator new(unsigned long, std::nothrow_t const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `VTT for std::basic_ifstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ServerBuilder::BuildAndStart()'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3.1'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::resize(unsigned long, char)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find(char, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::istream::get()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream& std::ostream::_M_insert<long>(long)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find(char const*, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_Rep::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find(char const*, unsigned long, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::reserve(unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec)'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ServerBuilder::RegisterService(grpc::Service*)'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for char const*@CXXABI_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::istream::read(char*, long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::flush()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream& std::ostream::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_exit'
/usr/local/lib/libLabJackM.so: undefined reference to `VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ctype<char>::_M_widen_init() [email protected]_3.4.11'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_init'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_reset_device'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ofstream<char, std::char_traits<char> >::close()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_bad_cast()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find_first_of(char const*, unsigned long, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_dispose(std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::bad_exception::what() [email protected]_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::out_of_range::out_of_range(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::operator<<(short)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::setbuf(char*, long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::Status::OK'
/usr/local/lib/libLabJackM.so: undefined reference to `VTT for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::CompletionQueue::Shutdown()'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::underflow()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::g_glip'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::append(std::string const&, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::bad_alloc::what() [email protected]_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::_Impl::_Impl(std::locale::_Impl const&, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::compare(unsigned long, unsigned long, std::string const&) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::rfind(char, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__basic_file<char>::~__basic_file()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::Server::Wait()'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__detail::_Prime_rehash_policy::_M_need_rehash(unsigned long, unsigned long, unsigned long) [email protected]_3.4.18'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ifstream<char, std::char_traits<char> >::close()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_iostream<char, std::char_traits<char> >::~basic_iostream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::pbackfail(int)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::write(char const*, long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `gpr_set_log_verbosity'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::showmanyc()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::exception::~exception()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::InsecureChannelCredentials()'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ClientContext::~ClientContext()'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::length_error::~length_error()@GLIBCXX_3.4.15'
/usr/local/lib/libLabJackM.so: undefined reference to `std::numpunct<char> const& std::use_facet<std::numpunct<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::out_of_range::~out_of_range()@GLIBCXX_3.4.15'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::ios_base::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `std::runtime_error::~runtime_error()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::Timespec2Timepoint(gpr_timespec)'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::imbue(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign(wchar_t const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::out_of_range::~out_of_range()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::classic()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_get_device_descriptor'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::append(char const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::compare(char const*) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::runtime_error::runtime_error(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for __cxxabiv1::[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for unsigned [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::xsgetn(char*, long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::_M_leak_hard()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find_first_not_of(char const*, unsigned long, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::operator<<(int)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ios_base::~ios_base()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream& std::ostream::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::insert(unsigned long, char const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for __cxxabiv1::[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `[email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ClientContext::ClientContext()'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::CreateChannel(std::string const&, std::shared_ptr<grpc::ChannelCredentials> const&)'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::assign(char const*, unsigned long)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::find_last_of(char const*, unsigned long, unsigned long) [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_bulk_transfer'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::append(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::ServerBuilder::ServerBuilder()'
/usr/local/lib/libLabJackM.so: undefined reference to `grpc::g_core_codegen_interface'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::assign(char const*)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::locale(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::bad_cast::~bad_cast()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::out_of_range::out_of_range(std::string const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::append(unsigned long, char)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ctype<char> const& std::use_facet<std::ctype<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_release_interface'
/usr/local/lib/libLabJackM.so: undefined reference to `vtable for std::[email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::ostream::tellp()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::logic_error::what() [email protected]_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `libusb_get_device'
/usr/local/lib/libLabJackM.so: undefined reference to `std::chrono::_V2::system_clock::now()@GLIBCXX_3.4.19'
/usr/local/lib/libLabJackM.so: undefined reference to `std::terminate()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `typeinfo for unsigned [email protected]_1.3'
/usr/local/lib/libLabJackM.so: undefined reference to `std::locale::_Impl::~_Impl()@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::string::erase(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>)@GLIBCXX_3.4'
/usr/local/lib/libLabJackM.so: undefined reference to `std::chrono::_V2::steady_clock::now()@GLIBCXX_3.4.19'
collect2: error: ld returned 1 exit status
make: *** [src] Error 1
There seem to be a couple of separate issues shown in that output. I've uploaded a new LJM with some fixes:
https://labjack.com/support/software/installers/ljm
The new aarch64 tar has an extra _0 before .gz. (LabJackM-1.1700-openSUSE-Linux-aarch64.tar_0.gz)
When you download it, try the following commands before trying to compile your own program:
If libLabJackM.so still has an undefined reference to libusb, you need to install libusb. A command similar to sudo apt install libusb-1.0-0 should do it (depending on package manager your distribution uses).
If libLabJackM.so still has undefined references to GLIBC, please post the output of /lib64/libc.so*. If you can install those required glibc versions, please do so.
Please let us know how it goes.
I get the error below when I call > /.make.sh.
For libusb we used to have /usr/local/lib/liblabjackusb.so for 32 bit arch. Don't we need to use your libusb?
Thanks!
sudo ./make.sh
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o list_all.o -c -g -Wall list_all.c
gcc: error trying to exec 'cc1': execvp: No such file or directory
scons: *** [list_all.o] Error 1
scons: building terminated because of errors.
liblabjackusb functionality has been compiled into LJM, so you don't need it.
From this StackOverflow post, it seems like gcc: error trying to exec 'cc1': execvp: No such file or directory indicates that you need to install the build-essential package:
sudo apt-get update
sudo apt-get install --reinstall build-essential
If that doesn't fix it, can you compile other programs?
Hi,
Do you have LJM for aarch64 which support LabJack U6?
LJM only supports the T-series (LabJack T7 and T4).
For the LabJack U6 you will need to use the Exodriver. The Exodriver is built from source code. You build it on your system with the aarch64 architecture:
https://labjack.com/support/software/installers/exodriver