> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-lolo-r1_pre3/include > -Wall -Wstrict-prototypes -Wno-trigraphs -Os > -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 > -Os -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.20-lolo-r1_pre3/include/linux/modversions.h > -I .../ost/include -I . -D__DVB_PACK__ -g -DUSE_OSD > -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb > -DEXPORT_SYMTAB -c dvb.c > dvb.c:3504: unknown field `busy' specified in initializer > make[3]: *** [dvb.o] Error 1 > make[3]: Leaving directory `/home/lordvan/tmp/DVB/driver' > make[2]: *** [_mod_/home/lordvan/tmp/DVB/driver] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.4.20-lolo-r1_pre3' > make[1]: *** [here] Error 2 > make[1]: Leaving directory `/home/lordvan/tmp/DVB/driver' > make: *** [dvb] Error 2 > > I tried to remove this line and then it compiled .. but i > wasn't able to insert the dvb module then.. > > any ideas?
Ah, I had that; its because 2.4.19/20 cleaned up the video structures slightly, and removed a couple of fields. Heres a patch: ---- CUT HERE --- diff -Naur DVB/driver/dvb.c DVB.patch/driver/dvb.c --- DVB/driver/dvb.c 2002-02-07 16:23:52.000000000 +0000 +++ DVB.patch/driver/dvb.c 2002-12-06 21:48:18.000000000 +0000 @@ -3500,9 +3500,7 @@ ioctl: dvb_ioctl, mmap: dvb_mmap, initialize: dvb_init_done, -priv: NULL, -busy: 0, -minor: 0 +priv: NULL }; static int vid_register(struct dvb_struct *dvb) --- CUT HERE --- -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
