Mailing List archive

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

Re: Video Disk Recorder version 0.67



Gregoire Favre wrote:
> 
> On Thu, Nov 02, 2000 at 08:02:23PM +0100, Carsten Koch wrote:
> > MichaelW wrote:
> > >
> > > getting error
> > >
> > > eit.c:27: minmax.h: No such file or directory
> > > make: *** [eit.o] Error 1
> >
> > Your installation may be incomplete.
> > I'm attaching a tar archive that contains the file
> > and its path.
> 
> Well, I am on the way of becomming mad trying to compil VDR ;-((
> 
> I have untared your minmax.h in the folder of eit.c and changed the include
> to #include "minmax.h" with the same result as the patch posted in the
> mailing list (I don't want to create a /usr/include/g++ dir as everything
> are on /usr/include/g++-3):
> 
> g++ -g -O2 -Wall -m486 -c -DREMOTE_KBD -I../DVB/driver eit.c
> In file included from /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/iostream.h:31,
>                  from /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/fstream.h:30,
>                  from eit.c:24:
> /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
> /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
> /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
> /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/streambuf.h:364: `struct streampos' used where a `long long int' was expected
> /usr/lib/gcc-lib/i586-trustix-linux/2.95.2/../../../../include/g++-3/streambuf.h:364: warning: control reaches end of non-void function `streambuf::pubseekpos(_G_fpos64_t, int)'
> make: *** [eit.o] Error 1
> Exit 2


>From the messages above, I believe that your minmax problem
has been fixed. Klaus has also posted a patch that makes 
vdr live without the minmax.h include file.

See Marcus' posts
    http://linuxtv.org/mailinglists/linux-dvb/msg02687.html
and
    http://linuxtv.org/mailinglists/linux-dvb/msg02689.html

about the messages above.

Mail me off-list if you want me to mail you a tar file with 
my streambuf.h.



> And I am completely back to gcc 2.95.2 (and the libstdc++ also) so that not a problem from gcc 2.95.3 or gcc 2.96 (I have taken the gcc from
> Trustix). 

I doubt that.
In my distribution, streambuf.h is in /usr/include/g++/streambuf.h,
not in /usr/include/g++-3/streambuf.h. I'd bet the extra "-3" stand
for 2.95.3.





> And I haded exactly the same results with the compilers from RedHat and Mandrake, and Suse do some things there way, so it sometimes
> hard to try there rpm ;-(
> 
> I try against 2.4.0-test10. Could I ask which distribution and compiler you are using?

I am using the SuSE 7.0 professional distribution, which comes with
gcc/g++ 2.95.2.



Cheers,


Carsten.


Home | Main Index | Thread Index