Date: Mon, 18 Apr 2005 23:24:55 -0500 From: "Conrad J. Sabatier" <conrads@cox.net> To: freebsd-current@freebsd.org Cc: Mathew Kanner <mat@cnd.mcgill.ca> Subject: What happened to the "d_maj" member of "struct cdevsw" in CURRENT? Message-ID: <20050418232455.2d530890@dolphin.local.net>
next in thread | raw e-mail | index | archive | help
I've been trying to help Mat Kanner with his yet-to-be-committed MIDI patches, and have run into a perplexing problem on amd64 CURRENT. It seems the "d_maj" member of "struct cdevsw" no longer exists (in sys/sys/conf.h). This is causing Mat's MIDI patches to fail with: > ===> sound/midi (all) > cc -O -pipe -march=athlon64 -Wno-error -D_KERNEL -DKLD_MODULE > -nostdinc -I- -include /usr/obj/usr/src/sys/CUSTOM/opt_global.h -I. > -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g > -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/CUSTOM -mcmodel=kernel > -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -c > /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c > /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c:204: > error: unknown field `d_maj' specified in initializer When was this member removed, and why? And how to work around this? Thanks! -- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050418232455.2d530890>