Ok i have gcc 2.95 and get the following results:
Trying to build the open2x kernel using the 2.95 script. I didnt make any changes in the config menu that comes up.
CODE
In file included from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/wait.h:13,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/fs.h:12,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/capability.h:17,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/binfmts.h:5,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/sched.h:9,
from getconstants.c:11:
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:10: stdarg.h: No such file or directory
In file included from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/wait.h:13,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/fs.h:12,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/capability.h:17,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/binfmts.h:5,
from /opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/sched.h:9,
from getconstants.c:11:
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:74: parse error before `va_list'
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:74: warning: function declaration isn't a prototype
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:77: parse error before `va_list'
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:77: warning: function declaration isn't a prototype
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:81: parse error before `va_list'
/opt/projects/linux-open2x-2.4.26_FW2-3/include/linux/kernel.h:81: warning: function declaration isn't a prototype
make[2]: *** [constants.h] Error 1
make[2]: Leaving directory `/opt/projects/linux-open2x-2.4.26_FW2-3/arch/arm/tools'
make[1]: *** [dep] Error 2
make[1]: Leaving directory `/opt/projects/linux-open2x-2.4.26_FW2-3/arch/arm/tools'
make: *** [archdep] Error 2
And trying to configure FUSE:
CODE
configure:2102: checking for arm-linux-gcc
configure:2118: found /opt/open2x/gcc-2.95/bin//arm-linux-gcc
configure:2128: result: arm-linux-gcc
configure:2410: checking for C compiler version
configure:2413: arm-linux-gcc --version </dev/null >&5
2.95.3
configure:2416: $? = 0
configure:2418: arm-linux-gcc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release)
configure:2421: $? = 0
configure:2423: arm-linux-gcc -V </dev/null >&5
arm-linux-gcc: argument to `-V' is missing
configure:2426: $? = 1
configure:2449: checking for C compiler default output file name
configure:2452: arm-linux-gcc -I/opt/open2x/gcc-2.95/include -s -static -L/opt/open2x/gcc-2.95/lib conftest.c >&5
/tmp/ccqCvzH1.s: Assembler messages:
/tmp/ccqCvzH1.s:1: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccqCvzH1.s:9: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccqCvzH1.s:10: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccqCvzH1.s:11: Error: too many memory references for `mov'
/tmp/ccqCvzH1.s:12: Error: no such instruction: `stmfd sp!,{fp,ip,lr,pc}'
/tmp/ccqCvzH1.s:13: Error: too many memory references for `sub'
/tmp/ccqCvzH1.s:14: Error: expecting operand after ','; got nothing
/tmp/ccqCvzH1.s:15: Error: no such instruction: `b .L2'
/tmp/ccqCvzH1.s:17: Error: no such instruction: `ldmea fp,{fp,sp,pc}'
configure:2455: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "fuse"
| #define PACKAGE_TARNAME "fuse"
| #define PACKAGE_VERSION "2.5.3"
| #define PACKAGE_STRING "fuse 2.5.3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "fuse"
| #define VERSION "2.5.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2494: error: C compiler cannot create executables
See `config.log' for more details.