[PATCH] Fix byteswap macros compilation with
kernel-headers-2.6.28
Sandor Bodo-Merle
sbodomerle at gmail.com
Fri Feb 20 11:54:24 MST 2009
Well i did a fresh checkout now the source is on KDE svn server.
Compiling it i got the errors about /usr/include/linux/byteorder/swabb.h
I had to admit that i googled for the solution id did not looked at it
too deep as this one liner fixed the compile.
I have ubuntu jaunty up to date here (latest devel version)
On 2/20/09, Regis Boudin <regis at boudin.name> wrote:
> Are you sure ? I've been building with linux 2.6.28 headers for a while,
> and not had any problem.
>
> Will try to do some checks tonight, anyway.
>
> On Fri, February 20, 2009 17:55, Sandor Bodo-Merle wrote:
>> Apparently this one liner needs to be applied to have tellico HEAD compile
>> with kernel headers 2.6.28.
>> Patch taken from http://www.virtualbox.org/ticket/2936
>>
>> ---
>> src/translators/freedb_util.cpp | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/translators/freedb_util.cpp
>> b/src/translators/freedb_util.cpp
>> index 885c587..2c434f6 100644
>> --- a/src/translators/freedb_util.cpp
>> +++ b/src/translators/freedb_util.cpp
>> @@ -46,6 +46,7 @@ extern "C" {
>> #define _ANSI_WAS_HERE_
>> #endif
>> #include <linux/types.h>
>> +#define _LINUX_BYTEORDER_SWABB_H
>> #include <linux/cdrom.h>
>> #ifdef _ANSI_WAS_HERE_
>> #define __STRICT_ANSI__
>> --
>> 1.6.0.4
>> _______________________________________________
>> tellico-users mailing list
>> tellico-users at forge.novell.com
>> http://forge.novell.com/mailman/listinfo/tellico-users
>
> _______________________________________________
> tellico-users mailing list
> tellico-users at forge.novell.com
> http://forge.novell.com/mailman/listinfo/tellico-users
>
More information about the tellico-users
mailing list