lkml.org 
[lkml]   [2003]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[2.6] GUI config targets fail with "make O=..."
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:1.289 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site