Hi guys,
I am trying to build a custom application for my build but facing the
following error,
vice-discovery-host.o  -lreadline -lncurses  -lm -lpthread -o
./build/exe/hostforEdge3
|





* aarch64-poky-linux-ld: build/backchannel-support.o: undefined reference
to symbol 'socket@@GLIBC_2.17'| aarch64-poky-linux-ld:
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/recipe-sysroot/lib64/libc.so.6:
error adding symbols: DSO missing from command line| make: ***
[Makefile:415: build/exe/hostforEdge3] Error 1| ERROR: oe_runmake failed|
WARNING: exit code 1 from a shell command.| ERROR: Execution of
'/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/run.do_compile.211997'
failed with exit code 1ERROR: Task
(/home/mohan/amlogic/meta-c/recipes-example/zigbee/zigbee_0.1.bb:do_compile)
failed with exit code '1'*
I checked for the missing lib.so.6 file using *ldconfig -p | grep libc.so.6
*command and this is what I got,



*libc.so.6 (libc6,x32, OS ABI: Linux 3.4.0) => /libx32/libc.so.6 libc.so.6
(libc6,x86-64, OS ABI: Linux 3.2.0) => /lib/x86_64-linux-gnu/libc.so.6
libc.so.6 (libc6, OS ABI: Linux 3.2.0) => /lib/i386-linux-gnu/libc.so.6
libc.so.6 (libc6, OS ABI: Linux 3.2.0) => /lib32/libc.so.6*

I am not sure how to add this library to my linker. Can you guys help me
with this.

Thanks and regards,
Hassan

Attachment: makefile
Description: Binary data

Attachment: zigbee_0.1.bb
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59721): https://lists.yoctoproject.org/g/yocto/message/59721
Mute This Topic: https://lists.yoctoproject.org/mt/98341723/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to