Install i386-elf-binutils error

Liu Lei orphen.leiliu at gmail.com
Mon Sep 7 19:07:22 PDT 2009


Hi, all:

An error in build i386-elf-binutils.
macport version: 1.8.0 on OS X 10.6.

The error is:
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/strings.c:100:8:  
error: macro names must be identifiers

The full messages below.
---------------------------------------------------
ShadowStar  ~ $ uname -a
Darwin localhost 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31  
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
ShadowStar  ~ $ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable- 
checking --enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx- 
include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- -- 
host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646)
ShadowStar  ~ $ sudo port install i386-elf-gcc
Password:
--->  Computing dependencies for i386-elf-gcc
--->  Fetching i386-elf-binutils
--->  Verifying checksum(s) for i386-elf-binutils
--->  Extracting i386-elf-binutils
--->  Applying patches to i386-elf-binutils
--->  Configuring i386-elf-binutils
--->  Building i386-elf-binutils
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: cc -no-cpp-precomp -I/opt/local/include - 
DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/remap.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/sb.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/stabs.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/subsegs.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/symbols.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/ieee.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/write.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config/tc-i386.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/rdcoff.c
/bin/sh /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../ylwrap /opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/arparse.y y.tab.c  
arparse.c y.tab.h arparse.h y.output arparse.output -- bison -y -d
updating arparse.h
/bin/sh /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../ylwrap /opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/arlex.l lex.yy.c  
arlex.c -- flex
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/ar.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/not-ranlib.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/arsup.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/rename.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/binemul.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/emul_vanilla.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I. -I. -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils -I../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../bfd -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include - 
DLOCALEDIR="\"/opt/local/share/locale\"" - 
Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W - 
Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64  
-c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/strings.c
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/binutils/strings.c:100:8:  
error: macro names must be identifiers
make[4]: *** [strings.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config/obj-elf.c
cc -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -I. -I/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I. -I. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas -I../bfd -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/ 
local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing- 
prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386 
-elf-binutils/work/binutils-2.18.50.0.9/gas/config/atof-ieee.c
/bin/sh ./libtool --tag=CC --mode=link cc -no-cpp-precomp -I/opt/local/ 
include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 - 
arch x86_64  -L/opt/local/lib -o as-new  app.o as.o atof-generic.o  
cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum- 
copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input- 
scrub.o listing.o literal.o macro.o messages.o output-file.o read.o  
remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o obj-elf.o  
atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/ 
libiberty.a -lintl -liconv -lc
libtool: link: cc -no-cpp-precomp -I/opt/local/include -W -Wall - 
Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -o as- 
new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o  
ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o  
frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o  
messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o  
symbols.o write.o tc-i386.o obj-elf.o atof-ieee.o  -L/opt/local/lib ../ 
opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -lz ../libiberty/ 
libiberty.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  
-lc
make: *** [all] Error 2

Error: The following dependencies failed to build: i386-elf-binutils
Error: Status 1 encountered during processing.
ShadowStar  ~ $
----------------------------------------------------------------------

Anyone help?
────────────────────────────
					      Liu Lei
		<orphen.leiliu at gmail.com>






More information about the macports-users mailing list