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

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.