gcc hängt beim make menuconfig aufruf
Florian Lohoff
flo at rfc822.org
Wed Feb 7 11:29:58 CET 2007
On Mon, Feb 05, 2007 at 02:22:18PM +0100, Adam Jendrosek wrote:
> root at ubuntu:/usr/src/linux # make menuconfig V=1
> make -f scripts/Makefile.build obj=scripts/basic
> mkdir -p include/linux include/config
> make -f scripts/Makefile.build obj=scripts/kconfig menuconfig
> gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE
> -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o
> scripts/kconfig/zconf.tab.c
> gcc -o scripts/kconfig/mconf scripts/kconfig/mconf.o
> scripts/kconfig/zconf.tab.o scripts/kconfig/lxdialog/checklist.o
> scripts/kconfig/lxdialog/util.o scripts/kconfig/lxdialog/inputbox.o
> scripts/kconfig/lxdialog/textbox.o scripts/kconfig/lxdialog/yesno.o
> scripts/kconfig/lxdialog/menubox.o -lncursesw
> scripts/kconfig/zconf.tab.o: In function `sym_re_search':
> zconf.tab.c:(.text+0x1d80): undefined reference to `regcompA'
> zconf.tab.c:(.text+0x1de7): undefined reference to `regexecA'
> zconf.tab.c:(.text+0x1e28): undefined reference to `regfreeA'
> collect2: ld returned 1 exit status
> make[1]: *** [scripts/kconfig/mconf] Error 1
> make: *** [menuconfig] Error 2
Beim linken fehlen dir symbole - 3 listet er auf.
Das sind symbole die aus der libc kommen:
flo at touch:~$ readelf -s /lib/libc-2.3.6.so | egrep "regexec|regfree|regcomp"
62: 000a2880 242 FUNC GLOBAL DEFAULT 11 regexec@@GLIBC_2.3.4
1336: 0009ff10 293 FUNC WEAK DEFAULT 11 regcomp@@GLIBC_2.0
2001: 00094bc0 96 FUNC WEAK DEFAULT 11 regfree@@GLIBC_2.0
2008: 000f3a30 66 FUNC GLOBAL DEFAULT 11 regexec at GLIBC_2.0
Insgesamt wuerden jetzt ein paar versionen und hintergrundinfos helfen
gcc version ?
binutils version ?
libc version ?
kernel version ?
libncurses version ?
Distribution ?
Architektur ?
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20070207/5c5ca629/attachment.sig>
More information about the Linux
mailing list