#20007: Buld error /r46145
-----------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: highest | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/hash_sha1.o ../common/hash_sha1.c
../common/hash_sha1.c: In function 'SHA1_Transform':
../common/hash_sha1.c:64:10: warning: cast increases required alignment of
target type [-Wcast-align]
block = (BYTE64QUAD16*)buffer;
^
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/common.o ../common/common.c
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/heartbeat.o ../common/heartbeat.c
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/tic.o ../common/tic.c
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/ayiya.o ../common/ayiya.c
../common/ayiya.c: In function 'ayiya_log':
../common/ayiya.c:69:17: warning: the address of 'clientservice' will
always evaluate as 'true' [-Waddress]
clientservice ? clientservice : "");
^
../common/ayiya.c: In function 'ayiya_reader':
../common/ayiya.c:84:25: warning: cast increases required alignment of
target type [-Wcast-align]
struct pseudo_ayh *s = (struct pseudo_ayh *)buf, s2;
^
../common/ayiya.c: In function 'ayiya_writer':
../common/ayiya.c:159:25: warning: cast increases required alignment of
target type [-Wcast-align]
struct pseudo_ayh *s = (struct pseudo_ayh *)buf;
^
../common/ayiya.c: In function 'ayiya':
../common/ayiya.c:377:29: warning: cast increases required alignment of
target type [-Wcast-align]
memcpy(&ayiya_ipv4_pop, &((struct sockaddr_in
*)res->ai_addr)->sin_addr, 4);
^
../common/ayiya.c:402:31: warning: cast increases required alignment of
target type [-Wcast-align]
memcpy(&ayiya_ipv6_local, &((struct sockaddr_in6
*)res->ai_addr)->sin6_addr, 16);
^
../common/ayiya.c:427:29: warning: cast increases required alignment of
target type [-Wcast-align]
memcpy(&ayiya_ipv6_pop, &((struct sockaddr_in6
*)res->ai_addr)->sin6_addr, 16);
^
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/aiccu_test.o ../common/aiccu_test.c
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/resolver.o ../common/resolver.c
../common/resolver.c: In function 'getrrs':
../common/resolver.c:33:21: warning: cast increases required alignment of
target type [-Wcast-align]
HEADER *header = (HEADER *)answer;
^
../common/resolver.c:51:2: warning: implicit declaration of function
'res_nquery' [-Wimplicit-function-declaration]
ret = res_nquery(&res, label, C_IN, rrtype, answer, sizeof(answer));
^
../common/resolver.c:51:2: warning: nested extern declaration of
'res_nquery' [-Wnested-externs]
../common/resolver.c:39:12: warning: variable 'ttl' set but not used
[-Wunused-but-set-variable]
uint32_t ttl = 0;
^
../common/resolver.c:38:22: warning: variable 'class' set but not used
[-Wunused-but-set-variable]
uint16_t type = 0, class = 0;
^
mips-openwrt-linux-uclibc-gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-
align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common
-Wpadded -pedantic -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
-mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
variable -msoft-float -mips16 -minterlink-mips16 -D_GNU_SOURCE -D
AICCU_CONSOLE -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o
../common/dn_skipname.o ../common/dn_skipname.c
In file included from /home/netwalker/openwrt-trunk/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/resolv.h:65:0,
from ../common/dn_skipname.c:2:
../common/dn_skipname.c:13:12: error: static declaration of
'__ns_name_skip' follows non-static declaration
static int ns_name_skip(const u_char **ptrptr, const u_char *eom)
^
/home/netwalker/openwrt-trunk/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/arpa/nameser.h:524:6:
note: previous declaration of '__ns_name_skip' was here
int ns_name_skip (const u_char **, const u_char *) __THROW;
^
<builtin>: recipe for target '../common/dn_skipname.o' failed
make[5]: *** [../common/dn_skipname.o] Error 1
make[5]: Leaving directory '/home/netwalker/openwrt-trunk/build_dir
/target-mips_34kc_uClibc-0.9.33.2/aiccu/unix-console'
Makefile:67: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/netwalker/openwrt-trunk/build_dir
/target-mips_34kc_uClibc-0.9.33.2/aiccu'
Makefile:56: recipe for target '/home/netwalker/openwrt-trunk/build_dir
/target-mips_34kc_uClibc-0.9.33.2/aiccu/.built' failed
make[3]: *** [/home/netwalker/openwrt-trunk/build_dir/target-
mips_34kc_uClibc-0.9.33.2/aiccu/.built] Error 2
make[3]: Leaving directory '/home/netwalker/openwrt-
trunk/feeds/packages/ipv6/aiccu'
package/Makefile:191: recipe for target
'package/feeds/packages/aiccu/compile' failed
make[2]: *** [package/feeds/packages/aiccu/compile] Error 2
make[2]: Leaving directory '/home/netwalker/openwrt-trunk'
package/Makefile:188: recipe for target '/home/netwalker/openwrt-
trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile'
failed
make[1]: *** [/home/netwalker/openwrt-trunk/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/netwalker/openwrt-trunk'
/home/netwalker/openwrt-trunk/include/toplevel.mk:181: ошибка выполнения
рецепта для цели «world»
make: *** [world] Ошибка 2
[netwalker@archlinux openwrt-trunk]$
--
Ticket URL: <https://dev.openwrt.org/ticket/20007>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets