Hi, trying to compile vdr 1.3.35 on my SuSE 8.1 system, I get the following message:
tools.c:872: warning: posix_fadvise is not implemented and will always fail
The system is running kernel 2.4.32rc1, glibc 2.2.5, gcc 3.2
What are the min. requirements to make this work?
Regards.
Am Samstag, 5. November 2005 13:15 schrieb Stefan Huelswitt:
trying to compile vdr 1.3.35 on my SuSE 8.1 system, I get the following message: tools.c:872: warning: posix_fadvise is not implemented and will always fail
The system is running kernel 2.4.32rc1, glibc 2.2.5, gcc 3.2
What are the min. requirements to make this work?
IMHO Linux 2.6 + glibc compiled with Linux 2.6.
Stefan Huelswitt wrote:
Hi, trying to compile vdr 1.3.35 on my SuSE 8.1 system, I get the following message:
tools.c:872: warning: posix_fadvise is not implemented and will always fail
The system is running kernel 2.4.32rc1, glibc 2.2.5, gcc 3.2
What are the min. requirements to make this work?
I compile and run it on SUSE 8.2, kernel 2.4.20, glibc 2.3.2, gcc version 3.3 20030226.
Klaus
On 05 Nov 2005 Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
I compile and run it on SUSE 8.2, kernel 2.4.20, glibc 2.3.2, gcc version 3.3 20030226.
Is that the original SuSE 8.2 glibc version?
Regards.
Stefan Huelswitt wrote:
On 05 Nov 2005 Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
I compile and run it on SUSE 8.2, kernel 2.4.20, glibc 2.3.2, gcc version 3.3 20030226.
Is that the original SuSE 8.2 glibc version?
Yes, it is.
Klaus
Stefan Huelswitt wrote:
trying to compile vdr 1.3.35 on my SuSE 8.1 system, I get the following message:
tools.c:872: warning: posix_fadvise is not implemented and will always fail
The system is running kernel 2.4.32rc1, glibc 2.2.5, gcc 3.2
What are the min. requirements to make this work?
You don't have to worry about this message - everthing will work as before even with this warning. You just don't get the extra feature of not trashing your buffer caches when recording a movie or when viewing a stored one.
To have an advantage of this new feature you will have to get a newer glibc and maybe a newer kernel. But sorry - no idea when they started to fully support posix_fadvise().
Ralf
On 05 Nov 2005 Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
I compile and run it on SUSE 8.2, kernel 2.4.20, glibc 2.3.2, gcc version 3.3 20030226.
Hmm, as far as I see, not even kernel 2.4.32rc1 has support for the fadvise syscall.
Have you ever checked the return value of posix_fadvise on your system?
I guess your glibc simply do nothing and return an error? Or?
Regards.
Stefan Huelswitt wrote:
On 05 Nov 2005 Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
I compile and run it on SUSE 8.2, kernel 2.4.20, glibc 2.3.2, gcc version 3.3 20030226.
Hmm, as far as I see, not even kernel 2.4.32rc1 has support for the fadvise syscall.
Have you ever checked the return value of posix_fadvise on your system?
I guess your glibc simply do nothing and return an error? Or?
Well, I didn't actually test whether the actual effect of no more trashing the cache happens - all I did was to put this stuff into the cUnbufferedFile class and make sure it compiles and doesn't break the original functionality. Since the function declarations are present on my system I guessed it should work. But maybe this was a dummy in the 2.4 kernel...
Klaus
On 05 Nov 2005 Ralf Müller rmvdr@bj-ig.de wrote:
Stefan Huelswitt wrote:
tools.c:872: warning: posix_fadvise is not implemented and will always fail
You don't have to worry about this message - everthing will work as before even with this warning. You just don't get the extra feature of not trashing your buffer caches when recording a movie or when viewing a stored one.
To have an advantage of this new feature you will have to get a newer glibc and maybe a newer kernel. But sorry - no idea when they started to fully support posix_fadvise().
I'm not worried about the message but about the fact that the feature doesn't work on my system :(
As far as I see, no 2.4.x kernel support the necessary syscall.
Regards.