[OpenWrt-Users] error: C compiler cannot create executables

Robert P. J. Day rpjday at crashcourse.ca
Tue Mar 25 14:24:49 CET 2008


On Tue, 25 Mar 2008, Jim Redman wrote:

> Georg,
>
> Georg Lippold wrote:
> > Jim Redman wrote:
> >> I may have some more insight into this problem.
> >> configure:2229: error: C compiler cannot create executables
> >>
> >> So, it seems that the problem is that the option '-Qy' is not understood
> >> by as.  I've been fighting this same problem all day building Angstrom.
> >>   No solution there, only a work-around.
> >>
> >> Anyone have any suggestions as to how to solve this?
> > Pick one:
> >
> > [ ] Contact RedHat support
> > [ ] Compile gcc from scratch
> > [ ] Install different linux distribution (works for me with Gentoo)
>
> Interesting suggestions...
>
> Since the complaint is about armeb-linux-uclibc-as:
>
> /tmp/openwrt/trunk/staging_dir/toolchain-armeb_gcc4.1.2/bin/armeb-linux-uclibc-as:
> unrecognized option `-Qy'
>
> I'm wondering why you would think that this is a RedHat problem, or
> a problem with the distro that I'm running.  Is there some
> connection between the options accepted by armeb-linux-uclibc-as and
> the tools of the OS?
>
> armeb-linux-uclibc-as was (presumably) built as part of this
> toolchain, which involves a whole gcc compile.
>
> FC8 would seem to be a pretty mainstream distro.  I could play
> distro bingo and go through options, but that doesn't seem to be the
> best way to solve a build problem.

i have a fully-updated F8 system here.  send me your .config file.
and which version of openwrt are you using?  the latest repository?

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