Linux-DVB-1.01 fails compile with " expected identifier before numeric constant" in /usr/src/linux/include/linux/stddef.h

Marc Lehmann schmorp at schmorp.de
Sun Jun 14 06:59:46 CEST 2015


On Sun, Jun 14, 2015 at 04:11:56AM +1200, Kent Fredric <kentfredric at gmail.com> wrote:
> I'm not sure if using the mailinglist here for reporting problems is
> acceptable nor not.

It's perfectly fine, with or without subscription :)

> preference for it over a private email for transparency reasons, and

Hmm, what kind of intransparency do you expect?

> I'm admittedly not very C savvy, and I'm somewhat suspicious of it
> mixing and matching /usr/src/linux and /usr/include/, though I expect
> it might be necessary for what you're doing, which might require me to

You should - you are mixing them, though, not Linux-DVB, and it's not just
not necessary, but probably the source of your problems.

> make additional preparation/sanity check steps to ensure this works. (
> I am half-assed packaging it for Gentoo, but not in an official
> capacity  )

Gentoo is your problem - in fact, if you use gentoo and report a bug, you
have a close to 100% chance of simply having a hosed system (definitely
the case here), to the point where many projects refuse to even touch any
problem reported by a gentoo user.

Gentoo is not for beginners, it's a very complicated distribution, so if you
don't feel comfortable fixing your installation, you should switch to
something that's easier to manage (debian, fedora, ubuntu...).

I'm not going to debug your system setup, but it indeed looks as if you
or somebody else simply copied or linked kernel header files blindly to
/usr/include, which is not going to work.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the perl mailing list