Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Problem in the testing program of the drivers
In fact I think it come from the fact that my videodev driver doesnt want to load :
when i do ./inshmod-btt8xx.sh I have this message :
caravelle:/linuxtv-dvb-1.1.1/build-2.4# ./insmod-bt8xx.sh start
Inserting DVB modules into kernelinsmod: videodev.o: No such file or directory
insmod: bttv.o: No such file or directory
insmod: a module named dvb-core already exists
insmod: a module named v4l1-compat already exists
insmod: a module named v4l2-common already exists
insmod: a module named video-buf already exists
./dst.o: ./dst.o: unresolved symbol bt878_find_by_dvb_adap
./dst.o: ./dst.o: unresolved symbol bt878_device_control
./bt878.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
./dvb-bt8xx.o: ./dvb-bt8xx.o: unresolved symbol bt878_stop
./dvb-bt8xx.o: ./dvb-bt8xx.o: unresolved symbol bt878_start
./dvb-bt8xx.o: ./dvb-bt8xx.o: unresolved symbol bt878_num
./dvb-bt8xx.o: ./dvb-bt8xx.o: unresolved symbol bt878
There is effectivly not a videodev.o file in the folder, but there is one in my
sources. So i verified but the module was not loaded at start, i've try to load
it with modprobe it didnt work, and finaly i copied videodev.c and .o to my
dvb-build folder and it didn't work...
so someone can help me??
Selon cedric.picard@esial.uhp-nancy.fr:
>
> hi,
>
> I'm runing a debian with a 2.4.26 kernel
> i have a 3.3.3 gcc
>
>
> I tried to compile the file below to test my drivers :
> ------------------------------------------------
>
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <fcntl.h>
> #include <linux/dvb/frontend.h>
>
> int main()
> {
>
> struct dvb_frontend_info info;
> int fd;
>
> if ((fd = open ("/dev/dvb/adapter0/frontend0", O_RDWR)) < 0) {
> perror ("open failed");
> return -1;
> }
>
> ioctl (fd, FE_GET_INFO, &info);
> printf("%d",info.type);
> }
>
> ---------------------------------------------------------
>
> when i compile with the preprocessor option it transform "FE_GET_INFO"
> into
> "_IOR('o', 61, struct dvb_frontend_info)" and does no error, but when i do a
> complet compilation i had this error :
>
> caravelle:/home/picard/API# gcc t1.c
> t1.c: In function `main':
> t1.c:22: error: parse error before "struct"
>
> Is anyone have an idea???
>
> thanks
>
>
>
>
>
>
>
>
>
> --
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe
> linux-dvb" as subject.
>
>
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index