Re: Media_build does not compile due to errors in cx18-driver.h, cx18-driver.c and dvbdev.c /rc-main.c

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

 



Jan Hoogenraad <jan-conceptronic@xxxxxxxxxxxxxx> wrote:

>Hans, Mauro:
>
>I have tried to compile the sources at
>git://linuxtv.org/media_build.git,
>using build.sh
>
>At
>cx18-driver.h:659:
>     struct workqueue_struct *out_work_queue;
>     char out_workq_name[12]; /* "cx18-NN-out" */
>
>     struct workqueue_struct *out_work_queue;
>     char out_workq_name[12]; /* "cx18-NN-out" */
>
>
>cx18-driver.c:718
>a similar problem occurs: the following code block is repeated:
>
>static int __devinit cx18_create_out_workq(struct cx18 *cx)
>{
>     snprintf(cx->out_workq_name, sizeof(cx->out_workq_name), "%s-out",
>          cx->v4l2_dev.name);
>     cx->out_work_queue = create_workqueue(cx->out_workq_name);
>     if (cx->out_work_queue == NULL) {
>       CX18_ERR("Unable to create outgoing mailbox handler threads\n");
>         return -ENOMEM;
>     }
>     return 0;
>}
>
>static int __devinit cx18_create_out_workq(struct cx18 *cx)
>{
>     snprintf(cx->out_workq_name, sizeof(cx->out_workq_name), "%s-out",
>          cx->v4l2_dev.name);
>     cx->out_work_queue = create_workqueue(cx->out_workq_name);
>     if (cx->out_work_queue == NULL) {
>       CX18_ERR("Unable to create outgoing mailbox handler threads\n");
>         return -ENOMEM;
>     }
>     return 0;
>}
>
>Furthermore, there is an error that is present in three sources:
>At
>./v4l/dvbdev.c:466: twice:
>the escape sequence \\" sould be replaced with \"
>
>./rc-main.c:1131: twice:
>the escape sequence \\" sould be replaced with \"
>
>./v4l/v4l2-dev.c:782: twice:
>the escape sequence \\" sould be replaced with \"
>
>
>-- 
>Jan Hoogenraad
>Hoogenraad Interface Services
>Postbus 2717
>3500 GS Utrecht
>
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-media"
>in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

What are the error messages?

Tejun Heo made quite a number of workqueue changes, and the cx18 driver got dragged forward with them.  So did ivtv for that matter.

Just disable the cx18 driver if you don't need it for an older kernel.

Regards,
Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux