All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Hoogenraad <jan-conceptronic@hoogenraad.net>
To: linux-media@vger.kernel.org
Subject: media_build error on header file not present in old linux in ivtv-alsa-pcm.c
Date: Fri, 21 Sep 2012 21:12:42 +0200	[thread overview]
Message-ID: <505CBC2A.4010808@hoogenraad.net> (raw)
In-Reply-To: <505C9388.8090500@hoogenraad.net>

I try to compile the media_build on an old Ubuntu Lucid system.
2.6.32-42-generic-pae #96-Ubuntu SMP Wed Aug 15 19:12:17 UTC 2012 i686
GNU/Linux

The make job stops with

/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.c:29:26: error:
linux/printk.h: No such file or directory
make[3]: *** [/home/jhh/dvb/media_build/v4l/ivtv-alsa-pcm.o] Error 1

Apparently, this header file was not yet present in this version of
linux. It is the only driver requesting this header file.
Removing line 29

#include <linux/printk.h>

fixes the problem. All compiles well then.



-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

  parent reply	other threads:[~2012-09-21 19:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120819195423.8011935E0224@alastor.dyndns.org>
     [not found] ` <CAJL_dMuF1iDZ8vAXu7a0OFfozzKj31UOc-n6ZWWQGBxjTciTXQ@mail.gmail.com>
     [not found]   ` <503149FC.5030501@iki.fi>
2012-09-21 16:19     ` media_build directory error after patch dvb_frontend: implement suspend / resume Jan Hoogenraad
2012-09-21 17:52       ` Antti Palosaari
2012-09-21 19:04         ` Jan Hoogenraad
2012-09-21 19:12       ` Jan Hoogenraad [this message]
2012-09-21 19:30         ` media_build error on header file not present in old linux in ivtv-alsa-pcm.c Andy Walls
2012-09-22  9:02           ` Jan Hoogenraad

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=505CBC2A.4010808@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.