text C ++

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text C ++相关的知识,希望对你有一定的参考价值。

ar -x libscy.a
readelf -s -W logger.cpp.o | grep Rotating
   306: 0000000000000000  1405 FUNC    GLOBAL DEFAULT  181 _ZN3scy19RotatingFileChannel5writeERKNS_9LogStreamE
   307: 0000000000000000  3092 FUNC    GLOBAL DEFAULT  183 _ZN3scy19RotatingFileChannel6rotateEv
   308: 0000000000000000  1221 FUNC    GLOBAL DEFAULT  175 _ZN3scy19RotatingFileChannelC1ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_
   309: 0000000000000000  1221 FUNC    GLOBAL DEFAULT  175 _ZN3scy19RotatingFileChannelC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_
   310: 0000000000000000    40 FUNC    GLOBAL DEFAULT  179 _ZN3scy19RotatingFileChannelD0Ev
   311: 0000000000000000   367 FUNC    GLOBAL DEFAULT  177 _ZN3scy19RotatingFileChannelD1Ev
   312: 0000000000000000   367 FUNC    GLOBAL DEFAULT  177 _ZN3scy19RotatingFileChannelD2Ev
   527: 0000000000000230    24 OBJECT  GLOBAL DEFAULT  443 _ZTIN3scy19RotatingFileChannelE
   543: 00000000000000a0    28 OBJECT  GLOBAL DEFAULT  445 _ZTSN3scy19RotatingFileChannelE
   559: 0000000000000148    64 OBJECT  GLOBAL DEFAULT  443 _ZTVN3scy19RotatingFileChannelE

c++filt -n _ZN3scy19RotatingFileChannelC1ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_NS_5LevelES7_iS7_
scy::RotatingFileChannel::RotatingFileChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, scy::Level, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)

1. 编译找不到库的问题
export PKG_CONIFG_PATH=xxxx
root@localhost ~]# pkg-config --cflags --libs libcfg  
-I/ext/corosync/include  -L/ext/corosync/lib -lcfg 

2.连接找不到库的问题
/etc/ld.so.conf.d/janus             ---- /opt/janus/lib/third_party
ldconfig                            ---- 刷新缓存
ldconfig -p | grep ffmpeg           ---- 查询是否生效

以上是关于text C ++的主要内容,如果未能解决你的问题,请参考以下文章

text C ++

text C#条件

text C

text C360-DEV-弹性查询

text C中的头文件

text 适用于C的所有调试工具