NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mvme68k/56146: mvme68k: sys/arch/mvme68k/stand/wrtvid/wrtvid.c:86:9: error: unknown type name 'uint8_t'
>Number: 56146
>Category: port-mvme68k
>Synopsis: mvme68k: sys/arch/mvme68k/stand/wrtvid/wrtvid.c:86:9: error: unknown type name 'uint8_t'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mvme68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 04 21:45:00 +0000 2021
>Originator: Jan-Benedict Glaw
>Release: HEAD (github mirror, as of b8c576565d95bb954b2dc0e3fbd5a2a56c594810)
>Organization:
>Environment:
Linux toolchaintest-host 5.9.0-2-amd64 #1 SMP Debian 5.9.6-1 (2020-11-08) x86_64 GNU/Linux
>Description:
I did:
./build.sh -U -O /var/lib/laminar/run/netbsd-mvme68k-m68k/9/obj -m mvme68k -a m68k tools
./build.sh -U -u -O /var/lib/laminar/run/netbsd-mvme68k-m68k/9/obj -m mvme68k -a m68k release
Breaks at:
cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o wrtvid.lo.o /var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:86:9: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
86 | write32(uint8_t *vp, uint32_t value)
| ^~~~~~~
| u_int8_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:86:22: error: unknown type name 'uint32_t'; did you mean 'u_int32_t'?
86 | write32(uint8_t *vp, uint32_t value)
| ^~~~~~~~
| u_int32_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:99:9: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
99 | write16(uint8_t *vp, uint16_t value)
| ^~~~~~~
| u_int8_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:99:22: error: unknown type name 'uint16_t'; did you mean 'u_int16_t'?
99 | write16(uint8_t *vp, uint16_t value)
| ^~~~~~~~
| u_int16_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c: In function 'main':
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:110:2: error: unknown type name 'uint16_t'; did you mean 'u_int16_t'?
110 | uint16_t len;
| ^~~~~~~~
| u_int16_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:111:2: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
111 | uint8_t *vid;
| ^~~~~~~
| u_int8_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:138:9: error: 'uint16_t' undeclared (first use in this function); did you mean 'u_int16_t'?
138 | len = (uint16_t)((st.st_size + 255) / 256);
| ^~~~~~~~
| u_int16_t
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:138:9: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:154:2: warning: implicit declaration of function 'write32'; did you mean 'write'? [-Wimplicit-func
tion-declaration]
154 | write32(&vid[VID_OSS_OFF], is_disk ? VID_OSS_DISK : VID_OSS_TAPE);
| ^~~~~~~
| write
/var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c:155:2: warning: implicit declaration of function 'write16'; did you mean 'write'? [-Wimplicit-function-declaration]
155 | write16(&vid[VID_OSL_OFF], len);
| ^~~~~~~
| write
*** Failed target: wrtvid.lo
*** Failed command: cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o wrtvid.lo.o /var/lib/laminar/run/netbsd-mvme68k-m68k/9/NetBSD-src/sys/arch/mvme68k/stand/wrtvid/wrtvid.c
*** Error code 1
Probably caused by:
commit a07f7c80690d0af05ca7630aebc638f51f3185e1
Author: tsutsui <tsutsui%NetBSD.org@localhost>
Date: Sat Jan 12 09:54:21 2008 +0000
Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
Though I wonder why NetBSD's daily build checks didn't catch this?
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index