ARMLINUX BLOB compile problem
CHENYU,现在正在用LART的BLOB bootloader(2.0.4),想把BLOB移植到公司的STRONGARM 扳子上。用的是linux-2.4.18,pc是RH9。0, 在配置编译blob的时候出错,配置如下: ./configure --prefix=/data/lart/cross-3.0/ --with-board=iwn(自定义的名字,在程序中都已定义移植) --with-linux-prefix=/home/work/armlinux-2.4.18-nopart --build=i386-pc-linux --host=arm-linux --target=arm-elfmake 时出现如下错误:
Making all in tools
make: Entering directory `/home/work/blob-2.0.4_iwn/tools'
make: Nothing to be done for `all'.
make: Leaving directory `/home/work/blob-2.0.4_iwn/tools'
Making all in utils
make: Entering directory `/home/work/blob-2.0.4_iwn/utils'
Making all in build
make: Entering directory `/home/work/blob-2.0.4_iwn/utils/build'
make: Nothing to be done for `all'.
make: Leaving directory `/home/work/blob-2.0.4_iwn/utils/build'
make: Entering directory `/home/work/blob-2.0.4_iwn/utils'
make: Nothing to be done for `all-am'.
make: Leaving directory `/home/work/blob-2.0.4_iwn/utils'
make: Leaving directory `/home/work/blob-2.0.4_iwn/utils'
Making all in include
make: Entering directory `/home/work/blob-2.0.4_iwn/include'
makeall-am
make: Entering directory `/home/work/blob-2.0.4_iwn/include'
make: Leaving directory `/home/work/blob-2.0.4_iwn/include'
make: Leaving directory `/home/work/blob-2.0.4_iwn/include'
Making all in src
make: Entering directory `/home/work/blob-2.0.4_iwn/src'
make: Leaving directory `/home/work/blob-2.0.4_iwn/src'
/bin/sh: line 1: CCASFLAGS@:command not found
make: *** Error127
Make:Leaving directory '/home/work/blob-2.0.4/src
config.log文件内容如下:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.57.Invocation command line was
$ ./configure --prefix=/data/lart/cross-3.0/ --with-board=iwn --with-linux-prefix=/home/work/armlinux-2.4.18-nopart --build=i386-pc-linux --host=arm-linux --target=arm-elf
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
PATH: /data/lart/cross/bin
PATH: /data/lart/cross-3.0/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1286: checking for a BSD-compatible install
configure:1340: result: /usr/bin/install -c
configure:1351: checking whether build environment is sane
configure:1394: result: yes
configure:1419: WARNING: `missing' script is too old or missing
configure:1427: checking for gawk
configure:1443: found /bin/gawk
configure:1453: result: gawk
configure:1463: checking whether make sets $(MAKE)
configure:1483: result: yes
configure:1543: checking for arm-linux-strip
configure:1559: found /data/lart/cross-3.0/bin/arm-linux-strip
configure:1569: result: arm-linux-strip
configure:1637: checking whether to enable maintainer-specific portions of Makefiles
configure:1646: result: no
configure:1671: checking build system type
configure:1689: result: i386-pc-linux-gnu
configure:1697: checking host system type
configure:1711: result: arm-unknown-linux-gnu
configure:1731: checking for arm-linux-gcc
configure:1757: result: arm-linux-gcc
configure:2039: checking for C compiler version
configure:2042: arm-linux-gcc --version </dev/null >&5
3.0
configure:2045: $? = 0
configure:2047: arm-linux-gcc -v </dev/null >&5
Reading specs from /data/lart/cross-3.0/lib/gcc-lib/arm-linux/3.0/specs
Configured with: ../../src/gcc/gcc/configure --target=arm-linux --prefix=/data/lart/cross-3.0 --enable-languages=c,c++ --with-headers=/home/erik/LART/build/linux/elinux/include --enable-threads
gcc version 3.0 20010409 (prerelease)
configure:2050: $? = 0
configure:2052: arm-linux-gcc -V </dev/null >&5
arm-linux-gcc: argument to `-V' is missing
configure:2055: $? = 1
configure:2079: checking for C compiler default output
configure:2082: arm-linux-gcc-I/data/lart/cross-3.0/include -s conftest.c>&5
configure:2085: $? = 0
configure:2131: result: a.out
configure:2136: checking whether the C compiler works
configure:2162: result: yes
configure:2169: checking whether we are cross compiling
configure:2171: result: yes
configure:2174: checking for suffix of executables
configure:2176: arm-linux-gcc -o conftest-I/data/lart/cross-3.0/include -s conftest.c>&5
configure:2179: $? = 0
configure:2204: result:
configure:2210: checking for suffix of object files
configure:2232: arm-linux-gcc -c-I/data/lart/cross-3.0/include conftest.c >&5
configure:2235: $? = 0
configure:2257: result: o
configure:2261: checking whether we are using the GNU C compiler
configure:2286: arm-linux-gcc -c-I/data/lart/cross-3.0/include conftest.c >&5
configure:2289: $? = 0
configure:2292: test -s conftest.o
configure:2295: $? = 0
configure:2308: result: yes
configure:2314: checking whether arm-linux-gcc accepts -g
configure:2336: arm-linux-gcc -c -g -I/data/lart/cross-3.0/include conftest.c >&5
configure:2339: $? = 0
configure:2342: test -s conftest.o
configure:2345: $? = 0
configure:2356: result: yes
configure:2373: checking for arm-linux-gcc option to accept ANSI C
configure:2434: arm-linux-gcc-c -g -O2 -I/data/lart/cross-3.0/include conftest.c >&5
configure:2437: $? = 0
configure:2440: test -s conftest.o
configure:2443: $? = 0
configure:2461: result: none needed
configure:2479: arm-linux-gcc -c -g -O2 -I/data/lart/cross-3.0/include conftest.c >&5
conftest.c:2: parse error before "me"
configure:2482: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2610: checking for style of include used by make
configure:2638: result: GNU
configure:2666: checking dependency style of arm-linux-gcc
configure:2728: result: gcc3
configure:2743: checking for arm-linux-objcopy
configure:2769: result: /data/lart/cross-3.0/bin/arm-linux-objcopy
configure:2792: checking for a BSD-compatible install
configure:2846: result: /usr/bin/install -c
configure:2857: checking whether ln -s works
configure:2861: result: yes
configure:2887: checking target board
configure:2952: result: IWN
configure:3104: checking for inline
configure:3126: arm-linux-gcc -c -g -O2 -I/home/work/armlinux-2.4.18-nopart/include -I/data/lart/cross-3.0/include conftest.c >&5
configure:3129: $? = 0
configure:3132: test -s conftest.o
configure:3135: $? = 0
configure:3147: result: inline
configure:3169: checking for C flags to get more warnings
configure:3287: result: -Wall
configure:3411: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.57.Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS=
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on localhost.localdomain
config.status:665: creating Makefile
config.status:665: creating include/Makefile
config.status:665: creating src/Makefile
config.status:665: creating tools/Makefile
config.status:665: creating utils/Makefile
config.status:665: creating utils/build/Makefile
config.status:769: creating include/config.h
config.status:862: include/config.h is unchanged
config.status:968: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-pc-linux-gnu
ac_cv_build_alias=i386-pc-linux
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/data/lart/cross-3.0/include
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-s
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-elf
ac_cv_exeext=
ac_cv_host=arm-unknown-linux-gnu
ac_cv_host_alias=arm-linux
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-gcc
ac_cv_prog_OBJCOPY=/data/lart/cross-3.0/bin/arm-linux-objcopy
ac_cv_prog_STRIP=arm-linux-strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='aclocal-1.6'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='tar'
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.6'
AWK='gawk'
CC='arm-linux-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -I/home/work/armlinux-2.4.18-nopart/include -Wall -march=armv4 -mtune=strongarm1100 -fomit-frame-pointer -mapcs-32 -nostdinc'
CPPFLAGS='-I/data/lart/cross-3.0/include'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-s -static -nostdlib'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
OBJCOPY='/data/lart/cross-3.0/bin/arm-linux-objcopy'
OBJEXT='o'
OCFLAGS='-O binary -R .note -R .comment -S'
PACKAGE='blob'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='arm-linux-strip'
VERSION='2.0.4'
ac_ct_CC=''
ac_ct_STRIP=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build='i386-pc-linux-gnu'
build_alias='i386-pc-linux'
build_cpu='i386'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='arm-unknown-linux-gnu'
host_alias='arm-linux'
host_cpu='arm'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/work/blob-2.0.4_iwn/tools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/data/lart/cross-3.0/'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='arm-elf'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define IWN 1
#define PACKAGE "blob"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define USE_SA1110 1
#define USE_SDRAM 1
#define USE_SERIAL1 1
#define VERSION "2.0.4"
configure: exit 0 啊!高手。可以请教一下。BLOB怎么编译的吗?因为,BLOB用的是ARM-LINUX-GCC的编译器。还有要和UCLINUX一起编译。而我有不知道,UCLINUX放在那。可以的话,能告诉我。你怎么弄的吗?谢谢! 166.111.68.183上有blob for xscale的,我还没有用过。sorry,我这里没有strongarm的开发板,没有试过。 那这个东东怎么编译的啊?是不是一定要ARM-LINUX-GCC才行啊!我现在想把它做为UCLINUX的BOOT。因为网上有TPU的关于44B0的BLOB。但是我不能编译。编译不过去!请版主看看行吗?谢谢拉! 我在RD9.0(LINUX-2.4.20KERNEL)上,用ARM-LINUX-GCC,(http://www.lart.tudelft.nl/lartware/blob/可下载)也通不过,但是在RD7.2(LINUX-2.4.188),用同一编译器是可以编译的!
我用的是ARM-LINUX 内核,可能和你想要编译的UCLINUX在编译环境和编译器,还有基于44B0的BLOB都是有差异的!
我想你可以先试试换个内核环境再编一下!我想能借鉴的就这么多了! 我想请教大侠,那CYGWIN中是否能装ARM-LIINUX-GCC 可以,但不如linux下的好用。
因为 cygwin对unix环境的仿真还不是很完善,会有一些奇怪的错误。 但是,老大。我找不到可以在CYGWIN中装的ARM-LINUX-GCC。下到的不是.rpm就是.tgz的CYGWIN中根本就不能装。请教,那里有cygwin中可以装的arm-liunx-gcc.还有是不是BLOB要在特定的目录下才能编译啊!请教,在哪个目录下?谢谢!
页:
[1]