On Tue, May 25, 2010 at 02:50:11PM -0400, zhaomingyang wrote:
> 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
>   CC       natmath.lo
[...]
>   CC       linux.lo
> cc1: warnings being treated as errors

Seems like you have -Werror in your CFLAGS, try 
./configure --disable-Werror

> arch/linux.c: In function '_dm_maptype':
> arch/linux.c:440: error: implicit declaration of function 
> 'dm_task_set_major_minor'

IIRC the dm_task_set_major_minor() function was introduced in
device-mapper-1.02.33 - check that you have at least this
version of device mapper, or (if you do not need DM support in
parted), you can
./configure --disable-device-mapper

> 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

HTH,

Petr

--
Petr Uzel
IRC: ptr_uzl @ freenode

Attachment: pgpIggK659xg9.pgp
Description: PGP signature

_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
  • make error zhaomingyang
    • Re: make error Petr Uzel

Reply via email to