#include "MySignalHound.h" #include "Settings.h" #include "MeasRcvr.h" CMySignalHound myHound; int main() { if(myHound.Initialize()) return -5; double myTemp = myHound.ReadTemperature(); // sprintf(debugstr,"Temp %.2f",myTemp); myHound.SetCenterAndSpan(162.5e6, 1e6); myHound.SetupForSweep(); myHound.DoSweep(); return 0; } ========= compiling attempt ==================== root@ts7670-48f090:~/sighound/arm_sa44B_api# g++ main.cpp libHOUND.a libPFFFT.a /usr/local/lib/libftd2xx.a -ldl -lrt /usr/bin/ld: BFD (GNU Binutils for Debian) 2.22 assertion fail ../../bfd/elf32-arm.c:11477 libHOUND.a(USBInterface.o): In function `CUSBInterface::PurgeBuffers()': USBInterface.cpp:(.text+0x3c0): undefined reference to `ftdi_usb_purge_buffers' USBInterface.cpp:(.text+0x3d0): undefined reference to `ftdi_usb_purge_buffers' libHOUND.a(USBInterface.o): In function `CUSBInterface::GetAllData(int)': USBInterface.cpp:(.text+0x414): undefined reference to `ftdi_read_data' libHOUND.a(USBInterface.o): In function `safe_read_data(ftdi_context*, unsigned char*, int)': USBInterface.cpp:(.text+0x474): undefined reference to `ftdi_read_data' libHOUND.a(USBInterface.o): In function `CUSBInterface::GetClearLeftoverData()': USBInterface.cpp:(.text+0x63c): undefined reference to `ftdi_usb_purge_buffers' libHOUND.a(USBInterface.o): In function `CUSBInterface::SendSLIP(int, ftdi_context*, bool)': USBInterface.cpp:(.text+0x718): undefined reference to `ftdi_write_data' libHOUND.a(USBInterface.o): In function `CUSBInterface::InitUSB()': USBInterface.cpp:(.text+0x21e4): undefined reference to `ftdi_new' USBInterface.cpp:(.text+0x2208): undefined reference to `ftdi_usb_find_all' USBInterface.cpp:(.text+0x2238): undefined reference to `ftdi_usb_get_strings' USBInterface.cpp:(.text+0x225c): undefined reference to `ftdi_set_interface' USBInterface.cpp:(.text+0x226c): undefined reference to `ftdi_usb_open' USBInterface.cpp:(.text+0x2270): undefined reference to `ftdi_new' USBInterface.cpp:(.text+0x227c): undefined reference to `ftdi_set_interface' USBInterface.cpp:(.text+0x228c): undefined reference to `ftdi_usb_open' USBInterface.cpp:(.text+0x2298): undefined reference to `ftdi_set_baudrate' USBInterface.cpp:(.text+0x22ac): undefined reference to `ftdi_set_line_property' USBInterface.cpp:(.text+0x22b8): undefined reference to `ftdi_set_latency_timer' collect2: ld returned 1 exit status