LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-18-2005, 12:32 PM   #1
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
Ch.6 Binutils failed--Using kernel 2.6.10


It looks like everything up to binutils in Ch 6 installed and in their proper places. For some reason binutils isn't installing. It's probably no coincidence that this is right after the step to update the linker. Please forgive the long post but here are the configure and make steps:

configure
Code:
root:/sources/binutils-build# ../binutils-2.15.91.0.2/configure --prefix=/usr     --enable-shared
creating cache ./config.cache
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 a BSD compatible install... /tools/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... /tools/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
For the sake of length, I'll post the make results in the next post.

Last edited by trigggl; 02-18-2005 at 04:55 PM.
 
Old 02-18-2005, 12:38 PM   #2
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
The make results

Code:
root:/sources/binutils-build# make tooldir=/usr
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /tools/bin/install -c
Appending ../../binutils-2.15.91.0.2/libiberty/../config/mh-x86pic to xhost-mkfrag
checking for sys/file.h... yes
checking for sys/param.h... no
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... yes
checking for dlfcn.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for a 64-bit type... uint64_t
checking whether weak symbol works... yes
checking for library containing dlopen... -ldl
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes                                               <------mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
Configuring in bfd
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... 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 strerror in -lcposix... no
checking for a BSD compatible install... /tools/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing                                      <------aclocal-1.4... missing
checking for working autoconf... missing                                          <------autoconf... missing
checking for working automake-1.4... missing                                   <------automake-1.4... missing
checking for working autoheader... missing                                       <------autoheader... missing
checking for working makeinfo... found
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /tools/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld
checking if the linker (/tools/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /tools/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... (cached) ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 49153
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/tools/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/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
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... yes
checking for executable suffix... (cached) no
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 how to run the C preprocessor... gcc -E
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for getpagesize... yes
checking for working mmap... no                                                        <---------mmap... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for values.h... yes
checking for sys/param.h... no
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... no
checking for msgfmt... (cached) no
checking for gmsgfmt... no
checking for xgettext... :
checking for catalogs to be installed...  fr tr ja es sv da zh_CN ro
checking for a BSD compatible install... /tools/bin/install -c
checking for long long... yes
checking size of long long... 8
checking size of long... 4
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fcntl... yes
checking for getpagesize... (cached) yes
checking for setitimer... yes
checking for sysconf... yes
checking for fdopen... yes
checking for getuid... yes
checking for getgid... yes
checking for strtoull... yes
checking whether strstr must be declared... no
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether free must be declared... no
checking whether getenv must be declared... no
checking for sys/procfs.h... yes
checking for prstatus_t in sys/procfs.h... yes
checking for prstatus32_t in sys/procfs.h... no
checking for prstatus_t.pr_who in sys/procfs.h... no
checking for prstatus32_t.pr_who in sys/procfs.h... no
checking for pstatus_t in sys/procfs.h... no
checking for pxstatus_t in sys/procfs.h... no
checking for pstatus32_t in sys/procfs.h... no
checking for prpsinfo_t in sys/procfs.h... yes
checking for prpsinfo32_t in sys/procfs.h... no
checking for psinfo_t in sys/procfs.h... no
checking for psinfo32_t in sys/procfs.h... no
checking for lwpstatus_t in sys/procfs.h... no
checking for lwpxstatus_t in sys/procfs.h... no
checking for lwpstatus_t.pr_context in sys/procfs.h... no
checking for lwpstatus_t.pr_reg in sys/procfs.h... no
checking for win32_pstatus_t in sys/procfs.h... no
checking for ftello... yes
checking for ftello64... yes
checking for fseeko... yes
checking for fseeko64... yes
checking size of off_t... 4
checking file_ptr type... BFD_HOST_64_BIT
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for madvise... yes
checking for mprotect... yes
updating cache ./config.cache
creating ./config.status
creating ../binutils.spec
creating Makefile
creating doc/Makefile
creating bfd-in3.h
creating po/Makefile.in
creating config.h
make[1]: Entering directory `/sources/binutils-build/libiberty'
if [ x"-fpic" != x ] && [ ! -d pic ]; then \
 mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/regex.c -o pic/regex.o; \
else true; fi
In file included from ../../binutils-2.15.91.0.2/libiberty/../include/xregex.h:26,
                from ../../binutils-2.15.91.0.2/libiberty/regex.c:197:
../../binutils-2.15.91.0.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../binutils-2.15.91.0.2/libiberty/regex.c:651:
../../binutils-2.15.91.0.2/libiberty/regex.c: In function `byte_compile_range':
../../binutils-2.15.91.0.2/libiberty/regex.c:4550: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/regex.c -o regex.o
In file included from ../../binutils-2.15.91.0.2/libiberty/../include/xregex.h:26,
                from ../../binutils-2.15.91.0.2/libiberty/regex.c:197:
../../binutils-2.15.91.0.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../binutils-2.15.91.0.2/libiberty/regex.c:651:
../../binutils-2.15.91.0.2/libiberty/regex.c: In function `byte_compile_range':
../../binutils-2.15.91.0.2/libiberty/regex.c:4550: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:55:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:56:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:57:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c: In function `cplus_demangle_set_style':
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:881: warning: comparison of unsigned expression >= 0 is always true
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c: In function `init_demangler':
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:1224: warning: ISO C forbids conversion of object pointer to function pointer type
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/cplus-dem.c -o cplus-dem.o
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:55:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:56:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:57:2: warning: suggest hiding #pragma from traditional C with an indented #
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c: In function `cplus_demangle_set_style':
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:881: warning: comparison of unsigned expression >= 0 is always true
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c: In function `init_demangler':
../../binutils-2.15.91.0.2/libiberty/cplus-dem.c:1224: warning: ISO C forbids conversion of object pointer to function pointer type
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/cp-demangle.c -o cp-demangle.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/md5.c -o pic/md5.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/md5.c -o md5.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/alloca.c -o pic/alloca.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/alloca.c -o alloca.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/argv.c -o argv.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/choose-temp.c -o choose-temp.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/concat.c -o pic/concat.o; \
else true; fi
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_length':
../../binutils-2.15.91.0.2/libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_copy':
../../binutils-2.15.91.0.2/libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_copy2':
../../binutils-2.15.91.0.2/libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat':
../../binutils-2.15.91.0.2/libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `reconcat':
../../binutils-2.15.91.0.2/libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/concat.c -o concat.o
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_length':
../../binutils-2.15.91.0.2/libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_copy':
../../binutils-2.15.91.0.2/libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat_copy2':
../../binutils-2.15.91.0.2/libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `concat':
../../binutils-2.15.91.0.2/libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../binutils-2.15.91.0.2/libiberty/concat.c: In function `reconcat':
../../binutils-2.15.91.0.2/libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/cp-demint.c -o pic/cp-demint.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/cp-demint.c -o cp-demint.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/dyn-string.c -opic/dyn-string.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/dyn-string.c -o dyn-string.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/fdmatch.c -o fdmatch.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/fibheap.c -o fibheap.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.15.91.0.2/libiberty/floatformat.c -o floatformat.o
if [ x"-fpic" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../binutils-2.15.91.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/fnmatch.c -o pic/fnmatch.o; \
else true; fi
In file included from /tools/include/bits/errno.h:25,
                from /tools/include/errno.h:36,
                from ../../binutils-2.15.91.0.2/libiberty/fnmatch.c:46:
/tools/include/linux/errno.h:134:23: asm/errno.h: No such file or directory
make[1]: *** [fnmatch.o] Error 1
make[1]: Leaving directory `/sources/binutils-build/libiberty'
make: *** [all-libiberty] Error 2
I placed arrows next to a few things I found interesting. Some programs that should be in /tools were listed as missing.

mmap is there, then it's not

Did I mess up in Ch 5 and need to start over or can I fix something like linkage and continue?

Last edited by trigggl; 02-18-2005 at 05:00 PM.
 
Old 02-18-2005, 04:45 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
since asm/errno.h is missing check and make sure you copied the kernel headers over correctly
 
Old 02-24-2005, 03:59 AM   #4
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Also what version of binutils do you have on your host ?
 
Old 02-24-2005, 05:58 AM   #5
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
Nevermind

Nevermind, I started over with a larger hard drive and now I can't even get out of Chapter 5. In 5.7,
Code:
make include/linux/version.h
fails.

Well, to answer the question,
Quote:
Listing all available Packages...
binutils-2.15.92.0.2-i486-2 (3067 kB) [Status: INSTALLED]

Last edited by trigggl; 02-24-2005 at 06:00 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install after or before gcc,binutils,make,module-init when migrating kernel 2.6 eatmars Linux - Software 1 10-02-2005 12:52 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
2.6.x test kernel failed DAChristen29 Slackware 5 12-09-2004 03:52 PM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 04:07 AM
upgrade the kernel failed lzyking Linux - Software 2 02-14-2003 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration