gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openwince -I/usr/include/openwince/device -I/usr/include/openwince/arm -I./../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o cfi.o `test -f 'flash/cfi.c' || echo './'`flash/cfi.c
flash/cfi.c: In function ‘cfi_detect’:
flash/cfi.c:84:9: error: implicit declaration of function ‘printf’ [-Werror=implicit-function-declaration]
84 | printf("buswidth: %d\n",bw);
| ^~~~~~
flash/cfi.c:38:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
37 | #include <brux/cfi.h>
+++ |+#include <stdio.h>
38 | #include <brux/bus.h>
flash/cfi.c:84:9: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
84 | printf("buswidth: %d\n",bw);
| ^~~~~~
flash/cfi.c:84:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
cc1: some warnings being treated as errors
make[5]: *** [Makefile:429: cfi.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:35:32 |
Calls: | 6,706 |
Files: | 12,236 |
Messages: | 5,350,774 |