search for: headers_install

Displaying 20 results from an estimated 63 matches for "headers_install".

2015 Mar 11
1
Patch: Kbuild.install: *** No rule to make target `headers_install'.
Version: 2.0.4 and git Kernel tested: 3.10.70 Description: make install fails with: No rule to make target `headers_install'. File impacted: scripts/Kbuild.install Error Received: make[2]: *** No rule to make target `headers_install'. Stop. make[1]: *** [header] Error 2 make: *** [install] Error 2 Issue: KLIBCKERNELSRC=`pwd`/linux/usr points to Makefile without headers_install rule. Kbuild.install uses wrong M...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...pe it helps. >>>>> >>>> those patches are wrong and again very brittle. >>>> >>>> just use the way it is described in `make help': >>>> >>>> A) cd ~/src/linux >>>> make defconfig >>>> make headers_install >>>> >>>> B) cd ~/src/klibc >>>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ >>>> >>>> >>> Sorry, but without my patchs, 'make install' fails with the >>> following message (complete messages file attached) >&...
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
...ches when going from kernel 3.6 to kernel 3.7 > >>Hope it helps. > >> > >those patches are wrong and again very brittle. > > > >just use the way it is described in `make help': > > > >A) cd ~/src/linux > > make defconfig > > make headers_install > > > >B) cd ~/src/klibc > > make KLIBCKERNELSRC=`pwd`/../linux/usr/ > > > > > Sorry, but without my patchs, 'make install' fails with the > following message (complete messages file attached) > > # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=...
2011 Feb 24
5
[PATCH] build: Define __EXPORTED_HEADER__
The kernel header guard to ensure that headers aren't included from userland moved in commit 69c8f52b. This causes the following message to be emitted when building klibc (which is designed to use kernel headers explicitly): /usr/local/src/git/linux-2.6//include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see
2009 Jul 17
0
[PATCH] Use headers_install to install headers
Use headers_install to install headers. arch include directory has moved and it's better to ask the kernel Makefile to install the headers for us. Signed-off-by: Jon Ringle <jon at ringle.org> --- scripts/Kbuild.install | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/scr...
2012 Feb 06
1
[PATCH] Fix kernel headers install
headers_install needs KLIBCKERNELOBJ instead of KLIBCKERNELSRC Signed-off-by: Karl Beldan <karl.beldan at gmail.com> --- scripts/Kbuild.install | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install index 370b54e..fd4a2ed 100644 --- a/scrip...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
H. Peter Anvin dixit: >You should be using the output of "make headers_install" to build klibc. Hm. Can we catch that somehow? Like? #ifdef using_uninstalled_kernel_headers # error Go RTFM! #endif ? in the klibc sources, centrally somewhere? Ideally, a klibc header that?d also be included when using klcc to build some? thing, so that both klibc-build time and klibc-us...
2013 Aug 21
2
[klibc:master] README.klibc: update build information
...s, and a lot of things are still missing. The build procedure is not very polished yet, but it should work like this: -a) In the source root directory (the directory above the one in which - this file is found) create a symlink called "linux" pointing to the - target of "make headers_install" from a recent Linux kernel tree. - This can be done by extracting the Linux kernel into a directory, - running "make headers_install" for the appropriate architecture, - and then making a symlink to the "usr" subdirectory of that directory - tree. +a) Extract a rec...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...o kernel 3.7 >>>> Hope it helps. >>>> >>> those patches are wrong and again very brittle. >>> >>> just use the way it is described in `make help': >>> >>> A) cd ~/src/linux >>> make defconfig >>> make headers_install >>> >>> B) cd ~/src/klibc >>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ >>> >>> >> Sorry, but without my patchs, 'make install' fails with the >> following message (complete messages file attached) >> >> # make install...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
On Wed, Aug 21, 2013 at 06:03:41PM +0200, leroy christophe wrote: <snipp stuff> > >>>> > >>>>A) cd ~/src/linux > >>>> make defconfig > >>>> make headers_install > >>>> > >>>>B) cd ~/src/klibc > >>>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ > >>>> > >>>> > >>>Sorry, but without my patchs, 'make install' fails with the > >>>following message (complet...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...00 2001 From: maximilian attems <max at stro.at> Date: Wed, 21 Aug 2013 22:17:47 +0200 Subject: [PATCH] Kbuild: Use topdir kernel directory path * Add usr directory to the include path for the linux kernel headers. * Adapt documentation This fixes 'make install', which fails due to headers_install target target beeing in the toplevel Linux Makefile. Reported-by: leroy christophe <christophe.leroy at c-s.fr> Signed-off-by: maximilian attems <max at stro.at> --- Makefile | 2 +- scripts/Kbuild.klibc | 2 +- usr/klibc/README.klibc | 7 +++---- 3 files changed, 5 in...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
..., Robin H. Johnson wrote: > (please CC me, I'm not on the klibc list, and I didn't get HPA's > response to my post). > > On Fri, Dec 27, 2013 at 12:24:34AM +0000, Thorsten Glaser wrote: >> H. Peter Anvin dixit: >>> You should be using the output of "make headers_install" to build klibc. > That makes easy cross-building a pain in the arse, and if that's the > case, why do you even have variables referring to the kernel source at > all? KLIBCKERNELSRC is a local copy of the kernel for our build > purposes. > > Aside from the build spewing...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
On 12/26/2013 08:49 PM, Robin H. Johnson wrote: > > in the kernel dir: > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ You are overriding INSTALL_HDR_PATH... > in the klibc dir: > emake V=1 KLIBCKERNELSRC="${S}/linux/usr" (plus the rest of the opts) ... and then you point KLIBCKERNELSRC (which arguably is misnamed these days, but changing i...
2011 Aug 31
0
problem installing
...diately, it's confusing. Here are some relevant lines of the output: ================================================================ BEGIN INSTALL headers + man pages to /home/phil/build-klibc-1.5.25-and-linux-2.6.38.4/klibc-1.5.25-install/usr/lib/klibc make[2]: *** No rule to make target `headers_install'. Stop. make[1]: *** [header] Error 2 make: *** [install] Error 2 ================================================================ END I scanned through all the Makefiles and found none with "headers_install". I did find one script that was invoking make with "headers_install&...
2013 Aug 21
0
[klibc:master] README.klibc: update build information
...ill missing. > The build procedure is not very polished yet, but it should work like > this: > > -a) In the source root directory (the directory above the one in which > - this file is found) create a symlink called "linux" pointing to the > - target of "make headers_install" from a recent Linux kernel tree. > - This can be done by extracting the Linux kernel into a directory, > - running "make headers_install" for the appropriate architecture, > - and then making a symlink to the "usr" subdirectory of that directory > - tre...
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com> scripts/headers_install.pl prevents "__user" from being exported to userspace headers, so just use compiler.h to make sure that __user is defined and avoid the error. unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1) Signed-off-by: Randy Dunlap <randy.d...
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com> scripts/headers_install.pl prevents "__user" from being exported to userspace headers, so just use compiler.h to make sure that __user is defined and avoid the error. unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1) Signed-off-by: Randy Dunlap <randy.d...
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
From: Randy Dunlap <randy.dunlap at oracle.com> scripts/headers_install.pl prevents "__user" from being exported to userspace headers, so just use compiler.h to make sure that __user is defined and avoid the error. unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1) Signed-off-by: Randy Dunlap <randy.d...
2017 Jan 05
0
[PATCH] Fix make install target
The headers_install target is part of the top level kernel source, not the usr/ part of the Linux kernel sources. This fixes make install. Signed-off-by: Luis R. Rodriguez <mcgrof at kernel.org> --- scripts/Kbuild.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.instal...
2013 Dec 27
0
[PATCH] Update header locations for uapi & generated
(please CC me, I'm not on the klibc list, and I didn't get HPA's response to my post). On Fri, Dec 27, 2013 at 12:24:34AM +0000, Thorsten Glaser wrote: > H. Peter Anvin dixit: > >You should be using the output of "make headers_install" to build klibc. That makes easy cross-building a pain in the arse, and if that's the case, why do you even have variables referring to the kernel source at all? KLIBCKERNELSRC is a local copy of the kernel for our build purposes. Aside from the build spewing: #warning "Attempt to us...