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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
3,132件の閲覧回数
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.)

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
2,571件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
2,571件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello Zafer

Thank you for post your solution.

Best Regards,

Diego.

0 件の賞賛
返信
2,572件の閲覧回数
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 件の賞賛
返信