Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.