arm-linux-gcc compiler error - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

arm-linux-gcc compiler error

PranaliPranali Posts: 1Member
arm-linux-gcc -c -o inventory_live.o inventory_live.c
arm-linux-gcc -o inventory_live inventory_live.o -lrfid -lrfidtx -lcpl -lsample_shared -lpthread -lrt -lstdc++
/usr/local/bin/../lib/gcc/arm-linux/3.4.0/libsample_shared.a(print_packet.o)(.text+0x6c0): In function `$a':
: undefined reference to `UID'
/usr/local/bin/../lib/gcc/arm-linux/3.4.0/libsample_shared.a(print_packet.o)(.text+0x6c8): In function `$a':
: undefined reference to `BUFF'
/usr/local/bin/../lib/gcc/arm-linux/3.4.0/libsample_shared.a(print_packet.o)(.text+0x6cc): In function `$a':
: undefined reference to `node'
/usr/local/bin/../lib/gcc/arm-linux/3.4.0/libsample_shared.a(print_packet.o)(.text+0x6d0): In function `$a':
: undefined reference to `start'
collect2: ld returned 1 exit status
make: *** [inventory_live] Error 1

Please help its urgent.
I am getting this error inspite of declaring all the parameters in the include file before creating libsample_shared.a
Sign In or Register to comment.