Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Problems compiling with 2.4.19/20



thx .. compiles
applied... now i get this when doing make insmod

desktop driver # make insmod
/usr/src/linux/scripts/pathdown.sh: TOPDIR: parameter null or not set
../makedev.napi
rm: cannot remove directory `/dev/ost': Directory not empty
make
make[1]: Entering directory `/home/lordvan/tmp/DVB/driver'
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[2]: Entering directory `/usr/src/linux-2.4.19-lolo-r10_pre3'
make -C  /home/lordvan/tmp/DVB/driver CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.19-lolo-r10_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.19-lolo-r10_pre3/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[3]: Entering directory `/home/lordvan/tmp/DVB/driver'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/home/lordvan/tmp/DVB/driver'
make[2]: Leaving directory `/usr/src/linux-2.4.19-lolo-r10_pre3'

make[1]: Leaving directory `/home/lordvan/tmp/DVB/driver'
(       \
insmod dvbdev.o; \
insmod dvb_net.o;                \
insmod i2c-core; \
insmod videodev;                \
insmod dvb_filter.o;                \
insmod dmxdev.o;                \
insmod VES1893.o;               \
insmod VES1820.o;               \
insmod L64781.o;                \
insmod SP8870.o debug=1;        \
insmod tda8083.o;               \
insmod stv0299.o;               \
insmod tuner.o;                 \
insmod saa7146_core.o mode=0;   \
insmod saa7146_v4l.o;           \
insmod dvb_demux.o;             \
insmod dvb_frontend.o;           \
insmod dvb.o init_chan=2 pids_off=0;    \
)
Warning: loading dvbdev.o will taint the kernel: non-GPL license - LGPL
  See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module dvbdev loaded, with warnings
Using /lib/modules/2.4.19-lolo-r10_pre3/kernel/drivers/i2c/i2c-core.o
insmod: a module named i2c-core already exists
Using /lib/modules/2.4.19-lolo-r10_pre3/kernel/drivers/media/video/videodev.o
Warning: loading tuner.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module tuner loaded, with warnings
Warning: loading saa7146_core.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module saa7146_core loaded, with warnings
Warning: loading saa7146_v4l.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module saa7146_v4l loaded, with warnings
dvb_frontend.o: unresolved symbol get_fast_time
dvb.o: unresolved symbol dvb_frontend_poll
dvb.o: unresolved symbol dvb_frontend_get_event
dvb.o: unresolved symbol dvb_frontend_stop
dvb.o: unresolved symbol dvb_frontend_init
dvb.o: unresolved symbol dvb_frontend_demod_command
dvb.o: unresolved symbol dvb_frontend_exit
dvb.o: unresolved symbol dvb_frontend_tune
make: *** [insmod] Error 1



<quote who="Andrew de Quincey">
>
>> 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 listar@linuxtv.org with "unsubscribe
> linux-dvb" as subject.


-- 
-----BEGIN GEEK CODE BLOCK-----
GCS/CC/E/M/MU/S d- s: a--- C++++(++) UL++++ P+ L++++ E W+++ N+++ o-- K w-- O
M-- V- PS+ PE-- Y++ PGP+++ t+++ 5+ X- R tv b++++ DI- D+ G++ e-->+++++ h-- !r
z-
------END GEEK CODE BLOCK------


-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index