
centos 6.5中pg -10.10
安装pg_top
在make时候报错如下:
/soft/pg-soft/pg_top-main/machine/m_remote.c:14:24: 错误:bsd/stdlib.h:没有那个文件或目录
/soft/pg-soft/pg_top-main/machine/m_remote.c:15:26: 错误:bsd/sys/tree.h:没有那个文件或目录
/soft/pg-soft/pg_top-main/machine/m_remote.c:130: 错误:expected specifier-qualifier-list before ‘RB_ENTRY’
/soft/pg-soft/pg_top-main/machine/m_remote.c: 在函数‘RB_HEAD’中:
/soft/pg-soft/pg_top-main/machine/m_remote.c:184: 错误:expected declaration specifiers before ‘head_proc_r’
/soft/pg-soft/pg_top-main/machine/m_remote.c:185: 错误:expected declaration specifiers before ‘RB_PROTOTYPE’
/soft/pg-soft/pg_top-main/machine/m_remote.c:191: 错误:expected declaration specifiers before ‘;’ token
/soft/pg-soft/pg_top-main/machine/m_remote.c:193: 错误:为形参‘memorynames’指定了存储类
请问如何解决???