2004年11月10日(水)

arla on FreeBSD 5.3

FreeBSD を 5.3(-stable) にあげたら arla が make できなくなった…。

special file まわりで、 dev_t 型を受けていた API が全部 struct cdev * 型で受けるようになって、それに対応してやらんといかんと言う…

dev_t から struct cdev * をひねり出せるかが問題だな

補足:
旧来 dev_t は kernel 内では struct cdev * 、 userland では integer のことだったらしい。それじゃややこしいので kernel 内に関しては dev_t を全部 struct cdev * と書き直した。
問題は arla 内で、 userland API と思って integer の dev_t を渡していた相手が実は kernel API で struct cdev * じゃないと受け付けなくなった、ということかな?
http://excel.xl0.org/FreeBSD/21-06-04.html#dev-t-type-changed-to-struct-cdev-udev-t-changed-to-dev-t

[referer:

Script Error

The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.

]

あわせて読みたい