TKONIY opened a new issue #1697:
URL: https://github.com/apache/incubator-brpc/issues/1697


   使用`config_brpc.sh`编译,出现如下报错:
   ```
   /usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation 
R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17' which may bind 
externally can not be used when making a shared object; recompile with -fPIC
   /usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o)(.text+0x184): 
unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol 
`stderr@@GLIBC_2.17'
   /usr/bin/ld: final link failed: bad value
   collect2: error: ld returned 1 exit status
   make: *** [Makefile:254: libbrpc.so] Error 1
   ```
   此前还出现了无法识别msse的错误,已将该flag从Makefile中注释掉。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to