lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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` \
\
 
 \ /
  Last update: 2005-11-11 14:16    [W:0.081 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site