* 2.6.22: dvb header files break compilation on x86-64
@ 2007-07-09 8:59 Gert Vervoort
2007-07-11 16:02 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Gert Vervoort @ 2007-07-09 8:59 UTC (permalink / raw)
To: linux-kernel
Some of the linux/dvb header files include libc header files and break compilation on x86-64 in compat_ioctl.c:
CC fs/timerfd.o
CC fs/eventfd.o
CC fs/compat.o
CC fs/compat_ioctl.o
In file included from fs/compat_ioctl.c:111:
include/linux/dvb/audio.h:27:20: error: stdint.h: No such file or directory
In file included from fs/compat_ioctl.c:112:
include/linux/dvb/dmx.h:28:18: error: time.h: No such file or directory
make[1]: *** [fs/compat_ioctl.o] Error 1
make: *** [fs] Error 2
[root@apollo linux-2.6.x]#
Gert
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: 2.6.22: dvb header files break compilation on x86-64
2007-07-09 8:59 2.6.22: dvb header files break compilation on x86-64 Gert Vervoort
@ 2007-07-11 16:02 ` Adrian Bunk
2007-07-11 18:59 ` Gert Vervoort
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-07-11 16:02 UTC (permalink / raw)
To: Gert Vervoort; +Cc: linux-kernel
On Mon, Jul 09, 2007 at 10:59:02AM +0200, Gert Vervoort wrote:
>
> Some of the linux/dvb header files include libc header files and break
> compilation on x86-64 in compat_ioctl.c:
>
>
> CC fs/timerfd.o
> CC fs/eventfd.o
> CC fs/compat.o
> CC fs/compat_ioctl.o
> In file included from fs/compat_ioctl.c:111:
> include/linux/dvb/audio.h:27:20: error: stdint.h: No such file or directory
> In file included from fs/compat_ioctl.c:112:
> include/linux/dvb/dmx.h:28:18: error: time.h: No such file or directory
> make[1]: *** [fs/compat_ioctl.o] Error 1
> make: *** [fs] Error 2
> [root@apollo linux-2.6.x]#
According to the line numbers your build is pulling a version of the
header cleaned for userspace.
Does this happen with a freshly unpacked vanilla 2.6.22 kernel from
ftp.kernel.org?
Please send the first 50 lines of the file include/linux/dvb/audio.h in
your kernel sources.
What is the output of "make V==1" for fs/compat_ioctl.o?
> Gert
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: 2.6.22: dvb header files break compilation on x86-64
2007-07-11 16:02 ` Adrian Bunk
@ 2007-07-11 18:59 ` Gert Vervoort
0 siblings, 0 replies; 3+ messages in thread
From: Gert Vervoort @ 2007-07-11 18:59 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
Adrian Bunk wrote:
> On Mon, Jul 09, 2007 at 10:59:02AM +0200, Gert Vervoort wrote:
>
>> Some of the linux/dvb header files include libc header files and break
>> compilation on x86-64 in compat_ioctl.c:
>>
>>
>> CC fs/timerfd.o
>> CC fs/eventfd.o
>> CC fs/compat.o
>> CC fs/compat_ioctl.o
>> In file included from fs/compat_ioctl.c:111:
>> include/linux/dvb/audio.h:27:20: error: stdint.h: No such file or directory
>> In file included from fs/compat_ioctl.c:112:
>> include/linux/dvb/dmx.h:28:18: error: time.h: No such file or directory
>> make[1]: *** [fs/compat_ioctl.o] Error 1
>> make: *** [fs] Error 2
>> [root@apollo linux-2.6.x]#
>>
>
> According to the line numbers your build is pulling a version of the
> header cleaned for userspace.
>
> Does this happen with a freshly unpacked vanilla 2.6.22 kernel from
> ftp.kernel.org?
>
>
Indeed, it seems that these files, in the kernel tree I used with the
2.6.22 patch, where modified in the past (a diff of
include/linux/dvb/audio.h between my tree and a fresh tree clearly
showed the problem).
I replaced my tree with a fresh 2.6.22 tree and it now compiles without
any problems.
Gert
> Please send the first 50 lines of the file include/linux/dvb/audio.h in
> your kernel sources.
>
> What is the output of "make V==1" for fs/compat_ioctl.o?
>
>
>> Gert
>>
>
> cu
> Adrian
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-11 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 8:59 2.6.22: dvb header files break compilation on x86-64 Gert Vervoort
2007-07-11 16:02 ` Adrian Bunk
2007-07-11 18:59 ` Gert Vervoort
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox