All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Hofman <pavel.hofman@insite.cz>
To: alsa-devel@alsa-project.org
Subject: Error when compiling from HG on Ubuntu 7.10
Date: Thu, 24 Jan 2008 23:13:08 +0100	[thread overview]
Message-ID: <47990D74.2030606@insite.cz> (raw)

Hello,

While trying to compile the latest alsa-kernel + alsa-drivers from HG 
using ./hgcompile, I am hitting the following error:

   CC [M]  /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.o
In file included from 
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:23:
/home/pavel/projects/alsa/alsa-driver/include/sound/driver.h:1:2: 
warning: #warning "This file is deprecated"
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:60: 
error: redefinition of ‘video_get_drvdata’
include/media/v4l2-dev.h:383: error: previous definition of 
‘video_get_drvdata’ was here
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:65: 
error: redefinition of ‘video_set_drvdata’
include/media/v4l2-dev.h:388: error: previous definition of 
‘video_set_drvdata’ was here
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:26: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:40: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:27: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:41: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:27: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:41: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:27: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:41: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:27: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:41: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:26: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:40: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:27: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:41: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:5: 
warning: "LINUX_VERSION_CODE" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:26: 
warning: "KERNEL_VERSION" is not defined
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:40: 
error: missing binary operator before token "("
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c: In 
function ‘snd_tea575x_init’:
/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:243: 
warning: assignment from incompatible pointer type
make[4]: *** 
[/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.o] Error 1

The system runs on 2.6.22-14-rt kernel, corresponding package with 
headers installed correctly. Perhaps I am doing something wrong.

Thanks a lot for any help.

Regards,

Pavel Hofman.

             reply	other threads:[~2008-01-24 22:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 22:13 Pavel Hofman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-25 19:17 Error when compiling from HG on Ubuntu 7.10 Pavel Hofman

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=47990D74.2030606@insite.cz \
    --to=pavel.hofman@insite.cz \
    --cc=alsa-devel@alsa-project.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.