]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gconfig: fix build failure on fedora 13
authorRichard Kennedy <richard@rsk.demon.co.uk>
Thu, 27 May 2010 09:22:28 +0000 (10:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:08:44 +0000 (11:08 -0700)
commitf5cdcd6bb088de9c8ce7b63a2487f7064305c03c
tree36159b306e0bf8d1703bee15ce37296a692af7e8
parent310c0ab725ad1950bb1592306d583a60e9f000fb
gconfig: fix build failure on fedora 13

commit cbab05f041a4cff6ca15856bdd35238b282b64eb upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
scripts/kconfig/Makefile