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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Sep 2007 18:38:47 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	pradeep singh rautela <rautelap@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [Q]Adding src files to 2.6.18 kernel and build failure query

On Mon, Sep 10, 2007 at 09:35:52PM +0530, pradeep singh rautela wrote:
> Hi,
> 
> I am facing some problem understanding and using the kernel Kbuild
> system. I tried googling but not much of help.
> 
> Thanks to a good kbuild documentation in the tree. It looks like $(LD)
> -r is not able to do what it is supposed to do. May be i am doing
> something wrong?
> 
> here is a brief summary of what i am doing -
> 
> I added some .c files to a new dir under net/foo/ .
> Added corresponding .h files to a new dir under include/foo/
> 
> Create a Kconfig and Makefile in net/foo/ directory.
> Added corresponding entries to Makefile and Kconfig in the net/ dir.
> 
> I happily executed a make with a beaming face after selecting the foo
> option after doing a
> $make menuconfig.
> 
> To my surprise i got this error :-
> 
> make[1]: *** No rule to make target `arch/i386/kernel/vmlinux.lds',
> needed by `__build'.  Stop

Did the kernel build before you started adding your stuff?
It looks like you broke something non-obvious when adding your stuff since the
above failure should not happen just by adding a new directory under net/

	Sam
-
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