Messages in this thread Patch in this message | | | Date | Fri, 11 Nov 2005 05:14:09 -0800 | From | Mickey Stein <> | Subject | [PATCH] kconfig: Makefile xconfig problem: qconf libs/cflags error |
| |
$make xconfig generates this error on the last couple kernels: (2.6.14-git14, git13)
make xconfig HOSTCXX scripts/kconfig/qconf.o HOSTLD scripts/kconfig/qconf /usr/bin/ld: cannot find -l-ldl collect2: ld returned 1 exit status make[1]: *** [scripts/kconfig/qconf] Error 1 make: *** [xconfig] Error 2
The actual problem may be at another level, since I don't see a difference between the scripts/kconfig/Makefile & prior ones that work, but this patch seems in line with other targets that work and used the standard pkg-config --libs --cflags setup.
Signed-off-by: Mickey Stein <yekkim@pacbell.net>
---
--- linux-2.6.14-git14/scripts/kconfig/Makefile.orig.xx 2005-11-11 04:10:34.000000000 -0800 +++ linux-2.6.14-git14/scripts/kconfig/Makefile 2005-11-11 04:11:44.000000000 -0800 @@ -129,8 +129,8 @@ HOSTCFLAGS_lex.zconf.o := -I$(src) HOSTCFLAGS_zconf.tab.o := -I$(src) -HOSTLOADLIBES_qconf = -L$(QTLIBPATH) -Wl,-rpath,$(QTLIBPATH) -l$(LIBS_QT) -ldl -HOSTCXXFLAGS_qconf.o = -I$(QTDIR)/include -D LKC_DIRECT_LINK +HOSTLOADLIBES_qconf = `pkg-config qt-mt --libs` +HOSTCXXFLAGS_qconf.o = `pkg-config qt-mt --cflags` -D LKC_DIRECT_LINK HOSTLOADLIBES_gconf = `pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --libs` HOSTCFLAGS_gconf.o = `pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --cflags` \ | |