LinuxSir.cn,穿越时空的Linuxsir!

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

speech-tools编译错误

[复制链接]
发表于 2006-8-8 20:20:37 | 显示全部楼层 |阅读模式
emerge speech-tools 时:

  1. /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
  2. In file included from ../include/EST_String.h:50,
  3.                  from ../include/siod.h:17,
  4.                  from slib.cc:88:
  5. ../include/EST_iostream.h:54:26: error: strstream.h: No such file or directory
  6. ../include/EST_Chunk.h:131: error: ‘EST_ChunkPtr’ does not name a type
  7. ../include/EST_Chunk.h:132: error: ‘EST_ChunkPtr’ does not name a type
  8. ../include/EST_Chunk.h:133: error: ‘EST_ChunkPtr’ does not name a type
  9. ../include/EST_Chunk.h:135: error: ‘EST_ChunkPtr’ has not been declared
  10. ../include/EST_Chunk.h:136: error: ‘EST_ChunkPtr’ has not been declared
  11. ../include/EST_Chunk.h:138: error: ‘EST_ChunkPtr’ has not been declared
  12. ../include/EST_Chunk.h:139: error: ‘EST_ChunkPtr’ has not been declared
  13. ../include/EST_String.h: In member function ‘void EST_String::make_updatable()’:
  14. ../include/EST_String.h:253: error: no matching function for call to ‘make_updatable(EST_ChunkPtr&, int)’
  15. ../include/EST_TIterator.h: In constructor ‘EST_TStructIterator<Container, IPointer, Entry>::EST_TStructIterator()’:
  16. ../include/EST_TIterator.h:204: error: ‘cont’ was not declared in this scope
  17. ../include/EST_TIterator.h: In member function ‘EST_TIterator<Container, IPointer, Entry>& EST_TStructIterator<Container, IPointer, Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)’:
  18. ../include/EST_TIterator.h:208: error: ‘cont’ was not declared in this scope
  19. ../include/EST_TIterator.h:208: error: ‘pos’ was not declared in this scope
  20. ../include/EST_TIterator.h:208: error: ‘pointer’ was not declared in this scope
  21. ../include/EST_TIterator.h: In member function ‘const Entry* EST_TStructIterator<Container, IPointer, Entry>::operator->() const’:
  22. ../include/EST_TIterator.h:215: error: there are no arguments to ‘current’ that depend on a template parameter, so a declaration of ‘current’ must be available
  23. ../include/EST_TIterator.h:215: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  24. ../include/EST_TIterator.h: In constructor ‘EST_TRwIterator<Container, IPointer, Entry>::EST_TRwIterator()’:
  25. ../include/EST_TIterator.h:234: error: ‘cont’ was not declared in this scope
  26. ../include/EST_TIterator.h: In member function ‘EST_TIterator<Container, IPointer, Entry>& EST_TRwIterator<Container, IPointer, Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)’:
  27. ../include/EST_TIterator.h:238: error: ‘cont’ was not declared in this scope
  28. ../include/EST_TIterator.h:238: error: ‘pos’ was not declared in this scope
  29. ../include/EST_TIterator.h:238: error: ‘pointer’ was not declared in this scope
  30. ../include/EST_TIterator.h: In member function ‘void EST_TRwIterator<Container, IPointer, Entry>::begin(Container&)’:
  31. ../include/EST_TIterator.h:246: error: ‘cont’ was not declared in this scope
  32. ../include/EST_TIterator.h:246: error: there are no arguments to ‘beginning’ that depend on a template parameter, so a declaration of ‘beginning’ must be available
  33. ../include/EST_TIterator.h: In member function ‘Entry& EST_TRwIterator<Container, IPointer, Entry>::current() const’:
  34. ../include/EST_TIterator.h:253: error: ‘cont’ was not declared in this scope
  35. ../include/EST_TIterator.h:253: error: ‘pointer’ was not declared in this scope
  36. ../include/EST_TIterator.h: In member function ‘Entry& EST_TRwIterator<Container, IPointer, Entry>::next_element()’:
  37. ../include/EST_TIterator.h:267: error: ‘cont’ was not declared in this scope
  38. ../include/EST_TIterator.h:267: error: ‘pointer’ was not declared in this scope
  39. ../include/EST_TIterator.h: In constructor ‘EST_TRwStructIterator<Container, IPointer, Entry>::EST_TRwStructIterator()’:
  40. ../include/EST_TIterator.h:284: error: ‘cont’ was not declared in this scope
  41. ../include/EST_TIterator.h: In member function ‘EST_TIterator<Container, IPointer, Entry>& EST_TRwStructIterator<Container, IPointer, Entry>::operator=(const EST_TIterator<Container, IPointer, Entry>&)’:
  42. ../include/EST_TIterator.h:288: error: ‘cont’ was not declared in this scope
  43. ../include/EST_TIterator.h:288: error: ‘pos’ was not declared in this scope
  44. ../include/EST_TIterator.h:288: error: ‘pointer’ was not declared in this scope
  45. ../include/EST_TIterator.h: In member function ‘Entry* EST_TRwStructIterator<Container, IPointer, Entry>::operator->() const’:
  46. ../include/EST_TIterator.h:295: error: there are no arguments to ‘current’ that depend on a template parameter, so a declaration of ‘current’ must be available
  47. ../include/EST_TList.h: At global scope:
  48. ../include/EST_TList.h:226: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, const EST_TList<T>&)’ declares a non-template function
  49. ../include/EST_TList.h:226: warning: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) -Wno-non-template-friend disables this warning
  50. ../include/EST_TVector.h:312: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, const EST_TVector<T>&)’ declares a non-template function
  51. ../include/EST_TKVL.h:61: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, const EST_TKVI<K, V>&)’ declares a non-template function
  52. ../include/EST_TKVL.h:146: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, const EST_TKVL<K, V>&)’ declares a non-template function
  53. ../include/EST_TMatrix.h:307: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, const EST_TMatrix<T>&)’ declares a non-template function
  54. ../include/EST_TMatrix.h: In member function ‘unsigned int EST_TMatrix<T>::mcell_pos(int, int) const’:
  55. ../include/EST_TMatrix.h:107: error: ‘p_column_step’ was not declared in this scope
  56. ../include/EST_TMatrix.h: In member function ‘const T& EST_TMatrix<T>::fast_a_m(int, int) const’:
  57. ../include/EST_TMatrix.h:119: error: ‘p_memory’ was not declared in this scope
  58. ../include/EST_TMatrix.h: In member function ‘T& EST_TMatrix<T>::fast_a_m(int, int)’:
  59. ../include/EST_TMatrix.h:121: error: ‘p_memory’ was not declared in this scope
  60. ../include/EST_TMatrix.h: In member function ‘const T& EST_TMatrix<T>::fast_a_1(int, int) const’:
  61. ../include/EST_TMatrix.h:124: error: ‘p_memory’ was not declared in this scope
  62. ../include/EST_TMatrix.h: In member function ‘T& EST_TMatrix<T>::fast_a_1(int, int)’:
  63. ../include/EST_TMatrix.h:126: error: ‘p_memory’ was not declared in this scope
  64. ../include/EST_TMatrix.h: In member function ‘int EST_TMatrix<T>::num_columns() const’:
  65. ../include/EST_TMatrix.h:178: error: ‘p_num_columns’ was not declared in this scope
  66. ../include/EST_TMatrix.h: In member function ‘void EST_TMatrix<T>::fill()’:
  67. ../include/EST_TMatrix.h:217: error: ‘def_val’ was not declared in this scope
  68. ../include/EST_TSimpleVector.h: In member function ‘void EST_TSimpleVector<T>::empty()’:
  69. ../include/EST_TSimpleVector.h:77: error: ‘def_val’ was not declared in this scope
  70. ../include/EST_TSimpleVector.h:77: error: there are no arguments to ‘fill’ that depend on a template parameter, so a declaration of ‘fill’ must be available
  71. slib.cc: In function ‘void gc_mark_and_sweep()’:
  72. slib.cc:1088: warning: dereferencing type-punned pointer will break strict-aliasing rules
  73. make[1]: *** [slib.o] Error 1
  74. make: *** [siod] Error 2

  75. !!! ERROR: app-accessibility/speech-tools-1.2.3-r3 failed.
  76. Call stack:
  77.   ebuild.sh, line 1543:   Called dyn_compile
  78.   ebuild.sh, line 938:   Called src_compile
  79.   speech-tools-1.2.3-r3.ebuild, line 51:   Called die

  80. !!! (no error message)
  81. !!! If you need support, post the topmost build error, and the call stack if relevant.
复制代码
发表于 2006-8-8 23:58:03 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2006-8-9 10:07:03 | 显示全部楼层
strstream.h 是C++标准化之前的头文件
现在改为sstream
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-9 16:50:15 | 显示全部楼层
我做了链接:
ln -s sstream strstream.h

第一个错误没有了,余下的错误呢?
回复 支持 反对

使用道具 举报

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

本版积分规则

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