[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug building parted 1.6.12
From: |
Andrew Clausen |
Subject: |
Re: Bug building parted 1.6.12 |
Date: |
Tue, 17 Aug 2004 08:53:32 +1000 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Mon, Aug 16, 2004 at 01:06:23PM -0400, David Ronis wrote:
> I'm trying to upgrade parted to 1.6.12 (from 1.6.11). The build dies in:
>
> /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O3 -march=i686
> -ffast-math -funroll-loops -fomit-frame-pointer -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/local/share/locale\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused -Wno-switch
> -Wno-format -Werror -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c
> exception.c -fPIC -DPIC -o .libs/exception.o
> exception.c:72: warning: conflicting types for built-in function 'log2'
> make[3]: *** [exception.lo] Error 1
> make[3]: Leaving directory `/home/ronis/parted-1.6.12/libparted'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ronis/parted-1.6.12/libparted'
> make[1]: *** [all-recursive] Error 1
>
> I'm using gcc-3.4.1 on what is otherwise a slackware-10 box.
Thanks.
I'll rename log2 to ped_log2. Only exception.c needs to be modified.
Cheers,
Andrew