On 4/19/06, cyril Romain <[EMAIL PROTECTED]> wrote:
> Erik Hovland wrote:
> > On Wed, Apr 19, 2006 at 10:21:57PM +0200, cyril Romain wrote:
> >
> >> | configure: loading site script
> >> /OpenEmbedded/org.openembedded.oz354fam083/site/i686-linux
> >> | checking for i686-linux-gcc... ccache gcc
> >> | checking for C compiler default output file name... configure: error:
> >> C compiler cannot create executables
> >> | See `config.log' for more details.
> >> | FATAL: oe_runconf failed
> >> NOTE: Task failed:
> >> /OpenEmbedded/tmp/work/i686-linux/quilt-native-0.39-r0/temp/log.do_configure.3236
> >> NOTE: package quilt-native-0.39-r0: task do_configure: failed
> >> ERROR: TaskFailed event exception, aborting
> >> NOTE: package quilt-native-0.39: failed
> >> ERROR: Build of nano failed
> >>
> >
> > Try just 'bitbake quilt-native'.
> >
> Same output :-/
> >> Well, the real error seems to be "error: C compiler cannot create
> >> executables" ... but why bitbake use '--target=i686-linux' since
> >> TARGET_ARCH is set to "arm" ?!?
> >> Did I miss something in configuration ?
> >>
> >
> > No, you did the arch right. Can you build things with the installed gcc?
> >
> Yes, it built subversion some hour ago to get bitbake from svn.
> > Look for the config.log file. It will have more information as to why
> > the c compiler cannot create executables.
> >
> Well, this is the most relevant part:
>
> _________________
> configure:1706: checking for C compiler default output file name
> configure:1709: ccache gcc
> -I/OpenEmbedded/tmp/staging/i686-linux/include -O2
> -I/OpenEmbedded/tmp/staging/i686-linux/include
> -L/OpenEmbedded/tmp/staging/i686-linux/lib
> -Wl,-rpath-link,/OpenEmbedded/tmp/staging/i686-linux/lib
> -Wl,-rpath,/OpenEmbedded/tmp/staging/i686-linux/lib -Wl,-O1 conftest.c  >&5
> ccache: failed to create (null)/.ccache (No such file or directory)
> configure:1712: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "quilt"
> | #define PACKAGE_TARNAME "quilt"
> | #define PACKAGE_VERSION "0.37"
> | #define PACKAGE_STRING "quilt 0.37"
> | #define PACKAGE_BUGREPORT "[email protected]"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:1751: error: C compiler cannot create executables
> _______________________
>
> Maybe it is a side effect of ccache that cannot the strange
> (null)/.ccache file ?
> Strange because ccache is installed and set in my /etc/make.conf file...
>

make.conf has nothing to do with OE.

> Maybe it is because I work with OE in a chrooted environement ?
>

Yes, probably.

> Any ideas ?
>

ccache is probably set to go to a directory outside of your chroot (or
not set for any dir). Try either configuring that or not chrooting.
You *shouldn't* need the chroot. I just use a dedicated user on my
machine for OE.

--
Justin Patrin
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to