bug-parted
[Top][All Lists]
Advanced

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

Re: make error


From: Petr Uzel
Subject: Re: make error
Date: Tue, 25 May 2010 11:28:20 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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: pgpt0hlmo3uwr.pgp
Description: PGP signature


reply via email to

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