gcc hängt beim make menuconfig aufruf

Jan 'RedBully' Seiffert redbully at cc.fh-luh.de
Mon Feb 5 16:46:25 CET 2007


Adam Jendrosek wrote:
> Hallo Liste,
> 
> ich versuche hier den aktuellen Kernel 2.6.20 zu backen mit dem Problem,
> dass beim make menuconfig der gcc hängen bleibt.
> 
> 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
> 
> 
Hmmm, regcompA ??

> Hat jemand eine Idee was fehlt, da mir google kein klares Ergebnis
> liefert.
> 
Der Compiler (bzw. der Linker) kann im finalen Schritt des linkens
einige Symbole, die der Code benutzt nicht finden. Das deutet darauf
hin, das eine Bibliothek fehlt (also wirklich das Binaerding *.so (oder
*.a)), bzw halt nicht als zu linkende Bibliothek angegeben wurde (-lfoo).

Das Problem ist nur: Der in frage kommende Code benutzt posix regular
expression. Einfache Regex kommen mit der glibc, die will der Code auch
benutzen (#include <regex.h>).
Nur irgendetwas scheint es in deiner Installation auf die boost-version
umgebogen zu haben (ieeehk, das ist c++).

Also irgendwas ist in deinem /usr/include "kapott". (Package collide?)

> Danke,
> Adam
> 
Gruss
	Jan

-- 
"Ich?" - "Sie!" - "Nein!" - "Doch!" - "Ohhhh!!"



More information about the Linux mailing list