Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 514880 Details for
Bug 644670
net-misc/uftp-4.9.4 : [TEST] testclient_multi.c:74:15: error: struct uftp_h has no member named uftp_id
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:uftp-4.9.4:20180115-054140.log
net-misc:uftp-4.9.4:20180115-054140.log (text/plain), 52.72 KB, created by
Toralf Förster
on 2018-01-15 19:05:42 UTC
(
hide
)
Description:
net-misc:uftp-4.9.4:20180115-054140.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-01-15 19:05:42 UTC
Size:
52.72 KB
patch
obsolete
> * Package: net-misc/uftp-4.9.4 > * Repository: gentoo > * Maintainer: azamat.hackimov@gmail.com proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux server ssl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking uftp-4.9.4.tar.gz to /var/tmp/portage/net-misc/uftp-4.9.4/work >>>> Source unpacked in /var/tmp/portage/net-misc/uftp-4.9.4/work >>>> Preparing source in /var/tmp/portage/net-misc/uftp-4.9.4/work/uftp-4.9.4 ... > * Applying uftp-4.9.4_makefile.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/uftp-4.9.4/work/uftp-4.9.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/uftp-4.9.4/work/uftp-4.9.4 ... >make -j1 CC=x86_64-pc-linux-gnu-gcc uftp uftp_keymgt >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c uftp_common.c >uftp_common.c: In function âmulticast_joinâ: >uftp_common.c:1636:17: warning: âlevelâ may be used uninitialized in this function [-Wmaybe-uninitialized] > if (setsockopt(s, level, MCAST_JOIN_GROUP, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > (char *)&greq, sizeof(greq)) == -1) { > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >uftp_common.c: In function âmulticast_leaveâ: >uftp_common.c:1700:21: warning: âlevelâ may be used uninitialized in this function [-Wmaybe-uninitialized] > if (setsockopt(s, level, MCAST_LEAVE_SOURCE_GROUP, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > (char *)&gsreq, sizeof(gsreq)) == -1) { > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c encrypt_openssl.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_announce.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_transfer.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_send.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_phase.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_common.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_config.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_init.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c server_main.c >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -o uftp uftp_common.o encrypt_openssl.o server_announce.o server_transfer.o server_send.o server_phase.o server_common.o server_config.o server_init.o server_main.o -lm -lcrypto -lpthread >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c uftp_keymgt.c >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -o uftp_keymgt uftp_keymgt.o uftp_common.o encrypt_openssl.o -lm -lcrypto >make -j1 CC=x86_64-pc-linux-gnu-gcc uftpd uftpproxyd >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_loop.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_announce.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_fileinfo.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_transfer.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_common.c >client_common.c: In function âfile_cleanupâ: >client_common.c:452:68: warning: â%sâ directive output may be truncated writing up to 299 bytes into a region of size 283 [-Wformat-truncation=] > snprintf(filepath, sizeof(filepath), "%s%c_group_%08X%c%s", tempdir, > ^~ >In file included from /usr/include/stdio.h:862:0, > from uftp_common.h:34, > from client.h:34, > from client_common.c:61: >/usr/include/bits/stdio2.h:64:10: note: â__builtin___snprintf_chkâ output 18 or more bytes (assuming 317) into a destination of size 300 > return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_config.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_init.c >client_init.c: In function âdaemonizeâ: >client_init.c:219:9: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result [-Wunused-result] > chdir("/"); > ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c client_main.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c heartbeat_send.c >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -o uftpd uftp_common.o encrypt_openssl.o client_loop.o client_announce.o client_fileinfo.o client_transfer.o client_common.o client_config.o client_init.o client_main.o heartbeat_send.o -lm -lcrypto >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_loop.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_upstream.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_downstream.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_common.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_config.c >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_init.c >proxy_init.c: In function âdaemonizeâ: >proxy_init.c:209:9: warning: ignoring return value of âchdirâ, declared with attribute warn_unused_result [-Wunused-result] > chdir("/"); > ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c proxy_main.c >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -o uftpproxyd uftp_common.o encrypt_openssl.o proxy_loop.o proxy_upstream.o proxy_downstream.o proxy_common.o proxy_config.o proxy_init.o proxy_main.o heartbeat_send.o -lm -lcrypto >>>> Source compiled. >>>> Test phase: net-misc/uftp-4.9.4 >make -j1 test >cc -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS -O2 -pipe -march=native -Wall `getconf LFS_CFLAGS` -c testclient_multi.c >testclient_multi.c: In function âsend_registerâ: >testclient_multi.c:74:15: error: âstruct uftp_hâ has no member named âuftp_idâ > header->uftp_id = UFTP_VER_NUM; > ^~ >testclient_multi.c:76:17: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > header->blsize = htons(sizeof(struct register_h) + > ^~~~~~ > gsize >testclient_multi.c:79:17: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > header->srcaddr = destlist[i].addr.s_addr; > ^~~~~~~ > src_id >testclient_multi.c:80:15: error: âstruct uftp_hâ has no member named âdestaddrâ > header->destaddr = sin.sin_addr.s_addr; > ^~ >testclient_multi.c:82:12: error: âstruct register_hâ has no member named âdestcountâ > reg->destcount = 0; > ^~ >testclient_multi.c:86:12: error: âstruct register_hâ has no member named âpremaster_lenâ > reg->premaster_len = htons(destlist[i].premaster_enc_len); > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:87:69: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (sendto(sock, buf, sizeof(struct uftp_h) + ntohs(header->blsize), > ^ >In file included from testclient_multi.c:24:0: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:89:13: note: in expansion of macro âsockerrorâ > sockerror(0,0,"sendto failed for REGISTER"); > ^~~~~~~~~ >testclient_multi.c:89:27: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"sendto failed for REGISTER"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c: In function âhandle_announceâ: >testclient_multi.c:133:26: error: âstruct announce_hâ has no member named ârand1â > memcpy(rand1,announce->rand1,sizeof(announce->rand1)); > ^~ >testclient_multi.c:133:49: error: âstruct announce_hâ has no member named ârand1â > memcpy(rand1,announce->rand1,sizeof(announce->rand1)); > ^~ >In file included from testclient_multi.c:16:0: >testclient_multi.c:134:28: error: âstruct announce_hâ has no member named âkeyexpâ > keyexp = ntohl(announce->keyexp); > ^ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:135:30: error: âstruct announce_hâ has no member named âkeylenâ; did you mean âhlenâ? > modlen = ntohs(announce->keylen); > ^ >testclient_multi.c:136:34: warning: passing argument 2 of âimport_RSA_keyâ makes pointer from integer without a cast [-Wint-conversion] > if (!import_RSA_key(&rsakey, keyexp, keymod, modlen)) { > ^~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:171:5: note: expected âconst unsigned char *â but argument is of type âuint32_t {aka unsigned int}â > int import_RSA_key(RSA_key_t *rsa, const unsigned char *keyblob, > ^~~~~~~~~~~~~~ >testclient_multi.c:136:42: warning: passing argument 3 of âimport_RSA_keyâ makes integer from pointer without a cast [-Wint-conversion] > if (!import_RSA_key(&rsakey, keyexp, keymod, modlen)) { > ^~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:171:5: note: expected âuint16_t {aka short unsigned int}â but argument is of type âunsigned char *â > int import_RSA_key(RSA_key_t *rsa, const unsigned char *keyblob, > ^~~~~~~~~~~~~~ >testclient_multi.c:136:10: error: too many arguments to function âimport_RSA_keyâ > if (!import_RSA_key(&rsakey, keyexp, keymod, modlen)) { > ^~~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:171:5: note: declared here > int import_RSA_key(RSA_key_t *rsa, const unsigned char *keyblob, > ^~~~~~~~~~~~~~ >testclient_multi.c:141:25: error: âstruct announce_hâ has no member named âkeytypeâ; did you mean âcc_typeâ? > keytype = announce->keytype; > ^~~~~~~ > cc_type >testclient_multi.c:142:26: error: âstruct announce_hâ has no member named âhashtypeâ; did you mean âcc_typeâ? > hashtype = announce->hashtype; > ^~~~~~~~ > cc_type >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:145:33: error: âstruct announce_hâ has no member named âmtuâ > payloadsize = ntohs(announce->mtu) - 28 - sizeof(struct uftp_h); > ^ >testclient_multi.c:151:40: error: âstruct announce_hâ has no member named âprivatemcastâ > multi.imr_multiaddr.s_addr=announce->privatemcast; > ^~ >testclient_multi.c:167:26: error: âstruct announce_hâ has no member named âprivatemcastâ > &announce->privatemcast, > ^~ >testclient_multi.c:168:32: error: âstruct announce_hâ has no member named âprivatemcastâ > sizeof(announce->privatemcast)); > ^~ >testclient_multi.c:169:49: error: âstruct announce_hâ has no member named âprivatemcastâ > destlist[i].verifylen += sizeof(announce->privatemcast); > ^~ >testclient_multi.c:181:17: warning: pointer targets in passing argument 5 of âRSA_encryptâ differ in signedness [-Wpointer-sign] > &destlist[i].premaster_enc_len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:146:5: note: expected âunsigned int *â but argument is of type âint *â > int RSA_encrypt(RSA_key_t rsa, const unsigned char *from, unsigned int fromlen, > ^~~~~~~~~~~ >testclient_multi.c: In function âsend_infoackâ: >testclient_multi.c:212:12: error: dereferencing pointer to incomplete type âstruct infoack_hâ > infoack->func = INFO_ACK; > ^~ >testclient_multi.c:212:21: error: âINFO_ACKâ undeclared (first use in this function); did you mean âKEYINFO_ACKâ? > infoack->func = INFO_ACK; > ^~~~~~~~ > KEYINFO_ACK >testclient_multi.c:212:21: note: each undeclared identifier is reported only once for each function it appears in >testclient_multi.c:230:5: error: too many arguments to function âbuild_ivâ > build_iv(iv, groupiv, ivlen, htonl(groupid), > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:233:20: error: invalid application of âsizeofâ to incomplete type âstruct infoack_hâ > sizeof(struct infoack_h), enc_payload, &len)) { > ^~~~~~ >testclient_multi.c:233:52: warning: passing argument 7 of âencrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > sizeof(struct infoack_h), enc_payload, &len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:232:10: error: too few arguments to function âencrypt_blockâ > if (!encrypt_block(keytype, iv, groupkey, data, > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: declared here > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:238:11: error: âstruct uftp_hâ has no member named âuftp_idâ > header->uftp_id = UFTP_VER_NUM; > ^~ >testclient_multi.c:240:13: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > header->blsize = htons(sizeof(struct encrypted_h) + hashlen + len); > ^~~~~~ > gsize >testclient_multi.c:242:13: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > header->srcaddr = destlist[dest].addr.s_addr; > ^~~~~~~ > src_id >testclient_multi.c:243:11: error: âstruct uftp_hâ has no member named âdestaddrâ > header->destaddr = sin.sin_addr.s_addr; > ^~ >testclient_multi.c:244:14: error: âstruct encrypted_hâ has no member named âtstamp_secâ > encrypted->tstamp_sec = htonl(tv.tv_sec); > ^~ >testclient_multi.c:245:14: error: âstruct encrypted_hâ has no member named âtstamp_usecâ > encrypted->tstamp_usec = htonl(tv.tv_usec); > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:250:51: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > sizeof(struct uftp_h) + ntohs(header->blsize), hmac, &len); > ^ >testclient_multi.c:257:65: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (sendto(sock, buf, sizeof(struct uftp_h) + ntohs(header->blsize), > ^ >In file included from testclient_multi.c:24:0: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:259:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"sendto failed for INFO_ACK"); > ^~~~~~~~~ >testclient_multi.c:259:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"sendto failed for INFO_ACK"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c: In function âhandle_keyinfoâ: >testclient_multi.c:279:23: error: âstruct keyinfo_hâ has no member named âdestcountâ > for (j=0;j<keyinfo->destcount;j++) { > ^~ >testclient_multi.c:281:25: error: âstruct destkeyâ has no member named âdestaddrâ; did you mean âdest_idâ? > if (dkey[j].destaddr==destlist[i].addr.s_addr) { > ^~~~~~~~ > dest_id >testclient_multi.c:294:69: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > build_iv(iv, destlist[i].iv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~ > src_id >testclient_multi.c:295:25: error: âstruct keyinfo_hâ has no member named âtstamp_secâ > keyinfo->tstamp_sec, keyinfo->tstamp_usec); > ^~ >testclient_multi.c:295:46: error: âstruct keyinfo_hâ has no member named âtstamp_usecâ > keyinfo->tstamp_sec, keyinfo->tstamp_usec); > ^~ >testclient_multi.c:294:9: error: too many arguments to function âbuild_ivâ > build_iv(iv, destlist[i].iv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:297:24: error: âstruct keyinfo_hâ has no member named âgroupmaster_lenâ > keyinfo->groupmaster_len, dec_groupmaster, &len)) { > ^~ >testclient_multi.c:297:60: warning: passing argument 7 of âdecrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > keyinfo->groupmaster_len, dec_groupmaster, &len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:296:14: error: too few arguments to function âdecrypt_blockâ > if (!decrypt_block(keytype, iv, destlist[i].key, dkey[j].groupmaster, > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: declared here > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:302:34: error: âstruct uftp_hâ has no member named âuftp_idâ > groupmaster[0]=header->uftp_id; > ^~ >In file included from testclient_multi.c:16:0: >testclient_multi.c: In function âhandle_fileinfoâ: >testclient_multi.c:352:33: error: âstruct fileinfo_hâ has no member named âblock_totalâ > block_count = ntohl(fileinfo->block_total); > ^ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:353:35: error: âstruct fileinfo_hâ has no member named âsection_totalâ > section_count = ntohs(fileinfo->section_total); > ^ >testclient_multi.c:355:30: error: âstruct fileinfo_hâ has no member named âdestcountâ > for (j=0;j<ntohs(fileinfo->destcount);j++) { > ^ >testclient_multi.c: At top level: >testclient_multi.c:376:6: warning: function declaration isnât a prototype [-Wstrict-prototypes] > void announce_phase() > ^~~~~~~~~~~~~~ >In file included from testclient_multi.c:24:0: >testclient_multi.c: In function âannounce_phaseâ: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:418:13: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error receiving"); > ^~~~~~~~~ >testclient_multi.c:418:27: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error receiving"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c:421:19: error: âstruct uftp_hâ has no member named âuftp_idâ > if (header->uftp_id!=UFTP_VER_NUM) { > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:425:58: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (recv_len<sizeof(struct uftp_h)+htons(header->blsize)) { > ^ >testclient_multi.c:457:66: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > build_iv(iv, groupiv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~ > src_id >testclient_multi.c:458:31: error: âstruct encrypted_hâ has no member named âtstamp_secâ > encrypted->tstamp_sec, encrypted->tstamp_usec); > ^~ >testclient_multi.c:458:54: error: âstruct encrypted_hâ has no member named âtstamp_usecâ > encrypted->tstamp_sec, encrypted->tstamp_usec); > ^~ >testclient_multi.c:457:13: error: too many arguments to function âbuild_ivâ > build_iv(iv, groupiv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:460:58: warning: passing argument 7 of âdecrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > ntohs(encrypted->payload_len), data, &len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:459:18: error: too few arguments to function âdecrypt_blockâ > if (!decrypt_block(keytype, iv, groupkey, enc_payload, > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: declared here > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c: In function âsend_statusâ: >testclient_multi.c:519:11: error: âstruct status_hâ has no member named âpassâ > status->pass = pass; > ^~ >testclient_multi.c:521:11: error: âstruct status_hâ has no member named ânak_countâ > status->nak_count = ntohl(nak_count); > ^~ >testclient_multi.c:529:5: error: too many arguments to function âbuild_ivâ > build_iv(iv, groupiv, ivlen, htonl(groupid), > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:531:72: warning: passing argument 7 of âencrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > if (!encrypt_block(keytype, iv, groupkey, data, dlen, enc_payload, &len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:531:10: error: too few arguments to function âencrypt_blockâ > if (!encrypt_block(keytype, iv, groupkey, data, dlen, enc_payload, &len)) { > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: declared here > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:536:11: error: âstruct uftp_hâ has no member named âuftp_idâ > header->uftp_id = UFTP_VER_NUM; > ^~ >testclient_multi.c:538:13: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > header->blsize = htons(sizeof(struct encrypted_h) + hashlen + len); > ^~~~~~ > gsize >testclient_multi.c:540:13: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > header->srcaddr = destlist[dest].addr.s_addr; > ^~~~~~~ > src_id >testclient_multi.c:541:11: error: âstruct uftp_hâ has no member named âdestaddrâ > header->destaddr = sin.sin_addr.s_addr; > ^~ >testclient_multi.c:542:14: error: âstruct encrypted_hâ has no member named âtstamp_secâ > encrypted->tstamp_sec = htonl(tv.tv_sec); > ^~ >testclient_multi.c:543:14: error: âstruct encrypted_hâ has no member named âtstamp_usecâ > encrypted->tstamp_usec = htonl(tv.tv_usec); > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:548:51: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > sizeof(struct uftp_h) + ntohs(header->blsize), hmac, &len); > ^ >testclient_multi.c:555:65: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (sendto(sock, buf, sizeof(struct uftp_h) + ntohs(header->blsize), > ^ >In file included from testclient_multi.c:24:0: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:557:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"sendto failed for STATUS"); > ^~~~~~~~~ >testclient_multi.c:557:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"sendto failed for STATUS"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c: In function âsend_completeâ: >testclient_multi.c:585:5: error: too many arguments to function âbuild_ivâ > build_iv(iv, groupiv, ivlen, htonl(groupid), > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:588:53: warning: passing argument 7 of âencrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > sizeof(struct complete_h), enc_payload, &len)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:587:10: error: too few arguments to function âencrypt_blockâ > if (!encrypt_block(keytype, iv, groupkey, data, > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:121:5: note: declared here > int encrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:593:11: error: âstruct uftp_hâ has no member named âuftp_idâ > header->uftp_id = UFTP_VER_NUM; > ^~ >testclient_multi.c:595:13: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > header->blsize = htons(sizeof(struct encrypted_h) + hashlen + len); > ^~~~~~ > gsize >testclient_multi.c:597:13: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > header->srcaddr = destlist[dest].addr.s_addr; > ^~~~~~~ > src_id >testclient_multi.c:598:11: error: âstruct uftp_hâ has no member named âdestaddrâ > header->destaddr = sin.sin_addr.s_addr; > ^~ >testclient_multi.c:599:14: error: âstruct encrypted_hâ has no member named âtstamp_secâ > encrypted->tstamp_sec = htonl(tv.tv_sec); > ^~ >testclient_multi.c:600:14: error: âstruct encrypted_hâ has no member named âtstamp_usecâ > encrypted->tstamp_usec = htonl(tv.tv_usec); > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:605:51: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > sizeof(struct uftp_h) + ntohs(header->blsize), hmac, &len); > ^ >testclient_multi.c:612:65: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (sendto(sock, buf, sizeof(struct uftp_h) + ntohs(header->blsize), > ^ >In file included from testclient_multi.c:24:0: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:614:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"sendto failed for COMPLETE"); > ^~~~~~~~~ >testclient_multi.c:614:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"sendto failed for COMPLETE"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c: At top level: >testclient_multi.c:619:6: warning: function declaration isnât a prototype [-Wstrict-prototypes] > void recv_data() > ^~~~~~~~~ >In file included from testclient_multi.c:24:0: >testclient_multi.c: In function ârecv_dataâ: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:662:13: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error receiving message"); > ^~~~~~~~~ >testclient_multi.c:662:27: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error receiving message"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c:665:19: error: âstruct uftp_hâ has no member named âuftp_idâ > if (header->uftp_id!=UFTP_VER_NUM) { > ^~ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:669:59: error: âstruct uftp_hâ has no member named âblsizeâ; did you mean âgsizeâ? > if (recv_len!=sizeof(struct uftp_h)+htons(header->blsize)) { > ^ >testclient_multi.c:694:62: error: âstruct uftp_hâ has no member named âsrcaddrâ; did you mean âsrc_idâ? > build_iv(iv, groupiv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~ > src_id >testclient_multi.c:695:27: error: âstruct encrypted_hâ has no member named âtstamp_secâ > encrypted->tstamp_sec, encrypted->tstamp_usec); > ^~ >testclient_multi.c:695:50: error: âstruct encrypted_hâ has no member named âtstamp_usecâ > encrypted->tstamp_sec, encrypted->tstamp_usec); > ^~ >testclient_multi.c:694:9: error: too many arguments to function âbuild_ivâ > build_iv(iv, groupiv, ivlen, htonl(groupid), header->srcaddr, > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >uftp_common.h:197:6: note: declared here > void build_iv(uint8_t *iv, const uint8_t *salt, int ivlen, uint64_t ivctr, > ^~~~~~~~ >testclient_multi.c:697:54: warning: passing argument 7 of âdecrypt_blockâ makes integer from pointer without a cast [-Wint-conversion] > ntohs(encrypted->payload_len), data, &decodelen)) { > ^ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: expected âunsigned intâ but argument is of type âunsigned int *â > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >testclient_multi.c:696:14: error: too few arguments to function âdecrypt_blockâ > if (!decrypt_block(keytype, iv, groupkey, enc_payload, > ^~~~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:127:5: note: declared here > int decrypt_block(int keytype, const unsigned char *IV, > ^~~~~~~~~~~~~ >In file included from testclient_multi.c:16:0: >testclient_multi.c:703:36: error: âstruct fileseg_hâ has no member named âseq_numâ > int seq = ntohl(fileseg->seq_num); > ^ >testclient_multi.c:711:24: error: âstruct done_hâ has no member named âpassâ > pass = done->pass; > ^~ >testclient_multi.c:729:21: warning: implicit declaration of function âlogâ [-Wimplicit-function-declaration] > log(0, 0, "NAK for %d", nakidx); > ^~~ >testclient_multi.c:729:21: warning: incompatible implicit declaration of built-in function âlogâ >testclient_multi.c:729:21: note: include â<math.h>â or provide a declaration of âlogâ >testclient_multi.c:729:21: error: too many arguments to function âlogâ >In file included from /usr/include/bits/byteswap.h:35:0, > from /usr/include/endian.h:60, > from /usr/include/sys/types.h:194, > from /usr/include/stdlib.h:279, > from testclient_multi.c:2: >testclient_multi.c:735:34: error: âstruct done_hâ has no member named âdestcountâ > for (j=0;j<ntohs(done->destcount);j++) { > ^ >testclient_multi.c:629:22: warning: variable âcntâ set but not used [-Wunused-but-set-variable] > int i, j, found, cnt, addr_len, recv_len; > ^~~ >testclient_multi.c:628:20: warning: variable âdecdataâ set but not used [-Wunused-but-set-variable] > unsigned char *decdata, iv[MAXIV], naklist[BLOCKSIZE]; > ^~~~~~~ >testclient_multi.c:626:24: warning: variable âdoneconfâ set but not used [-Wunused-but-set-variable] > struct doneconf_h *doneconf; > ^~~~~~~~ >In file included from testclient_multi.c:24:0: >testclient_multi.c: In function âmainâ: >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:797:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error creating socket"); > ^~~~~~~~~ >testclient_multi.c:797:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error creating socket"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:803:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error setting receive buffer size"); > ^~~~~~~~~ >testclient_multi.c:803:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error setting receive buffer size"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:809:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error setting send buffer size"); > ^~~~~~~~~ >testclient_multi.c:809:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error setting send buffer size"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:814:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error binding socket"); > ^~~~~~~~~ >testclient_multi.c:814:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error binding socket"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >uftp_common.h:151:80: error: expected expression before â)â token > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^ >testclient_multi.c:822:9: note: in expansion of macro âsockerrorâ > sockerror(0,0,"Error joining multicast group"); > ^~~~~~~~~ >testclient_multi.c:822:23: warning: passing argument 3 of âlogfuncâ makes integer from pointer without a cast [-Wint-conversion] > sockerror(0,0,"Error joining multicast group"); > ^ >uftp_common.h:151:34: note: in definition of macro âsockerrorâ > logfunc(group_id,group_inst, file_id, 0, showtime, 1, errno, 1, __VA_ARGS__) > ^~~~~~~ >uftp_common.h:64:6: note: expected âuint16_t {aka short unsigned int}â but argument is of type âconst char *â > void logfunc(uint32_t group_id, uint8_t group_inst, uint16_t file_id, > ^~~~~~~ >testclient_multi.c:832:5: error: too few arguments to function âcrypto_initâ > crypto_init(); > ^~~~~~~~~~~ >In file included from uftp_common.h:49:0, > from testclient_multi.c:24: >encryption.h:107:6: note: declared here > void crypto_init(int set_sys_key); > ^~~~~~~~~~~ >make: *** [makefile:195: testclient_multi.o] Error 1 > * ERROR: net-misc/uftp-4.9.4::gentoo failed (test phase): > * Make test failed. See above for details. > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 970: Called default > * phase-functions.sh, line 853: Called default_src_test > * phase-functions.sh, line 882: Called __eapi0_src_test > * phase-helpers.sh, line 768: Called die > * The specific snippet of code: > * $emake_cmd ${internal_opts} test || \ > * die "Make test failed. See above for details." > * > * If you need support, post the output of `emerge --info '=net-misc/uftp-4.9.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/uftp-4.9.4::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:uftp-4.9.4:20180115-054140.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/uftp-4.9.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/uftp-4.9.4/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/uftp-4.9.4/work/uftp-4.9.4' > * S: '/var/tmp/portage/net-misc/uftp-4.9.4/work/uftp-4.9.4'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 644670
:
514872
|
514874
|
514876
|
514878
| 514880 |
514882