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

Re: missing bits/ioctls.h

On Thu, 2008-11-13 at 16:47 +0100, Marc Pignat wrote:

> When (cross-)compiling a small program using ioctls, the compilation fails like
> that:
> ...

> Seems the bits/ioctls.h file is missing.
> Is this a know problem?

It is if you are missing part of the toolchain.

> I'm using gcc-4.3-arm-linux-gnueabi 4.3.2-1.

$ dpkg -S ioctls.h
linux-headers-2.6.24-1-common: /usr/src/linux-headers-2.6.24-1-common/include/asm-x86/ioctls.h
libc6-dev: /usr/include/bits/ioctls.h
linux-libc-dev: /usr/include/linux/suspend_ioctls.h
linux-libc-dev-arm-cross: /usr/arm-linux-gnu/include/asm/ioctls.h
libc6-dev-armel-cross: /usr/arm-linux-gnueabi/include/bits/ioctls.h
libc6-dev-arm-cross: /usr/arm-linux-gnu/include/bits/ioctls.h
linux-libc-dev: /usr/include/asm/ioctls.h
linux-libc-dev-arm-cross: /usr/arm-linux-gnu/include/linux/suspend_ioctls.h

So you need linux-libc-dev-armel-cross

$ apt-cross -a armel -i linux-libc-dev

This is part of the normal toolchain - if you used emdebian-tools,
emsetup would check for this package and ensure it was available.


Neil Williams

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: