[oe] bitbake error on ncurses_5.4.bb C compiler cannot create executables

Robert P. J. Day rpjday at crashcourse.ca
Tue Jul 27 09:25:44 UTC 2010


On Tue, 27 Jul 2010, Paul Menzel wrote:

> Dear Ranjith,
>
>
> Am Dienstag, den 27.07.2010, 09:44 +0530 schrieb ranjith kannikara:
>
> > I was trying to run " bitbake fso-illume-image" and it rerturned an error
> > that do_config on ncurses5.4.bb failed
> > the respective log is
> >
> > Configuring NCURSES 5.4 ABI 5 (Tue Jul 27 09:32:35 IST 2010)
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... arm-oe-linux-gnueabi
> > checking target system type... arm-oe-linux-gnueabi
> > Configuring for linux-gnueabi
> > checking for prefix... /usr
> > checking for arm-oe-linux-gnueabi-gcc... arm-oe-linux-gnueabi-gcc
> > -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb
> > checking whether the C compiler works... no
> > configure: error: in
> > `/home/ranjith/test/build/tmp/work/armv4t-oe-linux-gnueabi/ncurses-5.4-r20.0/ncurses-5.4':
> > configure: error: C compiler cannot create executables
>
> Do other recipes work correctly?
>
> > See `config.log' for more details.
> >
> > and the config.log entry is
> >
> > .## ----------- ##
> > ## confdefs.h. ##
> > ## ----------- ##
> >
> > /* confdefs.h */
> > #define PACKAGE_NAME ""
> > #define PACKAGE_TARNAME ""
> > #define PACKAGE_VERSION ""
> > #define PACKAGE_STRING ""
> > #define PACKAGE_BUGREPORT ""
> > #define PACKAGE_URL ""
> > #define SYSTEM_NAME "linux-gnueabi"
> >
> > configure: exit 77
> >
> > I tried googling and tried installing gcc newer version, buildessentials,
> > epenembedded-essentials, but nothign worked for me.
> > So can any one help me in this regard to solve this issue ,,
>
> You did not provide information on what configuration and distribution
> you use. Did you try to rebuild the whole tree in a clean environment?

  not sure if this will be of any help but when i tried to build
yesterday, i also got an error on ncurses.  i didn't do any debugging,
i just waited a bit, did a "git pull", noticed some ncurses commits,
tried again and it built.  so are you working with the absolutely
latest repo contents?

  and, yes, it would be useful to know your distro and architecture.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-devel mailing list