need help compiling patch-2.5.4

bill aspell billaspell at gmail.com
Fri Oct 12 10:05:35 PDT 2007


    *

      The version of the book being used (in this case 6.3)

      The host distribution and version being used to create LFS
            my host system is kubuntu 7.04

 package or section the problem was encountered in
           5.24.1. Installation of Patch

      The exact error message or symptom being received
          see all detail below
      Note whether you have deviated from the book at all
          to best of my knowledge I have not deviated from the book

[Note

lfs at kubuntu:/mnt/lfs/sources$ tar xvzf patch-2.5.4.tar.gz
patch-2.5.4/
patch-2.5.4/m4/
patch-2.5.4/m4/ccstdc.m4
patch-2.5.4/m4/d-ino.m4
patch-2.5.4/m4/inttypes_h.m4
patch-2.5.4/m4/largefile.m4
patch-2.5.4/m4/malloc.m4
patch-2.5.4/m4/protos.m4
patch-2.5.4/m4/realloc.m4
patch-2.5.4/m4/utimbuf.m4
patch-2.5.4/pc/
patch-2.5.4/pc/djgpp/
patch-2.5.4/pc/djgpp/README
patch-2.5.4/pc/djgpp/config.sed
patch-2.5.4/pc/djgpp/configure.bat
patch-2.5.4/pc/djgpp/configure.sed
patch-2.5.4/pc/chdirsaf.c
patch-2.5.4/AUTHORS
patch-2.5.4/COPYING
patch-2.5.4/ChangeLog
patch-2.5.4/INSTALL
patch-2.5.4/Makefile.in
patch-2.5.4/NEWS
patch-2.5.4/README
patch-2.5.4/aclocal.m4
patch-2.5.4/ansi2knr.1
patch-2.5.4/ansi2knr.c
patch-2.5.4/config.guess
patch-2.5.4/config.hin
patch-2.5.4/config.sub
patch-2.5.4/configure
patch-2.5.4/configure.in
patch-2.5.4/install-sh
patch-2.5.4/mkinstalldirs
patch-2.5.4/patch.man
patch-2.5.4/addext.c
patch-2.5.4/argmatch.c
patch-2.5.4/backupfile.c
patch-2.5.4/basename.c
patch-2.5.4/error.c
patch-2.5.4/inp.c
patch-2.5.4/maketime.c
patch-2.5.4/mkdir.c
patch-2.5.4/partime.c
patch-2.5.4/patch.c
patch-2.5.4/pch.c
patch-2.5.4/quotearg.c
patch-2.5.4/quotesys.c
patch-2.5.4/rmdir.c
patch-2.5.4/util.c
patch-2.5.4/version.c
patch-2.5.4/xmalloc.c
patch-2.5.4/getopt.c
patch-2.5.4/getopt1.c
patch-2.5.4/malloc.c
patch-2.5.4/memchr.c
patch-2.5.4/realloc.c
patch-2.5.4/rename.c
patch-2.5.4/argmatch.h
patch-2.5.4/backupfile.h
patch-2.5.4/basename.h
patch-2.5.4/common.h
patch-2.5.4/error.h
patch-2.5.4/getopt.h
patch-2.5.4/inp.h
patch-2.5.4/maketime.h
patch-2.5.4/partime.h
patch-2.5.4/patchlevel.h
patch-2.5.4/pch.h
patch-2.5.4/quotearg.h
patch-2.5.4/quotesys.h
patch-2.5.4/util.h
patch-2.5.4/version.h
patch-2.5.4/xalloc.h
lfs at kubuntu:/mnt/lfs/sources$ cd patch-2.5.4
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$ ./configure --prefix=/tools
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /tools/bin/install -c
checking whether make sets ${MAKE}... yes
checking for ed... /bin/ed
checking build system type... i686-pc-linux-gnu
checking for getconf... getconf
checking for CFLAGS value to request large file support...
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... 1
checking for _LARGE_FILES... no
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working const... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for varargs.h... no
checking for inttypes.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for utime.h... (cached) yes
checking for struct utimbuf... yes
checking for getopt_long... yes
checking for _doprintf... no
checking for isascii... yes
checking for fseeko... yes
checking for memcmp... yes
checking for mktemp... yes
checking for pathconf... yes
checking for raise... yes
checking for setmode... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for strerror... yes
checking for memchr... yes
checking for mkdir... yes
checking for rename... yes
checking for rmdir... yes
checking for working malloc... yes
checking for working realloc... yes
checking whether closedir returns void... no
checking for vprintf... yes
checking for long file names... yes
checking for d_ino member in directory struct... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$ make
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 addext.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 argmatch.c
argmatch.c: In function '__argmatch_die':
argmatch.c:69: warning: incompatible implicit declaration of built-in
function 'exit'
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 backupfile.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 basename.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 error.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 inp.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 maketime.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 partime.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 patch.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 pch.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 quotearg.c
quotearg.c: In function 'quotearg_n_options':
quotearg.c:341: warning: incompatible implicit declaration of built-in
function 'abort'
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 quotesys.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 util.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 version.c
gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -g -O2 xmalloc.c
gcc -o patch -g -O2  addext.o argmatch.o backupfile.o basename.o
error.o inp.o maketime.o partime.o patch.o pch.o quotearg.o quotesys.o
util.o version.o xmalloc.o
patch.o: In function `make_temp':
/mnt/lfs/sources/patch-2.5.4/patch.c:1325: warning: the use of
`mktemp' is dangerous, better use `mkstemp'
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$ make
make: Nothing to be done for `all'.
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$  5.24.1. Installation of Patch
bash: 5.24.1.: command not found
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$
lfs at kubuntu:/mnt/lfs/sources/patch-2.5.4$

thank you for any help



More information about the lfs-support mailing list