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

Jim Redman jredman at ergotech.com
Tue Mar 25 05:03:16 CET 2008


I may have some more insight into this problem.  Here's an excerpt from 
the log:

gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
configure:2156: $? = 0
configure:2158: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2161: $? = 1
configure:2184: checking for C compiler default output file name
configure:2187: gcc -g -O2   conftest.c  >&5
/tmp/openwrt/trunk/staging_dir/toolchain-armeb_gcc4.1.2/bin/armeb-linux-uclibc-as: 
unrecognized option `-Qy'
configure:2190: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
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?

Thanks,

Jim

-- 
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com


More information about the openwrt-users mailing list