Skip to contentSkip to conversation

make menuconfig in a buildroot env.

Buildroot Applied Thomas Lundquist 3 participants 6 messages Feb 22, 2007 – Mar 7, 2007

lore
Share & tools
lore
#0 lore raw

I've made a buildroot development environment and have a buildroot checkout in it.

I've done this many times before but since the last time I did it, this have started to happen:

It is not the ncurses library since another (earlier) br2 I have works in the same built rootfs.

root at hamp buildroot.rolls]# make menuconfig
make -C package/config ncurses conf mconf
make[1]: Entering directory /buildroot.rolls/package/config' make[1]: conf' is up to date.
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -I. -c mconf.c -o mconf.o In file included from lxdialog/dialog.h:33,

                 from mconf.c:26:
/usr/include/ncurses.h:66:25: error: ncurses_dll.h: No such file or
directory
In file included from /usr/include/ncurses.h:123,
                 from lxdialog/dialog.h:33,
                 from mconf.c:26:

/usr/include/unctrl.h: In function 'NCURSES_EXPORT':
/usr/include/unctrl.h:57: error: expected declaration specifiers before 'unctrl'
In file included from lxdialog/dialog.h:33,

                 from mconf.c:26:
/usr/include/ncurses.h:147: error: storage class specified for parameter
'NCURSES_BOOL'
In file included from lxdialog/dialog.h:33,
                 from mconf.c:26:

/usr/include/ncurses.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'COLORS'
/usr/include/ncurses.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'COLOR_PAIRS' /usr/include/ncurses.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nc_acs_map' /usr/include/ncurses.h:306: error: storage class specified for parameter 'SCREEN'
/usr/include/ncurses.h:307: error: storage class specified for parameter 'WINDOW'
/usr/include/ncurses.h:309: error: storage class specified for parameter 'attr_t'
/usr/include/ncurses.h:358: error: expected specifier-qualifier-list before 'attr_t'
/usr/include/ncurses.h:402: error: expected ')' before '*' token /usr/include/ncurses.h:403: error: expected ')' before '*' token /usr/include/ncurses.h:404: error: expected ')' before '*' token /usr/include/ncurses.h:406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LINES'
/usr/include/ncurses.h:407: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'COLS'
/usr/include/ncurses.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TABSIZE'

Thomas.

#1 lore raw
Quoted 9 lines · Thomas Lundquist

I've made a buildroot development environment and have a buildroot checkout in it.

I've done this many times before but since the last time I did it, this have started to happen:

It is not the ncurses library since another (earlier) br2 I have works in the same built rootfs.

BTW; just typing make (and not use menuconfig, doesen't work either, it bombs in uClibc:

set -x && make MAKE="make -j1" -C /buildroot.rolls/toolchain_build_i686/uClibc \
PREFIX=/buildroot.rolls/toolchain_build_i686/uClibc_dev/

\
                DEVEL_PREFIX=/usr/ \
                RUNTIME_PREFIX=/buildroot.rolls/toolchain_build_i686/uClibc_dev/
\
                HOSTCC="gcc" \
                pregen install_dev

+ make 'MAKE=make -j1' -C /buildroot.rolls/toolchain_build_i686/uClibc PREFIX=/buildroot.rolls/toolchain_build_i686/uClibc_dev/ DEVEL_PREFIX=/usr/ RUNTIME_PREFIX=/buildroot.rolls/toolchain_build_i686/uClibc_dev/ HOSTCC=gcc pregen install_dev
/bin/sh:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc: No such file or directory
make[1]:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc:
Command not found
make[1]: Entering directory `/buildroot.rolls/toolchain_build_i686/uClibc'
make[1]:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc:
Command not found
/bin/sh:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc: No such file or directory
make[2]:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc:
Command not found
make[2]:
/buildroot.rolls/build_i686/staging_dir/bin/i686-linux-uclibc-gcc:
Command not found
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/checklist.c -o lxdialog/checklist.o
In file included from lxdialog/dialog.h:32,
from lxdialog/checklist.c:24:
/usr/include/ncurses.h:66:25: error: ncurses_dll.h: No such file or directory
In file included from /usr/include/ncurses.h:123,
from lxdialog/dialog.h:32,
from lxdialog/checklist.c:24:

#2 lore raw
In reply to Thomas Lundquist
Quoted 2 lines

I've made a buildroot development environment and have a buildroot checkout in it.

[...]

Quoted 4 lines

root at hamp buildroot.rolls]# make menuconfig
make -C package/config ncurses conf mconf
make[1]: Entering directory /buildroot.rolls/package/config' make[1]: conf' is up to date.

Hi,

I like starting my messages with something like 'hi', 'hello' or 'yo guys'. I don't know exactly why. Maybe... respect. And this even if my response is not the right one.

Have you try :

Quoted 1 line
$ make -C package/config clean

Seems you have updated some of your tools without having cleaned your half-built buildroot.

Philippe

#3 lore raw
Quoted 6 lines · Philippe Ney

Hi,

I like starting my messages with something like 'hi', 'hello' or 'yo guys'. I don't know exactly why. Maybe... respect. And this even if my response is not the right one.

:=) true enough. messing with this for a few hours and an aching shoulder made me less polite..

Quoted 3 lines

Have you try :

Quoted 1 line
$ make -C package/config clean

Yup, I've done that. Also; since it happens with uClibc (latest snapshot) on a clean buildroot aswell, it can't be that.

I really wish I could blush instead :=)

Thomas.

#5 lore raw
Quoted 4 lines · Thomas Lundquist

On Fri, Feb 23, 2007 at 10:14:33AM +0100, Thomas Lundquist wrote:

And I wonder why I didn't think about it but this patch copies the missing .h file into the target dir.

Applied, thanks.