Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DVB and linux-2.4.0-test10?
Gregoire Favre writes:
> On Fri, Nov 03, 2000 at 07:45:08PM +0100, Marcus O.C. Metzler wrote:
>
> > There is a semi-colon ";" missing in the kernel-sources since test10 pre
> > something.
> > In
> > /usr/src/linux/include/linux/byteorder/swabb.h
> > in line 40 before the final backslash "\".
>
> Wouah, no it compile without problem: many thanks ;-)
>
> I have done a make clean in libdvb, and when I try to make, I got another
> problem:
>
> g++ -I./include -I./src -I. -I../driver -O2 -Wall -g -c devices.cc
> In file included from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/iostream.h:31,
> from devices.hh:9,
> from devices.cc:1:
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:364: `struct streampos' used where a `long long int' was expected
> /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:364: warning: control reaches end of non-void function `streambuf::pubseekpos(_G_fpos64_t, int)'
> devices.cc: In function `void getname(char *, istream &)':
> devices.cc:47: no match for `streampos & + int'
> devices.cc:50: no match for `streampos & - streampos &'
> devices.cc:51: no match for `streampos & - streampos &'
> make: *** [devices.o] Error 1
>
> And I got the same problem as I attempt to compile VDR, is there also an easy solution?
> I am back to gcc 2.95 because I had too many problems with 2.96, but maybe the problem
> here is connected?
>
It seems that streampos was changed into a struct in version
2.95.3. It was a simple typedef from long long in 2.95.2 .
So "+" and "-" don't work. I don't know how they changed it. I'd have
to get a 2.95.3 first. Maybe they should have defined some operators.
Marcus
---------------------------------------------------------------------
Dr. Marcus Metzler
mocm@netcologne.de http://www.metzlerbros.de
mocm@convergence.de http://www.convergence.de
Convergence Integrated Media GmbH
Rosenthaler Str. 51
D-10178 Berlin
---------------------------------------------------------------------
Home |
Main Index |
Thread Index