diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2010-05-27 05:22:28 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-03 04:05:18 -0400 |
commit | cbab05f041a4cff6ca15856bdd35238b282b64eb (patch) | |
tree | 5886895e227e41d67f4c655ecef15094e430d4f1 /scripts | |
parent | 07105202bdebf6e9a4c72c634cf90398abfad870 (diff) |
gconfig: fix build failure on fedora 13
Making gconfig fails on fedora 13 as the linker cannot resolve dlsym.
Adding libdl to the link command fixes this.
make shows this error :-
/usr/bin/ld: scripts/kconfig/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
tested on x86_64 fedora 13.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 999e8a7d5bf7..25a518310038 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -198,7 +198,7 @@ HOSTCFLAGS_zconf.tab.o := -I$(src) | |||
198 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl | 198 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl |
199 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK | 199 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK |
200 | 200 | ||
201 | HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` | 201 | HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` -ldl |
202 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ | 202 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ |
203 | -D LKC_DIRECT_LINK | 203 | -D LKC_DIRECT_LINK |
204 | 204 | ||