3

I'm new to Linux and cross compilation. I am facing problems in cross-compiling my project.

arm-linux-gnueabihf-ld: build/backchannel-support.o: undefined reference to symbol 'socket@@GLIBC_2.4'
/usr/arm-linux-gnueabihf/lib/libc.so.6: error adding symbols: DSO missing from command line

Can someone please help me here.

Thx-

Employed Russian
  • 182,696
  • 29
  • 267
  • 329
s.embedded
  • 31
  • 3

1 Answers1

1

I hope your are cross compiling this using makefile : please check the macros like CC LD make sure are are small cc and ld when define seperately see below

COMPILER ?= ${CC}
LINKER   ?= ${CC}

cc = $(COMPILER)   # if you keep CC here the make file will confuse
ld = $(LINKER) 
rao
  • 117
  • 11