[OpenWrt-Users] error: C compiler cannot create executables
Robert P. J. Day
rpjday at crashcourse.ca
Mon Mar 24 19:42:55 CET 2008
On Mon, 24 Mar 2008, Jim Redman wrote:
>
>
> Robert P. J. Day wrote:
> > On Mon, 24 Mar 2008, Jim Redman wrote:
> >>[...]
> >> checking for i386-redhat-linux-gcc... (cached) gcc
> >> checking for C compiler default output file name... configure: error: C
> >> compiler cannot create executables
> >> See `config.log' for more details.
> >> make[5]: *** [configure-gcc] Error 1
> >> make[5]: Leaving directory
> >> `/tmp/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final'
> >> make[4]: *** [all] Error 2
> >> make[4]: Leaving directory
> >> `/tmp/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final'
> >> make[3]: ***
> >> [/tmp/openwrt/trunk/staging_dir/toolchain-armeb_gcc4.1.2/stamp/.gcc_installed]
> >>
>
> >
> > are you by chance using "ccache"?
>
> Understanding that there are no stupid questions, but this is
> pushing the envelope...
>
> How would I know, and what should I do to enable/disable it to solve
> the problem?
check your package list -- what distro are you building on? and i
think you can run:
$ ls -l /usr/bin/gcc
if that's a link to ccache, try taking ccache out and see what
happens. this is all just speculation.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
More information about the openwrt-users
mailing list