[oe] Mixed up STAGING_INCDIR's in uclibc.inc?
Holger Freyther
zecke at selfish.org
Mon Apr 28 21:49:46 UTC 2008
On Monday 28 April 2008 21:51:05 Geoffrey Wossum wrote:
> Hi all,
>
> I'm having a brand new issue building uClibc-0.9.29 for the AVR32. When
> running do_configure for uclibc, it gets a bunch of errors like:
>
>
> gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE
> -I/home/geoff/lrs/playpaq/tmp/staging/avr32-angstrom-linux-uclibc/usr/inclu
>de -lncursesw conf.o zconf.tab.o -o conf
>
> | conf.o: In function `strip':
> | conf.c:(.text+0x20): undefined reference to `__ctype_b'
> | conf.c:(.text+0x97): undefined reference to `__ctype_b'
> | conf.o: In function `conf_sym':
> | conf.c:(.text+0x5bf): undefined reference to `__stdout'
>
> ...continues on...
>
> I think the problem is the following line in packages/uclibc/uclibc.inc:
> EXTRA_OEMAKE = "${OEMAKE_NO_CC} 'CC=${CC}'
> HOSTCFLAGS='-I${STAGING_INCDIR}'"
>
> Seems to me like that should be STAGING_INCDIR_NATIVE instead of
> STAGING_INCDIR. If I make that change, then everything works again.
>
> Does this seem correct?
hmm, in autoconf terminology host is:
" --host=HOST cross-compile to build programs to run on HOST [BUILD]"
if uclibc has the same terminology your patch is wrong, I don't know it
though.
More information about the Openembedded-devel
mailing list