../../../arm-poky-linux-gnueabi/bin/ld: cannot find -ldbmanager

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

../../../arm-poky-linux-gnueabi/bin/ld: cannot find -ldbmanager

Jump to solution
3,129 Views
zafersen
Contributor III

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.)

Labels (1)
0 Kudos
Reply
1 Solution
2,568 Views
zafersen
Contributor III

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.

Note: Make sure to backup all artifacts from the affected location before start build process because artifacts will be overridden by the build process (Follow section 5 for the reference). Please build the DBManager first as other Application source depends on the DBManager.

View solution in original post

0 Kudos
Reply
2 Replies
2,568 Views
diegoadrian
NXP Employee
NXP Employee

Hello Zafer

Thank you for post your solution.

Best Regards,

Diego.

0 Kudos
Reply
2,569 Views
zafersen
Contributor III

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.

Note: Make sure to backup all artifacts from the affected location before start build process because artifacts will be overridden by the build process (Follow section 5 for the reference). Please build the DBManager first as other Application source depends on the DBManager.

0 Kudos
Reply