lost bounds.h in include/linux

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

 



Dear all:
I try to build external modules with 2.6.31.19-generic headers in my ubuntu9.10.
I type "make clean" in the 2.6.31.19-generic-headers and that delete
my bounds.h.
>From website, http://bbs.archlinux.org/viewtopic.php?pid=695783, I try
to use make prepare to save it back, and I get error message as:
/usr/src/linux-headers-2.6.31-19-generic# make prepare
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `kernel/bounds.c', needed by
`kernel/bounds.s'.  Stop.
make: *** [prepare0] Error 2
/usr/src/linux-headers-2.6.31-19-generic#

But I can successfully generate it by "make prepare" under 2.6.27.

/media/sdb1/software/linux/linux-source-2.6.27# make prepare
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer
will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer
will break strict-aliasing rules
  HOSTCC  scripts/basic/docproc
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
/media/sdb1/software/linux/linux-source-2.6.27# cd ..

my questions are:
1. why we need this bounds.h ?
2, is that wrong type "make prepare/clean" under header files?
3. I find 'bounds.h' is not created before 2.6.20, since I cannot find
it when I build 2.6.20.
appreciate your help,
miloody

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux