Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdr on lfs system




----- Original Message -----
From: "Klaus Schmidinger" <Klaus.Schmidinger@cadsoft.de>
To: <vdr@linuxtv.org>
Sent: Wednesday, October 16, 2002 10:09 PM
Subject: [vdr] Re: vdr on lfs system


> Rene Bartsch wrote:
> >
> > ----- Original Message -----
> > From: "Alex Bergmann" <alex@ccamp.de>
> > To: <vdr@linuxtv.org>
> > Sent: Wednesday, October 16, 2002 6:34 PM
> > Subject: [vdr] vdr on lfs system
> >
> > > last weekend i built a new linux from scratch system. all new. gcc 3.2
> > > glibc-2.2.5 and so on. i downloaded the new dvb driver 'dvb-20021015'
> > > from linuxdvb.tv. to compile and install this package was not a
problem
> > > and i got it run. the problem came with the vdr package.
> > >
> > > i tried to compile vdr with 'make NEWSTRUCT=1' and got this error
message:
> > >
> > > ----------------------
> > > g++ -g -O2 -Wall -Woverloaded-virtual -c -DNEWSTRUCT -DREMOTE_KBD
> > > -D_GNU_SOURCE -I../DVB/include dvbdevice.c
> > > In file included from dvbdevice.c:10:
> > > dvbdevice.h:39: 'FrontendType' is used as a type, but is not defined
as
> > > a type.
> > > dvbdevice.c: In constructor `cDvbDevice::cDvbDevice(int)':
> > > dvbdevice.c:83: `frontendType' undeclared (first use this function)
> > > dvbdevice.c:83: (Each undeclared identifier is reported only once for
each
> > >     function it appears in.)
> > > dvbdevice.c:83: `FrontendType' undeclared (first use this function)
> > > dvbdevice.c: At global scope:
> > > dvbdevice.c:309: parse error before `[' token
> > > dvbdevice.c: In member function `virtual bool
> > >     cDvbDevice::SetPid(cDevice::cPidHandle*, int, bool)':
> > > dvbdevice.c:314: `dmxPesFilterParams' undeclared (first use this
function)
> > > dvbdevice.c:314: parse error before `;' token
> > > dvbdevice.c:315: `pesFilterParams' undeclared (first use this
function)
> > > dvbdevice.c:325: `PesTypes' undeclared (first use this function)
> > > dvbdevice.c: In member function `virtual bool
> > >     cDvbDevice::SetChannelDevice(const cChannel*, bool)':
> > > dvbdevice.c:587: `SpectralInversion' undeclared (first use this
function)
> > > dvbdevice.c:589: `CodeRate' undeclared (first use this function)
> > > dvbdevice.c:607: `Modulation' undeclared (first use this function)
> > > dvbdevice.c:624: `BandWidth' undeclared (first use this function)
> > > dvbdevice.c:628: `TransmitMode' undeclared (first use this function)
> > > dvbdevice.c:629: `GuardInterval' undeclared (first use this function)
> > > dvbdevice.c:630: `Hierarchy' undeclared (first use this function)
> > > dvbdevice.c:666: `FrontendStatus' undeclared (first use this function)
> > > dvbdevice.c:666: parse error before `=' token
> > > dvbdevice.c:668: `status' undeclared (first use this function)
> > > dvbdevice.c: In member function `virtual void
> > >     cDvbDevice::SetVolumeDevice(int)':
> > > dvbdevice.c:729: `audioMixer_t' undeclared (first use this function)
> > > dvbdevice.c:729: parse error before `;' token
> > > dvbdevice.c:730: `am' undeclared (first use this function)
> > > dvbdevice.c: In member function `virtual bool
> > >     cDvbDevice::GetTSPacket(uchar*&)':
> > > dvbdevice.c:919: `EBUFFEROVERFLOW' undeclared (first use this
function)
> > > make: *** [dvbdevice.o] Error 1
> > > ----------------------
> > >
> >
> > I assume you are useing VDR-1.0.4?
> > The GCC-3.2 only accepts strict C/C++-ISO-Code. But VDR-1.0.4 was
written in
> > times of GCC-2.95x/2.96.X/3.0.x, which accepted dirty code. So I suggest
> > either to downgrade the compiler or to use VDR-1.1.13 from the
> > developer-branch.
>
> Well, you can't blame _everything_ on "non strict C/C++-ISO-Code" ;-)
>
> If you take a closer look at the error messages you should see that this
> is because he uses the latest driver, which has many type names changed.
> For VDR version 1.0.4 I suggest the driver from
>
>   ftp://ftp.cadsoft.de/vdr/siemens_dvb-0.9.4-2002-06-23.tgz
>

Sorry, I only looked at the upper lines which looked very familiar to the
ISO-problems. ;o)

Rene



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index