I wrote: > kqemu[-devel] compiles but fails when attempting to kldload it with: > > kernel: link_elf: symbol unit2minor undefined > > .. which is a different issue and seems to need a similar patch to that > applied to fuse-kmod for -current since unit2minor has 'gone away', Something trivial like this seems to make it load and run again .. *** kqemu-freebsd.c~ Wed Feb 4 12:34:54 2009 --- kqemu-freebsd.c Wed Feb 4 12:36:09 2009 *************** *** 381,387 **** r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); if (r) { ! *dev = make_dev(&kqemu_cdevsw, unit2minor(unit), UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); if (*dev != NULL) { dev_ref(*dev); --- 381,392 ---- r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); if (r) { ! *dev = make_dev(&kqemu_cdevsw, ! #if __FreeBSD_version < 800062 ! unit2minor(unit), ! #else /* __FreeBSD_version >= 800062 */ ! unit, ! #endif /* __FreeBSD_version < 800062 */ UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); if (*dev != NULL) { dev_ref(*dev); MichaelReceived on Wed Feb 04 2009 - 17:04:50 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC