ndk编译droid vnc server 报错:

Compile thumb : crypto_static <= dso_dlfcn.c
jni/openssl/crypto/dso/dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
jni/openssl/crypto/dso/dso_dlfcn.c:446:2: error: unknown type name 'Dl_info'
jni/openssl/crypto/dso/dso_dlfcn.c:458:24: error: request for member 'dli_fname' in something not a structure or union
jni/openssl/crypto/dso/dso_dlfcn.c:461:18: error: request for member 'dli_fname' in something not a structure or union
make: *** [obj/local/armeabi/objs/crypto_static/dso/dso_dlfcn.o] Error 1

修改办法:

修改dso_dlfcn.c 将441 行的

#endif /* __sgi */

移到470行(dlfcn_pathbyaddr函数的结尾),重新编译 即可。

 

 

 

相关文章:

  • 2021-12-03
  • 2021-11-30
  • 2021-08-16
  • 2021-10-09
  • 2021-08-01
  • 2021-12-15
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2021-09-18
  • 2021-10-26
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案