|
#1
[NetBSD] sys/arch/ofppc/pcib.c
- sys/arch/prep/pcib.c を ofppc に写す
- 少しだけ変更
- sys/arch/ofppc/files.ofppc を 少し変更
- GENERIC_WB
を用意する
- 次のようにして kernel を作る
time sudo ./build.sh -a powerpc -m ofppc -T /tftpboot/20060807/obj/tooldir.NetBSD-3.99.21-powerpc kernel=GENERIC_WB
- 次のように言われる
ioconf.c:1032:1: error: invalid suffix "_cd" on integer constant
ioconf.c:1032: error: expected identifier or '(' before numeric constant
ioconf.c:1049: error: 'pcib_cd' undeclared here (not in a function)
- 該当箇所
static const struct cfiattrdata * const pcib_attrs[] = { &isabuscf_iattrdata, NULL };
CFDRIVER_DECL(pcib, DV_DULL, pcib_attrs);
の pcib の文字の属性が定数になっているからか。
この少し前を見ると、一つ足りない(気がする)
| |
最近の日記
2026年01月29日
・Die Fledermaus at New National theatre 2026/01/29
2025年12月25日
・pbulk 11.99.3 (emacs30)
2025年11月22日
・crash dump
2025年10月25日
・recover from disk error
2025年10月23日
・dd does not duplicate Windows 11 boot disk ?
|