一个简单的程序,用gcc -g peak.c -o peak编译完成后,用gdb peak,出现提示:
BFD: /home/xc/peak(.rel.plt): relocation 0 has invalid symbol index 1
BFD: /home/xc/peak(.rel.plt): relocation 1 has invalid symbol index 2
BFD: /home/xc/peak(.rel.plt): relocation 2 has invalid symbol index 3
BFD: /home/xc/peak(.rel.plt): relocation 3 has invalid symbol index 4
BFD: /home/xc/peak(.rel.plt): relocation 4 has invalid symbol index 5
BFD: /home/xc/peak(.rel.plt): relocation 5 has invalid symbol index 6
BFD: /home/xc/peak(.rel.plt): relocation 6 has invalid symbol index 7
Using host libthread_db library "/lib/tls/libthread_db.so.1".
请问是什么原因啊?我用ML1.2。