You are not logged in.

#1 2009-04-20 00:04:09

ben123
Member
Registered: 2009-04-19
Posts: 13

2.6.29 missing asm/swab.h

cdrom.h ends up sourcing it up the header chain.

In file included from /usr/src/linux-2.6.29-ARCH/include/linux/byteorder/little_endian.h:12,
                 from /usr/include/asm/byteorder.h:79,
                 from /usr/src/linux-2.6.29-ARCH/include/linux/cdrom.h:15,
                 from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.29-ARCH/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory

I fixed the error with:

touch /usr/src/linux-2.6.29-ARCH/include/asm-x86/swab.h

My guess is that there's no hardware override for swab, at least in x86_64.

Ben

Offline

#2 2009-04-20 01:18:26

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: 2.6.29 missing asm/swab.h

ben123 wrote:

cdrom.h ends up sourcing it up the header chain.

In file included from /usr/src/linux-2.6.29-ARCH/include/linux/byteorder/little_endian.h:12,
                 from /usr/include/asm/byteorder.h:79,
                 from /usr/src/linux-2.6.29-ARCH/include/linux/cdrom.h:15,
                 from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.29-ARCH/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory

I fixed the error with:

touch /usr/src/linux-2.6.29-ARCH/include/asm-x86/swab.h

My guess is that there's no hardware override for swab, at least in x86_64.

Ben

I've got a
/usr/src/linux-2.6.29-ARCH/arch/x86/include/asm/swab.h

Offline

#3 2009-04-20 14:40:00

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: 2.6.29 missing asm/swab.h

Normally just touching the file doesn't fix it - if is needed that usually means some code from that header is used (that's why it has to be there in the first place).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB