From: "Antonio Ávila" <aavilagallego@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Error using "make KBUILD_OUTPUT=path" or "make O=path"
Date: Fri, 11 Apr 2008 14:38:29 +0200 [thread overview]
Message-ID: <bdcb599c0804110538h6a9c0247vcfc0ae39dd55908a@mail.gmail.com> (raw)
In-Reply-To: <bdcb599c0804110514y7f07bd6aqfc3cb9ce6f52b08b@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
First of all, I'd like to introduce myself, my name is Anthony and
I've been using linux during the last 8 years.
I have googled around and I haven't found anything so let's go to the question:
It seems that when initializing either KBUILD_OUTPUT or O variables
(make KBUILD_OUTPUT="../build/" ) there is a problem, the output is
effectivly working, but the problem is that some files (.config) that
has been generated at the begining of the make process, are later used
and as a consecuence, the make is trying to read them as the file was
created in the base path instead of $KBUILD_OUTPUT...
Or maybe I'm completely wrong about the using of that variables... :)
I've attached an output log of the error.
More info:
- The kernel has been configured
- If I omit the O= or KBUILD_OUTPUT= initializations the kernel
compiles wonderfull.
"Thanks a log" and please don't forget to add my address to the CC
since I'm not subscribed to the list.
[-- Attachment #2: output.log --]
[-- Type: application/octet-stream, Size: 2685 bytes --]
lsar@debian:/tmp/build_dir/linux-2.6.22.13$ make O="../build_files" V=1
make -C /tmp/build_dir/build_files \
KBUILD_SRC=/tmp/build_dir/linux-2.6.22.13 \
KBUILD_EXTMOD="" -f /tmp/build_dir/linux-2.6.22.13/Makefile _all
make -f /tmp/build_dir/linux-2.6.22.13/Makefile silentoldconfig
make -f /tmp/build_dir/linux-2.6.22.13/scripts/Makefile.build obj=scripts/basic
gcc -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep /tmp/build_dir/linux-2.6.22.13/scripts/basic/fixdep.c
gcc -Wp,-MD,scripts/basic/.docproc.d -Iscripts/basic -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/docproc /tmp/build_dir/linux-2.6.22.13/scripts/basic/docproc.c
/bin/bash /tmp/build_dir/linux-2.6.22.13/scripts/mkmakefile \
/tmp/build_dir/linux-2.6.22.13 /tmp/build_dir/build_files 2 6
GEN /tmp/build_dir/build_files/Makefile
mkdir -p include/linux include/config
make -f /tmp/build_dir/linux-2.6.22.13/scripts/Makefile.build obj=scripts/kconfig silentoldconfig
gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<curses.h>" -DLOCALE -c -o scripts/kconfig/conf.o /tmp/build_dir/linux-2.6.22.13/scripts/kconfig/conf.c
gcc -Wp,-MD,scripts/kconfig/.kxgettext.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<curses.h>" -DLOCALE -c -o scripts/kconfig/kxgettext.o /tmp/build_dir/linux-2.6.22.13/scripts/kconfig/kxgettext.c
cat /tmp/build_dir/linux-2.6.22.13/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c
cat /tmp/build_dir/linux-2.6.22.13/scripts/kconfig/lex.zconf.c_shipped > scripts/kconfig/lex.zconf.c
cat /tmp/build_dir/linux-2.6.22.13/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c
gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<curses.h>" -DLOCALE -I/tmp/build_dir/linux-2.6.22.13/scripts/kconfig -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
gcc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o
scripts/kconfig/conf -s arch/i386/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No hay ninguna regla para construir el objetivo `include/config/auto.conf', necesario para `include/config/kernel.release'. Alto.
make: *** [_all] Error 2
next parent reply other threads:[~2008-04-11 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bdcb599c0804110514y7f07bd6aqfc3cb9ce6f52b08b@mail.gmail.com>
2008-04-11 12:38 ` Antonio Ávila [this message]
2008-04-11 13:00 ` Adrian Bunk
2008-04-11 21:50 ` Antonio Ávila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdcb599c0804110538h6a9c0247vcfc0ae39dd55908a@mail.gmail.com \
--to=aavilagallego@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®