当前位置: 技术问答>linux和unix
关于YAMD安装
来源: 互联网 发布时间:2016-07-04
本文导语: 解压后 Yamd编译错误 root@localhost1 yamd-0.32]# make gcc -c -Wall -W -O2 -DYAMD_VERSION="0.32" -DUSE_LIBC_HOOKS -o yamd.o yamd.c yamd.c: In function ‘print_footer’: yamd.c:1673: warning: implicit declaration of function ‘time’ yamd.c:1675:...
解压后 Yamd编译错误
root@localhost1 yamd-0.32]# make
gcc -c -Wall -W -O2 -DYAMD_VERSION="0.32" -DUSE_LIBC_HOOKS -o yamd.o yamd.c
yamd.c: In function ‘print_footer’:
yamd.c:1673: warning: implicit declaration of function ‘time’
yamd.c:1675: warning: implicit declaration of function ‘ctime’
yamd.c: In function ‘startup’:
yamd.c:1862: error: ‘sigsegv_handler’ undeclared (first use in this function)
yamd.c:1862: error: (Each undeclared identifier is reported only once
yamd.c:1862: error: for each function it appears in.)
make: *** [yamd.o] Error 1
现在跑的是c++程序,周期运行了36次出现段错误,内存和cpu消耗正常。
gdb调试信息为
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1358203200 (LWP 1769)]
0x0000003c5f69c978 in std::basic_string::basic_string ()
from /usr/lib64/libstdc++.so.6
gdb core调试信息为:
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Core was generated by `./a.out'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000003c5f69c978 in std::basic_string::basic_string ()
from /usr/lib64/libstdc++.so.6
不能够准确定位到函数,现在准备用Yamd调试下,但安装失败
root@localhost1 yamd-0.32]# make
gcc -c -Wall -W -O2 -DYAMD_VERSION="0.32" -DUSE_LIBC_HOOKS -o yamd.o yamd.c
yamd.c: In function ‘print_footer’:
yamd.c:1673: warning: implicit declaration of function ‘time’
yamd.c:1675: warning: implicit declaration of function ‘ctime’
yamd.c: In function ‘startup’:
yamd.c:1862: error: ‘sigsegv_handler’ undeclared (first use in this function)
yamd.c:1862: error: (Each undeclared identifier is reported only once
yamd.c:1862: error: for each function it appears in.)
make: *** [yamd.o] Error 1
现在跑的是c++程序,周期运行了36次出现段错误,内存和cpu消耗正常。
gdb调试信息为
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1358203200 (LWP 1769)]
0x0000003c5f69c978 in std::basic_string::basic_string ()
from /usr/lib64/libstdc++.so.6
gdb core调试信息为:
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Core was generated by `./a.out'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000003c5f69c978 in std::basic_string::basic_string ()
from /usr/lib64/libstdc++.so.6
不能够准确定位到函数,现在准备用Yamd调试下,但安装失败
|
友情UP
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。