Hi. I use to imx6ulmg som module.
IMX6ULMG_IDEX_V1.3.0.1 / Gateway / Native Source Code As I mentioned in Build.pdf, I try to compile the project in ~ / IDEx_Demo / ThreadControl / on the gateway, but I get the following error.
^
cc -DSW_VERSION=\"1.7.26\" -g -O3 -Wall -Wno-unused-function -I=/usr/include/hsdk/physical/BT -I=/usr/include/hsdk/protocol/HCI -I=/usr/include/hsdk/protocol -I=/usr/include/hsdk/physical -I=/usr/include/hsdk/sys -I=/usr/include/hsdk/physical/UART -I=/usr/include/hsdk/physical/PCAP -I=/usr/include/hsdk/physical/SPI -I=/usr/include/hsdk/protocol/FSCI -I=/usr/include/dbmanager/ -c jsmn.c -o /home/root/IDEx_Demo/ThreadControl/build/jsmn.o
cc /home/root/IDEx_Demo/ThreadControl/build/thread_device_mngr.o /home/root/IDEx_Demo/ThreadControl/build/jsmn.o -o /home/root/IDEx_Demo/ThreadControl/bin/ThreadDeviceMgr -lframer -lfsci -lphysical -luart -lsys -lpthread -ldbmanager -lsqlite3 -lpthread -lrt
/usr/lib/gcc/arm-poky-linux-gnueabi/5.3.0/../../../../arm-poky-linux-gnueabi/bin/ld: cannot find -ldbmanager
collect2: error: ld returned 1 exit status
Makefile:72: recipe for target 'ThreadDeviceMgr' failed
make: *** [ThreadDeviceMgr] Error 1
I use make while compiling the source code as described in pdf.
• Follow section 4.3.1 for CloudREG, DBManager, DeviceControl, LedControl, ZigbeeControl, DiagnosticRead, nfcreg, wificommission.
• Follow section 4.3.2 for ThreadControl and ota-update.
As mentioned on page 9, it says that I need to compile ThreadControl and ota-update using make.
but failed. (Note: I have successfully compiled the CloudREG source code.)
Hi everyone. I missed a little detail, so I figured I got this error.
As noted in the note below. To solve the problem, you must first compile DBManeger according to the automake method. Then you must compile the source code of ThreadControl.