Rvct 编译Avro 失败

12叔 发布于 2015/09/15 17:21
阅读 314
收藏 0
Module mmi_framework is in DEFALUT mode
make[1]: Entering directory `E:/61D/BIRD61D_0730/BIRD61D'
Compiling plutommi\Framework\jsson\src\datum.c ... 
"plutommi/Framework/jsson/src/avro/st.h", line 21: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility push(hidden)
          ^
"plutommi/Framework/jsson/src/avro/st.h", line 84: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility pop
          ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 37: Warning:  #260-D: explicit type is missing ("int" assumed)
  static inline void
         ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 37: Error:  #65: expected a ";"
  static inline void
                ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 45: Warning:  #260-D: explicit type is missing ("int" assumed)
  static inline void
         ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 45: Error:  #65: expected a ";"
  static inline void
                ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 53: Warning:  #260-D: explicit type is missing ("int" assumed)
  static inline int
         ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 53: Error:  #65: expected a ";"
  static inline int
                ^
"plutommi/Framework/jsson/src/avro/refcount.h", line 301: Error:  #35: #error directive: "No atomic implementation!"
  #error "No atomic implementation!"
   ^
plutommi\Framework\jsson\src\datum.c: 5 warnings, 4 errors
make[1]: *** [datum.obj] Error 1
make[1]: *** Waiting for unfinished jobs....
Compiling plutommi\Framework\jsson\src\datum_equal.c ... 
"plutommi/Framework/jsson/src/avro/st.h", line 21: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility push(hidden)
          ^
"plutommi/Framework/jsson/src/avro/st.h", line 84: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility pop
          ^
"plutommi\Framework\jsson\src\datum_equal.c", line 72: Error:  #28: expression must have a constant value
  struct st_equal_args args = { 1, b->map };
                                  ^
"plutommi\Framework\jsson\src\datum_equal.c", line 88: Error:  #28: expression must have a constant value
  struct st_equal_args args = { 1, b->fields_byname };
                                  ^
plutommi\Framework\jsson\src\datum_equal.c: 2 warnings, 2 errors
make[1]: *** [datum_equal.obj] Error 1
Compiling plutommi\Framework\jsson\src\datum_read.c ... 
"plutommi/Framework/jsson/src/avro/st.h", line 21: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility push(hidden)
          ^
"plutommi/Framework/jsson/src/avro/st.h", line 84: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility pop
          ^
"plutommi\Framework\jsson\src\datum_read.c", line 35: Error:  #268: declaration may not appear after executable statement in block
  avro_value_iface_t  *resolver =
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 51: Error:  #20: identifier "EINVAL" is undefined
  check_param(EINVAL, reader, "reader");
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 52: Error:  #20: identifier "EINVAL" is undefined
  check_param(EINVAL, is_avro_schema(writers_schema), "writer schema");
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 53: Error:  #20: identifier "EINVAL" is undefined
  check_param(EINVAL, datum, "datum pointer");
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 59: Error:  #268: declaration may not appear after executable statement in block
  avro_datum_t  result = avro_datum_from_schema(readers_schema);
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 61: Error:  #20: identifier "EINVAL" is undefined
  return EINVAL;
        ^
"plutommi\Framework\jsson\src\datum_read.c", line 64: Error:  #268: declaration may not appear after executable statement in block
  avro_value_t  value;
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 67: Error:  #268: declaration may not appear after executable statement in block
  avro_value_iface_t  *resolver =
  ^
"plutommi\Framework\jsson\src\datum_read.c", line 72: Error:  #20: identifier "EINVAL" is undefined
  return EINVAL;
        ^
"plutommi\Framework\jsson\src\datum_read.c", line 75: Error:  #268: declaration may not appear after executable statement in block
  avro_value_t  resolved_value;
  ^
plutommi\Framework\jsson\src\datum_read.c: 2 warnings, 10 errors
make[1]: *** [datum_read.obj] Error 1
Compiling plutommi\Framework\jsson\src\datum_size.c ... 
"plutommi/Framework/jsson/src/avro/st.h", line 21: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility push(hidden)
          ^
"plutommi/Framework/jsson/src/avro/st.h", line 84: Warning:  #161-D: unrecognized #pragma
  #pragma GCC visibility pop
          ^
"plutommi\Framework\jsson\src\datum_size.c", line 121: Error:  #28: expression must have a constant value
  struct size_map_args args = { 0, 0, writer, enc,
                                     ^
"plutommi\Framework\jsson\src\datum_size.c", line 121: Error:  #28: expression must have a constant value
  struct size_map_args args = { 0, 0, writer, enc,
                                             ^
"plutommi\Framework\jsson\src\datum_size.c", line 122: Error:  #28: expression must have a constant value
  writers_schema ? writers_schema->values : NULL
  ^
"plutommi\Framework\jsson\src\datum_size.c", line 122: Error:  #28: expression must have a constant value
  writers_schema ? writers_schema->values : NULL
                  ^
"plutommi\Framework\jsson\src\datum_size.c", line 181: Error:  #20: identifier "EINVAL" is undefined
  return -EINVAL;
         ^
"plutommi\Framework\jsson\src\datum_size.c", line 283: Error:  #20: identifier "EINVAL" is undefined
  check_param(-EINVAL, writer, "writer");
  ^
"plutommi\Framework\jsson\src\datum_size.c", line 284: Error:  #20: identifier "EINVAL" is undefined
  check_param(-EINVAL, is_avro_datum(datum), "datum");
  ^
"plutommi\Framework\jsson\src\datum_size.c", line 289: Error:  #20: identifier "EINVAL" is undefined
  return -EINVAL;
         ^
plutommi\Framework\jsson\src\datum_size.c: 2 warnings, 8 errors
make[1]: *** [datum_size.obj] Error 1

make[1]: Leaving directory `E:/61D/BIRD61D_0730/BIRD61D'



本来想用 Avro 协议序列化一下 但是好像在 RVCT 上编译不过
linux 到是可以 
不知道 有什么兼容问题 有知道的么 



加载中
返回顶部
顶部