LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 858|回复: 2

求助:LFS6.1.1 6.53.节make psmisc时提示找不到头文件

[复制链接]
发表于 2006-4-8 15:49:14 | 显示全部楼层 |阅读模式
参考LFS-BOOK-6.1.1和youbest手把手……,做到 6.53. Psmisc-21.6,make时出错
  1. make  all-recursive
  2. make[1]: Entering directory `/sources/psmisc-21.6'
  3. Making all in doc
  4. make[2]: Entering directory `/sources/psmisc-21.6/doc'
  5. make[2]: Nothing to be done for `all'.
  6. make[2]: Leaving directory `/sources/psmisc-21.6/doc'
  7. Making all in src
  8. make[2]: Entering directory `/sources/psmisc-21.6/src'
  9. make  all-am
  10. make[3]: Entering directory `/sources/psmisc-21.6/src'
  11. if gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR="/usr/share/locale" -g -O2 -MT pstree.o -MD -MP -MF ".deps/pstree.Tpo" -c -o pstree.o pstree.c; \
  12. then mv -f ".deps/pstree.Tpo" ".deps/pstree.Po"; else rm -f ".deps/pstree.Tpo"; exit 1; fi
  13. pstree.c:18:20: curses.h: No such file or directory
  14. pstree.c:19:18: term.h: No such file or directory
  15. pstree.c: In function `dump_tree':
  16. pstree.c:395: warning: implicit declaration of function `tgetstr'
  17. pstree.c:395: warning: assignment makes pointer from integer without a cast
  18. pstree.c:396: warning: implicit declaration of function `tputs'
  19. pstree.c:444: warning: assignment makes pointer from integer without a cast
  20. pstree.c: In function `main':
  21. pstree.c:791: warning: implicit declaration of function `setupterm'
  22. pstree.c:791: error: `OK' undeclared (first use in this function)
  23. pstree.c:791: error: (Each undeclared identifier is reported only once
  24. pstree.c:791: error: for each function it appears in.)
  25. pstree.c:791: warning: implicit declaration of function `tigetstr'
  26. pstree.c:827: warning: implicit declaration of function `tgetent'
  27. make[3]: *** [pstree.o] Error 1
  28. make[3]: Leaving directory `/sources/psmisc-21.6/src'
  29. make[2]: *** [all] Error 2
  30. make[2]: Leaving directory `/sources/psmisc-21.6/src'
  31. make[1]: *** [all-recursive] Error 1
  32. make[1]: Leaving directory `/sources/psmisc-21.6'
  33. make: *** [all] Error 2
复制代码

:thank
发表于 2006-4-8 16:38:26 | 显示全部楼层
你大概是Ncurses没装好的缘故,重新安装Ncurses试试看.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 01:55:03 | 显示全部楼层
重装Ncurces,通过了.多谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表