torojose
 
 
  Joined: 26 Jul 2010 Posts: 12
 
  | 
		
			
				 Posted: Thu Jul 29, 2010 10:54 am    Post subject: binutils-2.14-turbo-1.0.2 compilation error | 
				     | 
			 
			
				
  | 
			 
			
				Hello all,
 
 
I am trying to install the binutils package in my debian system, executing "make" I have got this message:
 
 
 	  | Code: | 	 		  
 
Configuring in gas
 
loading cache .././config.cache
 
checking for Cygwin environment... (cached) no
 
checking for mingw32 environment... (cached) no
 
checking host system type... i686-pc-linux-gnu
 
checking target system type... i686-pc-linux-gnu
 
checking build system type... i686-pc-linux-gnu
 
checking for gcc... (cached) gcc
 
checking whether the C compiler (gcc -g -O2 ) works... yes
 
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
 
checking whether we are using GNU C... (cached) yes
 
checking whether gcc accepts -g... (cached) yes
 
checking for POSIXized ISC... no
 
checking for a BSD compatible install... (cached) /usr/bin/install -c
 
checking whether build environment is sane... yes
 
checking whether make sets ${MAKE}... (cached) yes
 
checking for working aclocal... missing
 
checking for working autoconf... missing
 
checking for working automake... missing
 
checking for working autoheader... missing
 
checking for working makeinfo... found
 
checking for ld used by GCC... (cached) ld
 
checking if the linker (ld) is GNU ld... (cached) yes
 
checking for ld option to reload object files... (cached) -r
 
checking for BSD-compatible nm... (cached) nm
 
checking whether ln -s works... (cached) yes
 
checking how to recognise dependant libraries... (cached) pass_all
 
checking for object suffix... (cached) o
 
checking for executable suffix... (cached) no
 
checking for ranlib... (cached) ranlib
 
checking for strip... (cached) strip
 
loading cache .././config.cache within ltconfig
 
checking whether -lc should be explicitly linked in... (cached) yes
 
checking for objdir... .libs
 
checking for gcc option to produce PIC...  -fPIC -DPIC
 
checking if gcc PIC flag  -fPIC -DPIC works... (cached) yes
 
checking if gcc static flag -static works... (cached) yes
 
finding the maximum length of command line arguments... (cached) 49153
 
checking if gcc supports -c -o file.o... (cached) yes
 
checking if gcc supports -fno-rtti -fno-exceptions ... no
 
checking whether the linker (ld) supports shared libraries... yes
 
checking how to hardcode library paths into programs... immediate
 
checking whether stripping libraries is possible... yes
 
checking dynamic linker characteristics... GNU/Linux ld.so
 
checking command to parse nm output... ok
 
checking if libtool supports shared libraries... yes
 
checking whether to build shared libraries... yes
 
checking whether to build static libraries... yes
 
creating libtool
 
loading cache .././config.cache
 
checking for gcc... (cached) gcc
 
checking whether the C compiler (gcc -g -O2 ) works... yes
 
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
 
checking whether we are using GNU C... (cached) yes
 
checking whether gcc accepts -g... (cached) yes
 
checking for bison... no
 
checking for byacc... no
 
checking how to run the C preprocessor... (cached) gcc -E
 
checking for flex... (cached) /home/jose/bladox/binutils-2.14-turbo-1.0.2/missing flex
 
checking for flex... (cached) /home/jose/bladox/binutils-2.14-turbo-1.0.2/missing flex
 
checking for yywrap in -ll... (cached) no
 
checking lex output file root... (cached) lex.yy
 
checking whether yytext is a pointer... (cached) no
 
checking for ranlib... (cached) ranlib
 
checking for ANSI C header files... (cached) yes
 
checking for working const... (cached) yes
 
checking for inline... (cached) inline
 
checking for off_t... (cached) yes
 
checking for size_t... (cached) yes
 
checking for working alloca.h... (cached) yes
 
checking for alloca... (cached) yes
 
checking for stdlib.h... (cached) yes
 
checking for unistd.h... (cached) yes
 
checking for sys/stat.h... (cached) yes
 
checking for sys/types.h... yes
 
checking for getpagesize... (cached) yes
 
checking for working mmap... (cached) yes
 
checking for argz.h... (cached) yes
 
checking for limits.h... (cached) yes
 
checking for locale.h... (cached) yes
 
checking for nl_types.h... (cached) yes
 
checking for malloc.h... (cached) yes
 
checking for string.h... (cached) yes
 
checking for unistd.h... (cached) yes
 
checking for values.h... (cached) yes
 
checking for sys/param.h... (cached) yes
 
checking for getcwd... (cached) yes
 
checking for munmap... (cached) yes
 
checking for putenv... (cached) yes
 
checking for setenv... (cached) yes
 
checking for setlocale... (cached) yes
 
checking for strchr... (cached) yes
 
checking for strcasecmp... (cached) yes
 
checking for __argz_count... (cached) yes
 
checking for __argz_stringify... (cached) yes
 
checking for __argz_next... (cached) yes
 
checking for LC_MESSAGES... (cached) yes
 
checking whether NLS is requested... yes
 
checking whether included gettext is requested... no
 
checking for libintl.h... (cached) yes
 
checking for gettext in libc... (cached) yes
 
checking for msgfmt... (cached) no
 
checking for msgfmt... (cached) no
 
checking for gmsgfmt... (cached) no
 
checking for xgettext... (cached) :
 
checking for catalogs to be installed...  fr tr es
 
checking whether to enable maintainer-specific portions of Makefiles... no
 
checking for executable suffix... (cached) no
 
checking for string.h... (cached) yes
 
checking for stdlib.h... (cached) yes
 
checking for memory.h... yes
 
checking for strings.h... (cached) yes
 
checking for unistd.h... (cached) yes
 
checking for stdarg.h... yes
 
checking for varargs.h... no
 
checking for errno.h... yes
 
checking for sys/types.h... (cached) yes
 
checking whether compiling a cross-assembler... no
 
checking for working alloca.h... (cached) yes
 
checking for alloca... (cached) yes
 
checking for inline... (cached) inline
 
checking for unlink... yes
 
checking for sbrk... (cached) yes
 
checking for working assert macro... yes
 
checking whether declaration is required for strstr... no
 
checking whether declaration is required for malloc... no
 
checking whether declaration is required for free... no
 
checking whether declaration is required for sbrk... no
 
checking whether declaration is required for environ... yes
 
checking whether declaration is required for errno... no
 
updating cache .././config.cache
 
creating ./config.status
 
creating Makefile
 
creating doc/Makefile
 
creating .gdbinit
 
creating po/Makefile.in
 
creating config.h
 
make[1]: Entering directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
make  all-recursive
 
make[2]: Entering directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
Making all in doc
 
make[3]: Entering directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas/doc'
 
rm -f asconfig.texi
 
ln -s ./all.texi ./asconfig.texi >/dev/null 2>&1 \
 
     || ln ./all.texi ./asconfig.texi >/dev/null 2>&1 \
 
     || cp ./all.texi ./asconfig.texi
 
rm -f gasver.texi
 
echo '@set VERSION 2.14' > gasver.texi
 
touch as.1
 
perl ../../etc/texi2pod.pl -Dman < ./as.texinfo > as.pod
 
Option GCC not defined
 
Option LD not defined
 
(pod2man --center="GNU Development Tools" --release="binutils-2.14" --section=1 as.pod | \
 
           sed -e '/^.if n .na/d' > as.1.T$$ && \
 
           mv -f as.1.T$$ as.1) || \
 
           (rm -f as.1.T$$ && exit 1)
 
rm -f as.pod
 
make[3]: Leaving directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas/doc'
 
Making all in po
 
make[3]: Entering directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas/po'
 
make[3]: Nothing to be done for `all'.
 
make[3]: Leaving directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas/po'
 
make[3]: Entering directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../bfd -I./../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c app.c
 
In file included from ./targ-cpu.h:1,
 
                 from ./config/obj-elf.h:42,
 
                 from ./obj-format.h:1,
 
                 from ./config/te-linux.h:4,
 
                 from targ-env.h:1,
 
                 from as.h:616,
 
                 from app.c:30:
 
./config/tc-i386.h:516: error: array type has incomplete element type
 
make[3]: *** [app.o] Error 1
 
make[3]: Leaving directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
make[2]: *** [all-recursive] Error 1
 
make[2]: Leaving directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
make[1]: *** [all-recursive-am] Error 2
 
make[1]: Leaving directory `/home/jose/bladox/binutils-2.14-turbo-1.0.2/gas'
 
make: *** [all-gas] Error 2
 
 
 | 	  
 
 
Can any help me with this issue?
 
 
Best regards,
 
 
Jose | 
			 
		  |