public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Media_build does not compile due to errors in cx18-driver.h, cx18-driver.c and dvbdev.c /rc-main.c
@ 2011-06-10 11:24 Jan Hoogenraad
  2011-06-10 12:34 ` Andy Walls
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Hoogenraad @ 2011-06-10 11:24 UTC (permalink / raw)
  To: linux-media

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-10 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 11:24 Media_build does not compile due to errors in cx18-driver.h, cx18-driver.c and dvbdev.c /rc-main.c Jan Hoogenraad
2011-06-10 12:34 ` Andy Walls
2011-06-10 13:12   ` Devin Heitmueller
2011-06-10 13:22     ` Jan Hoogenraad
2011-06-10 14:14       ` Jan Hoogenraad
2011-06-10 15:34         ` Mauro Carvalho Chehab
2011-06-10 16:07           ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox