problem with builded buildroot
Hi,
I have problem with compiled buildroot. I use latest snapshot, in "make menuconfig" I checked
"Generic development system", "Enable WCHAR support" and "development files in target filesystem".
I succesfully compiled buildroot, then I mount this, copy tree in another location on harddisk,
chroot to this. Now I want to compile uClibc-0.9.29 in my new buildroot. After "make menuconfig"
i got errors:
[root at development uClibc-0.9.29]# make menuconfig
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c kxgettext.c -o kxgettext.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/checklist.c -olxdialog/checklist.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/inputbox.c -olxdialog/inputbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/menubox.c -olxdialog/menubox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/textbox.c -olxdialog/textbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/util.c -olxdialog/util.olxdialog/util.c: In function 'print_autowrap':
another "make menuconfig" (on newly copied source on uClibc)
[root at development uClibc-0.9.29]# make menuconfig install -d include/bits
gcc -DLOCALE -MM *.c > .depend 2>/dev/null || :
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c conf.c -o conf.o gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c kxgettext.c -o kxgettext.o gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/checklist.c -o
lxdialog/checklist.o
make[1]: *** [lxdialog/checklist.o] Segmentation fault
make: *** [extra/config/mconf] Error 2
Errors discovers randomly ... Sometimes sooner, sometimes later. "make clean" ends with "Segmentation fault".
Similar errors produce "make menuconfig" on kernel source. But "make config, make dep, make" works.
My computer is running CentOS 5 with latest updates. I tested this on another computer with x64 CentOS 5 with
the same errors. I tested many changes in compiling buildroot (gcc-4.1.2, daily snapshot of uClibc, another version
of binutils....) with no success.
I have old buildroot (I compiled this before 2 years, it is based on uClibc-0.9.27, and this works without problems
- I can "make menuconfg" uClibc-0.9.29
I compiled buildroot perhaps 50 times, now I am despairing, please help me
Thank you, Jaroslav Jirasek
Jaroslav,
Just to be clear, you said that you want to compile uClibc-0.9.29 in your buildroot that you just chroot-ed into. This may be trivial, but did you try compiling buildroot from the beginning with 0.9.29 runtime library instead of compiling with the older version first and then trying to compile the new uClibc version within your root fs afterwards?
I am a new user to Buildroot and have found that I have been stuck many times because I have been using specific snapshots of buildroot rather than keeping up with the latest stable version using svn. Considering you have been compiling so many times I doubt neither of these are the real issues for you but I thought I would throw them out there anyway. Hopefully someone will come in to give a complete answer.
Quoted 60 lines · Jir?sek Jaroslav
Hi,
I have problem with compiled buildroot. I use latest snapshot, in "make menuconfig" I checked
"Generic development system", "Enable WCHAR support" and "development files
in target filesystem".I succesfully compiled buildroot, then I mount this, copy tree in another location on harddisk,
chroot to this. Now I want to compile uClibc-0.9.29 in my new buildroot. After "make menuconfig"
i got errors:[root at development uClibc-0.9.29]# make menuconfig
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -ckxgettext.c-o kxgettext.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -clxdialog/checklist.c-olxdialog/checklist.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -clxdialog/inputbox.c-olxdialog/inputbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -clxdialog/menubox.c-olxdialog/menubox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -clxdialog/textbox.c-olxdialog/textbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -clxdialog/util.c-olxdialog/util.olxdialog/util.c: In function 'print_autowrap':another "make menuconfig" (on newly copied source on uClibc)
[root at development uClibc-0.9.29]# make menuconfig install -d
include/bits
gcc -DLOCALE -MM *.c > .depend 2>/dev/null || :gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c conf.c -o conf.o gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c kxgettext.c -o kxgettext.o gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/checklist.c -o
lxdialog/checklist.o
make[1]: *** [lxdialog/checklist.o] Segmentation fault
make: *** [extra/config/mconf] Error 2Errors discovers randomly ... Sometimes sooner, sometimes later. "make clean" ends with "Segmentation fault".
Similar errors produce "make menuconfig" on kernel source. But "make config,
make dep, make" works.
My computer is running CentOS 5 with latest updates. I tested this on another computer with x64 CentOS 5 with
the same errors. I tested many changes in compiling buildroot (gcc-4.1.2, daily snapshot of uClibc, another version
of binutils....) with no success.I have old buildroot (I compiled this before 2 years, it is based on uClibc-0.9.27, and this works without problems
- I can "make menuconfg" uClibc-0.9.29I compiled buildroot perhaps 50 times, now I am despairing, please help me
Quoted 7 lines
Thank you, Jaroslav Jirasek
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080512/f7c03d99/attachment-0001.htm