|
#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 の文字の属性が定数になっているからか。
この少し前を見ると、一つ足りない(気がする)
| |
最近の日記
2024年03月10日
・停電 (瞬電)
2024年03月03日
・the second try on bare-metal
・useradd
2024年02月29日
・opendkim and senmail
2024年01月24日
・chat/iam 0.0.8
2024年01月21日
・uselocale vs setlocale (textproc/R-readxl)
|