bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make error


From: zhaomingyang
Subject: make error
Date: Tue, 25 May 2010 14:50:11 -0400

2.1 and 2.2 have same error, I don't why. give me a hand, thank you.


# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) 
-std=gnu99
checking for a usable (O_DIRECT-supporting) temporary dir... .
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for working alloca.h... yes
checking for alloca... yes
checking for btowc... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for __fpending... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for pathconf... yes
checking for isblank... yes
checking for iswctype... yes
checking for wcscoll... yes
checking for strndup... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for setenv... yes
checking for symlink... yes
checking for wctob... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking for size_t... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for sys/param.h... yes
checking for errno.h... yes
checking for stdio_ext.h... yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for stdint.h... (cached) yes
checking for wchar.h... yes
checking for inttypes.h... (cached) yes
checking for sys/mman.h... yes
checking for locale.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking for priv.h... no
checking for blkid/blkid.h... no
checking whether system is Windows or MSDOS... no
checking whether the preprocessor supports include_next... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for inline... inline
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether stdint.h conforms to C99... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether imaxabs is declared... yes
checking whether imaxdiv is declared... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking for working fcntl.h... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... none
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking for memchr... yes
checking whether memchr works... yes
checking for ssize_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking for wint_t... yes
checking if environ is properly declared... yes
checking whether setenv validates arguments... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking for alloca as a compiler built-in... yes
checking whether to enable assertions... yes
checking whether btowc(EOF) is correct... guessing yes
checking for GNU libc compatible calloc... yes
checking whether // is distinct from /... (cached) no
checking for error_at_line... yes
checking whether __fpending is declared... yes
checking for gettimeofday with POSIX signature... yes
checking whether gettimeofday clobbers localtime buffer... no
checking whether the compiler generally respects inline... yes
checking whether inttypes.h conforms to C99... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking for flag to ignore unused libraries... -Wl,--as-needed
checking whether lseek detects pipes... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking for working mkstemp... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working re_compile_pattern... yes
checking for rpmatch... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... (cached) yes
checking for random.h... no
checking for struct random_data... yes
checking for strdup... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for nlink_t... yes
checking whether unlink honors trailing slashes... yes
checking whether <wchar.h> is standalone... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for a french Unicode locale... (cached) none
checking for getppriv... no
checking for putenv compatible with GNU and SVID... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking whether symlink handles trailing slash correctly... no
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv works on duplicates... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking whether wctob works... guessing yes
checking whether wctob is declared... yes
checking size of off_t... 8
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for dlopen in -ldl... yes
checking for uuid_generate in -luuid... yes
checking for dm_task_create in -ldevmapper... yes
checking for library containing tgetent... -lncurses
checking for readline in -lreadline... yes
checking for rl_variable_value in -lreadline... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for getopt.h... (cached) yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking for wctype.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace in -lc... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... yes
checking for ld used by gcc -std=gnu99... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking whether byte ordering is bigendian... no
checking for inline... (cached) inline
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... (cached) __restrict
checking for sigaction... yes
checking for getuid... yes
checking for rl_completion_matches... yes
checking for canonicalize_file_name... (cached) yes
checking for library containing blkid_probe_get_topology... no
checking for blkid_probe_get_topology... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating include/Makefile
config.status: creating include/parted/Makefile
config.status: creating libparted/Makefile
config.status: creating libparted/labels/Makefile
config.status: creating libparted/fs/Makefile
config.status: creating libparted/fs/amiga/Makefile
config.status: creating libparted/fs/ext2/Makefile
config.status: creating libparted/fs/fat/Makefile
config.status: creating libparted/fs/hfs/Makefile
config.status: creating libparted/fs/jfs/Makefile
config.status: creating libparted/fs/linux_swap/Makefile
config.status: creating libparted/fs/ntfs/Makefile
config.status: creating libparted/fs/reiserfs/Makefile
config.status: creating libparted/fs/ufs/Makefile
config.status: creating libparted/fs/xfs/Makefile
config.status: creating libparted/tests/Makefile
config.status: creating libparted.pc
config.status: creating parted/Makefile
config.status: creating partprobe/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/pt_BR/Makefile
config.status: creating debug/Makefile
config.status: creating debug/clearfat/Makefile
config.status: creating debug/test/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Type 'make' to compile parted.


1# make
make  all-recursive
make[1]: Entering directory `/home/zhaomy/parted-2.1'
Making all in po
make[2]: Entering directory `/home/zhaomy/parted-2.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zhaomy/parted-2.1/po'
Making all in lib
make[2]: Entering directory `/home/zhaomy/parted-2.1/lib'
  GEN      alloca.h
  GEN      arg-nonnull.h
  GEN      configmake.h
  GEN      link-warning.h
  GEN      inttypes.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      time.h
  GEN      unistd.h
make  all-recursive
make[3]: Entering directory `/home/zhaomy/parted-2.1/lib'
make[4]: Entering directory `/home/zhaomy/parted-2.1/lib'
  CC       close-hook.lo
  CC       localcharset.lo
  CC       malloca.lo
  CC       progname.lo
  CC       version-etc.lo
  CC       version-etc-fsf.lo
  CC       xalloc-die.lo
  CC       xstrndup.lo
  CC       argmatch.lo
  CC       basename.lo
  CC       basename-lgpl.lo
  CC       close-stream.lo
  CC       closeout.lo
  CC       dirname.lo
  CC       dirname-lgpl.lo
  CC       exitfail.lo
  CC       long-options.lo
  CC       quote.lo
  CC       quotearg.lo
  CC       safe-read.lo
  CC       stripslash.lo
  CC       tempname.lo
  CC       xmalloc.lo
  CC       xstrtol.lo
  CC       xstrtol-error.lo
  CC       xstrtoul.lo
  CCLD     libgnulib.la
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
make[4]: Leaving directory `/home/zhaomy/parted-2.1/lib'
make[3]: Leaving directory `/home/zhaomy/parted-2.1/lib'
make[2]: Leaving directory `/home/zhaomy/parted-2.1/lib'
Making all in libparted
make[2]: Entering directory `/home/zhaomy/parted-2.1/libparted'
Makefile:1035: warning: overriding commands for target `linux.lo'
Makefile:1027: warning: ignoring old commands for target `linux.lo'
Making all in labels
make[3]: Entering directory `/home/zhaomy/parted-2.1/libparted/labels'
make  all-am
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/labels'
  CC       aix.lo
  CC       bsd.lo
  CC       dos.lo
  CC       dvh.lo
  CC       efi_crc32.lo
  CC       gpt.lo
  CC       loop.lo
  CC       mac.lo
  CC       pc98.lo
  CC       pt-tools.lo
  CC       rdb.lo
  CC       sun.lo
  CCLD     liblabels.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/labels'
make[3]: Leaving directory `/home/zhaomy/parted-2.1/libparted/labels'
Making all in fs
make[3]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs'
Making all in amiga
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/amiga'
  CC       amiga.lo
  CC       affs.lo
  CC       asfs.lo
  CC       apfs.lo
  CC       interface.lo
  CCLD     libamigafs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/amiga'
Making all in ext2
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/ext2'
  CC       ext2.lo
  CC       ext2_block_relocator.lo
  CC       ext2_buffer.lo
  CC       ext2_inode_relocator.lo
  CC       ext2_meta.lo
  CC       ext2_mkfs.lo
  CC       ext2_resize.lo
  CC       interface.lo
  CC       parted_io.lo
  CC       tune.lo
  CCLD     libext2.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/ext2'
Making all in ufs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/ufs'
  CC       ufs.lo
  CCLD     libufs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/ufs'
Making all in fat
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/fat'
  CC       bootsector.lo
  CC       calc.lo
  CC       clstdup.lo
  CC       context.lo
  CC       count.lo
  CC       fat.lo
  CC       fatio.lo
  CC       table.lo
  CC       traverse.lo
  CC       resize.lo
  CCLD     libfat.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/fat'
Making all in ntfs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/ntfs'
  CC       ntfs.lo
  CCLD     libntfs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/ntfs'
Making all in hfs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/hfs'
  CC       hfs.lo
  CC       probe.lo
  CC       cache.lo
  CC       advfs.lo
  CC       file.lo
  CC       reloc.lo
  CC       advfs_plus.lo
  CC       file_plus.lo
  CC       reloc_plus.lo
  CC       journal.lo
  CCLD     libhfs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/hfs'
Making all in linux_swap
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/linux_swap'
  CC       linux_swap.lo
  CCLD     liblinuxswap.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/linux_swap'
Making all in xfs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/xfs'
  CC       xfs.lo
  CCLD     libxfs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/xfs'
Making all in jfs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/jfs'
  CC       jfs.lo
  CCLD     libjfs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/jfs'
Making all in reiserfs
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs/reiserfs'
  CC       reiserfs.lo
  CC       geom_dal.lo
  CCLD     libreiserfs.la
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs/reiserfs'
make[4]: Entering directory `/home/zhaomy/parted-2.1/libparted/fs'
  CCLD     libfs.la
libtool: link: warning: `-version-info/-version-number' is ignored for 
convenience libraries
libtool: link: warning: `-release' is ignored for convenience libraries
copying selected object files to avoid basename conflicts...
make[4]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs'
make[3]: Leaving directory `/home/zhaomy/parted-2.1/libparted/fs'
Making all in .
make[3]: Entering directory `/home/zhaomy/parted-2.1/libparted'
Makefile:1035: warning: overriding commands for target `linux.lo'
Makefile:1027: warning: ignoring old commands for target `linux.lo'
  CC       debug.lo
  CC       architecture.lo
  CC       device.lo
  CC       exception.lo
  CC       filesys.lo
  CC       libparted.lo
  CC       timer.lo
  CC       unit.lo
  CC       disk.lo
  CC       geom.lo
  CC       constraint.lo
  CC       natmath.lo
  CC       linux.lo
cc1: warnings being treated as errors
arch/linux.c: In function '_dm_maptype':
arch/linux.c:440: error: implicit declaration of function 
'dm_task_set_major_minor'
make[3]: *** [linux.lo] Error 1
make[3]: Leaving directory `/home/zhaomy/parted-2.1/libparted'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zhaomy/parted-2.1/libparted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhaomy/parted-2.1'
make: *** [all] 错误 2

-- 
zhaomingyang <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]