1. 程式人生 > >安裝gdb6.8時出現錯誤的解決

安裝gdb6.8時出現錯誤的解決

【1】.././gdb/cli/cli-cmds.c: In function ‘pwd_command’:
          .././gdb/cli/cli-cmds.c:323: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[2]: *** [cli-cmds.o] Error 1
make[2]: Leaving directory `/home/yeziqiang/gdb-6.8/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/yeziqiang/gdb-6.8'
make: *** [all] Error 2