Trouble building x86 uclibc distribution

Joshua ChaitinPollak jpollak at kivasystems.com
Thu Feb 14 01:27:28 UTC 2008


Hello, I'm new to OpenEmbedded and I'm trying to get a uclibc build
going. I'm currently using the angstrom-2007.12-stable tag, but the
uclibc-initial build seems to be failing.

I'm not beholden to using Angstrom, I just want to be able to build an
ultra-minimal (6mb) uclibc Linux distribution.

Any help would be appreciated.

# Relevant settings in local.conf
DISTRO="angstrom-2007.1"
MACHINE = "x86"
# If I comment the below line, the build completes successfully.
ANGSTROM_MODE = "uclibc"

Here is what happens when I run "buildbox gcc-cross-initial":

NOTE: Running task 112 of 286 (ID:
261, /home/pardsbane/src/openembedded/org.openembedded.angstrom-2007.12-stable/packages/uclibc/uclibc-initial_0.9.29.bb, do_configure)
NOTE: package uclibc-initial-0.9.29: started
NOTE: package uclibc-initial-0.9.29-r8: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows
(/home/pardsbane/src/openembedded/build/tmp/work/x86-angstrom-linux-uclibc/uclibc-initial-0.9.29-r8/temp/log.do_configure.28030)
| NOTE: make OPTIMIZATION=
CPU_CFLAGS=-isystem/home/pardsbane/src/openembedded/build/tmp/staging/i486-angstrom-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os STRIPTOOL=true LD=i486-angstrom-linux-uclibc-ld LOCALE_DATA_FILENAME=uClibc-locale-030818.tgz CC=i486-angstrom-linux-uclibc-gcc  oldconfig
| /bin/sh: i486-angstrom-linux-uclibc-gcc: command not found
| make: i486-angstrom-linux-uclibc-gcc: Command not found
| make: i486-angstrom-linux-uclibc-gcc: Command not found
| install -d include/bits
| /bin/sh: i486-angstrom-linux-uclibc-gcc: command not found
| make[1]: i486-angstrom-linux-uclibc-gcc: Command not found
| make[1]: i486-angstrom-linux-uclibc-gcc: Command not found
| gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -MM *.c > .depend 2>/dev/null
|| :
| /bin/sh: i486-angstrom-linux-uclibc-gcc: command not found
| make[1]: i486-angstrom-linux-uclibc-gcc: Command not found
| make[1]: i486-angstrom-linux-uclibc-gcc: Command not found
| gcc -DCURSES_LOC="<curses.h>" -DLOCALE   -c conf.c -o conf.o
| gcc -DCURSES_LOC="<curses.h>" -DLOCALE   -c kxgettext.c -o kxgettext.o
| gcc -DCURSES_LOC="<curses.h>" -DLOCALE   -c lxdialog/checklist.c -o
lxdialog/checklist.o
| In file included from lxdialog/checklist.c:24:
| lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
| In file included from lxdialog/checklist.c:24:
| lxdialog/dialog.h:97: error: expected specifier-qualifier-list before
'chtype'
| lxdialog/dialog.h:187: error: expected ')' before '*' token
| lxdialog/dialog.h:193: error: expected ')' before '*' token
| lxdialog/dialog.h:195: error: expected ')' before '*' token
| lxdialog/dialog.h:196: error: expected ')' before '*' token
| lxdialog/dialog.h:197: error: expected ')' before '*' token
| lxdialog/dialog.h:198: error: expected ')' before '*' token
| lxdialog/dialog.h:200: error: expected ')' before '*' token
| lxdialog/checklist.c:31: error: expected ')' before '*' token
| lxdialog/checklist.c:59: error: expected ')' before '*' token
| lxdialog/checklist.c:95: error: expected ')' before '*' token
| lxdialog/checklist.c: In function 'dialog_checklist':
| lxdialog/checklist.c:116: error: 'WINDOW' undeclared (first use in
this function)
| lxdialog/checklist.c:116: error: (Each undeclared identifier is
reported only once
| lxdialog/checklist.c:116: error: for each function it appears in.)
| lxdialog/checklist.c:116: error: 'dialog' undeclared (first use in
this function)
| lxdialog/checklist.c:116: error: 'list' undeclared (first use in this
function)
| lxdialog/checklist.c:129: error: 'stdscr' undeclared (first use in
this function)
| lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared (first use in
this function)
| lxdialog/checklist.c:137: error: 'COLS' undeclared (first use in this
function)
| lxdialog/checklist.c:138: error: 'LINES' undeclared (first use in this
function)
| lxdialog/checklist.c:143: error: 'TRUE' undeclared (first use in this
function)
| lxdialog/checklist.c:146: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:146: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:147: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:151: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:156: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:171: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:171: error: 'struct dialog_color' has no member
named 'atr'
| lxdialog/checklist.c:210: error: 'KEY_UP' undeclared (first use in
this function)
| lxdialog/checklist.c:210: error: 'KEY_DOWN' undeclared (first use in
this function)
| lxdialog/checklist.c:220: error: 'FALSE' undeclared (first use in this
function)
| lxdialog/checklist.c:297: error: 'KEY_LEFT' undeclared (first use in
this function)
| lxdialog/checklist.c:298: error: 'KEY_RIGHT' undeclared (first use in
this function)
| lxdialog/checklist.c:312: error: 'KEY_RESIZE' undeclared (first use in
this function)
| make[1]: *** [lxdialog/checklist.o] Error 1
| make: *** [extra/config/conf] Error 2
| FATAL: oe_runmake failed
NOTE: Task
failed: /home/pardsbane/src/openembedded/build/tmp/work/x86-angstrom-linux-uclibc/uclibc-initial-0.9.29-r8/temp/log.do_configure.28030
NOTE: package uclibc-initial-0.9.29-r8: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uclibc-initial-0.9.29: failed
ERROR: Build
of /home/pardsbane/src/openembedded/org.openembedded.angstrom-2007.12-stable/packages/uclibc/uclibc-initial_0.9.29.bb do_configure failed
gure)
ERROR: Task 261
(/home/pardsbane/src/openembedded/org.openembedded.angstrom-2007.12-stable/packages/uclibc/uclibc-initial_0.9.29.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 111 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/home/pardsbane/src/openembedded/org.openembedded.angstrom-2007.12-stable/packages/uclibc/uclibc-initial_0.9.29.bb' failed





More information about the Openembedded-users mailing list