lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3f9a31f40901251132v5048c636o62db4b0a5c7e4342@mail.gmail.com>
Date:	Mon, 26 Jan 2009 01:02:30 +0530
From:	Jaswinder Singh Rajput <jaswinderlinux@...il.com>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	Jaswinder Singh Rajput <jaswinder@...nel.org>,
	Satish Eerpini <eerpini@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: building custom module on 2.6.28 fails

On Mon, Jan 26, 2009 at 12:48 AM, Sam Ravnborg <sam@...nborg.org> wrote:
> On Sun, Jan 25, 2009 at 07:57:37PM +0530, Jaswinder Singh Rajput wrote:
>> On Sun, 2009-01-25 at 14:47 +0100, Sam Ravnborg wrote:
>> > On Sun, Jan 25, 2009 at 04:49:16PM +0530, Satish Eerpini wrote:
>> > > >> It seems you run "make clean" or "make distclean" in your kernel sources
>> > > >>
>> > > >> run "make prepare" in your kernel sources then you will not get this
>> > > >> error.
>> > > >
>> > >
>> > > I ran make clean and then make prepare but it gives an error saying
>> > > "no such file or directory : modpost ", ....
>> > > Then i ran make( in the kernel source tree) , and terminated it after
>> > > a few files were compiled and then again tried to compile my module,
>> > > this time it worked without any errors, ....... any particular reason
>> > > for this ??
>> > We are currently lacking a dependency on "scripts" so doing:
>> > make scripts
>> > make prepare
>> > is needed today.
>>
>> As per makefile:
>> # make clean     Delete most generated files
>> #                Leave enough to build external modules
>>
>> So is this OK to delete include/linux/bounds.h by 'make clean'.
> No - only mrproper and distclean should delete it.
>

[jsr@...winder linux-2.6-tip]$ ls -l include/linux/bo*
-rw-rw-r-- 1 jsr jsr 4848 2008-08-21 19:55 include/linux/bootmem.h
-rw-rw-r-- 1 jsr jsr  224 2008-12-08 11:35 include/linux/bottom_half.h
-rw-rw-r-- 1 jsr jsr  224 2009-01-17 20:31 include/linux/bounds.h
[jsr@...winder linux-2.6-tip]$ make clean
  CLEAN   arch/x86/boot/compressed
  CLEAN   arch/x86/boot
  CLEAN   /home/jsr/jaswinder-git/linux-2.6-tip
  CLEAN   arch/x86/kernel/acpi/realmode
  CLEAN   arch/x86/kernel/cpu
  CLEAN   arch/x86/kernel
  CLEAN   arch/x86/vdso
  CLEAN   drivers/char
  CLEAN   drivers/scsi/aic7xxx
  CLEAN   drivers/video/logo
  CLEAN   firmware
  CLEAN   init
  CLEAN   kernel
  CLEAN   lib
  CLEAN   usr
  CLEAN   .tmp_versions
  CLEAN   vmlinux System.map .tmp_kallsyms0.o .tmp_kallsyms0.S
.tmp_kallsyms1.o .tmp_kallsyms1.S .tmp_kallsyms2.o .tmp_kallsyms2.S
.tmp_kallsyms3.o .tmp_kallsyms3.S .tmp_vmlinux0 .tmp_vmlinux0.stripped
.tmp_vmlinux1 .tmp_vmlinux1.stripped .tmp_vmlinux2
.tmp_vmlinux2.stripped .tmp_vmlinux3 .tmp_vmlinux3.stripped
.tmp_System.map
[jsr@...winder linux-2.6-tip]$ ls -l include/linux/bo*
-rw-rw-r-- 1 jsr jsr 4848 2008-08-21 19:55 include/linux/bootmem.h
-rw-rw-r-- 1 jsr jsr  224 2008-12-08 11:35 include/linux/bottom_half.h
[jsr@...winder linux-2.6-tip]$

--
JSR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ