[ 85%] Building C object src/CMakeFiles/ssr-local.dir/obfs/http_simple.c.o
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:10:34: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
void http_simple_new_obfs(struct obfs_t *obfs);
^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:11:33: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
void http_simple_dispose(struct obfs_t *obfs);
^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:13:41: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:14:42: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback);
^~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:16:39: warning: ‘struct obfs_t’ declared inside parameter list will not be visible outside of this definition or declaration
size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
^~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:44:6: error: conflicting types for ‘http_simple_new_obfs’
void http_simple_new_obfs(struct obfs_t * obfs) {
^~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:10:6: note: previous declaration of ‘http_simple_new_obfs’ was here
void http_simple_new_obfs(struct obfs_t *obfs);
^~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c: In function ‘http_simple_new_obfs’:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:50:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
obfs->dispose = http_simple_dispose;
^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:51:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
obfs->client_encode = http_simple_client_encode;
^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:52:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
obfs->client_decode = http_simple_client_decode;
^
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c: At top level:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:58:6: error: conflicting types for ‘http_simple_dispose’
void http_simple_dispose(struct obfs_t *obfs) {
^~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:11:6: note: previous declaration of ‘http_simple_dispose’ was here
void http_simple_dispose(struct obfs_t *obfs);
^~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:86:8: error: conflicting types for ‘http_simple_client_encode’
size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity) {
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:13:8: note: previous declaration of ‘http_simple_client_encode’ was here
size_t http_simple_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
^~~~~~~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:197:9: error: conflicting types for ‘http_simple_client_decode’
ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback) {
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:14:9: note: previous declaration of ‘http_simple_client_decode’ was here
ssize_t http_simple_client_decode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity, int *needsendback);
^~~~~~~~~~~~~~~~~~~~~~~~~
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:233:8: error: conflicting types for ‘http_post_client_encode’
size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity) {
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.c:7:0:
/src/github.com/ShadowsocksR-Live/shadowsocksr-native/src/obfs/http_simple.h:16:8: note: previous declaration of ‘http_post_client_encode’ was here
size_t http_post_client_encode(struct obfs_t *obfs, char **pencryptdata, size_t datalength, size_t* capacity);
^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/ssr-local.dir/build.make:297: src/CMakeFiles/ssr-local.dir/obfs/http_simple.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:780: src/CMakeFiles/ssr-local.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Fedora 27