public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kconfig: Makefile xconfig problem: qconf libs/cflags error
@ 2005-11-11 13:14 Mickey Stein
  2005-11-11 14:26 ` Roman Zippel
  0 siblings, 1 reply; 5+ messages in thread
From: Mickey Stein @ 2005-11-11 13:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: zippel

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

$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>

---



[-- Attachment #2: qconf.patch --]
[-- Type: text/x-patch, Size: 694 bytes --]

--- 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` \

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-14 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 13:14 [PATCH] kconfig: Makefile xconfig problem: qconf libs/cflags error Mickey Stein
2005-11-11 14:26 ` Roman Zippel
2005-11-11 15:34   ` Mickey Stein
2005-11-14  1:24     ` Roman Zippel
2005-11-14 15:18       ` Mickey Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox