hidden symbol __dso_handle reference: link error

hidden symbol __dso_handle reference: link error

  met the following error when make ebtables:
  
  /usr/bin/ld: ebtables: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
  /usr/bin/ld: final link failed: Nonrepresentable section on output
  collect2: ld returned 1 exit status
  
  solution:
  using '-shared' when you invoke gcc/g++ to compile your source objects

你可能感兴趣的:(hidden symbol __dso_handle reference: link error)