Messages in this thread | ![/](/images/icornerl.gif) | | Subject | [2.6] GUI config targets fail with "make O=..." | From | Bryan O'Sullivan <> | Date | Fri, 31 Oct 2003 16:14:50 -0800 |
| |
Hi, Sam -
There's something in the 2.6 kbuild infrastructure that does some rather wrong things for the gconfig and xconfig targets when object files should go to a separate directory.
It looks like HOSTCXXFLAGS is being mangled somehow. Here are the interesting details:
make -C /home/bos/bk/kernel/key O=/tmp/build-i686-smp xconfig
This results in the following invocation of g++, which chokes:
g++ -Wp,-MD,scripts/kconfig/.qconf.o.d -O2 \ -I/home/bos/bk/kernel/key//usr/lib/qt-3.1/include \ -c -o scripts/kconfig/qconf.o \ /home/bos/bk/kernel/key/scripts/kconfig/qconf.cc
There are two problems here. The first is the mangling of -I$(QTDIR) so that it has a bizarre prefix. The second is that -I$O/scripts/kconfig is missing, so the compiler can't find the generated file lkc_defs.h (which is generated correctly).
Any ideas on how to fix this?
<b
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |