public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Hoogenraad <jan-conceptronic@hoogenraad.net>
To: linux-media@vger.kernel.org
Subject: Media_build does not compile due to errors in cx18-driver.h, cx18-driver.c and dvbdev.c /rc-main.c
Date: Fri, 10 Jun 2011 13:24:54 +0200	[thread overview]
Message-ID: <4DF1FF06.4050502@hoogenraad.net> (raw)

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



             reply	other threads:[~2011-06-10 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 11:24 Jan Hoogenraad [this message]
2011-06-10 12:34 ` Media_build does not compile due to errors in cx18-driver.h, cx18-driver.c and dvbdev.c /rc-main.c 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF1FF06.4050502@hoogenraad.net \
    --to=jan-conceptronic@hoogenraad.net \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox