bug-parted
[Top][All Lists]
Advanced

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

Re: compile error with parted-1.4.17


From: Andrew Clausen
Subject: Re: compile error with parted-1.4.17
Date: Sat, 11 Aug 2001 17:12:53 +1000
User-agent: Mutt/1.2.5i

On Sat, Aug 11, 2001 at 07:38:40AM +0300, Ahmed El-Mahmoudy wrote:
> I am using a Linux kernel-2.4.4, GCC-3.0, Glibc-2.2 system. When compiling
> parted-1.4.17, I got this error :
> 
> make[3]: Entering directory `/usr2/src/parted-1.4.17/libparted/fs_ext2'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
> -I../../include     -D_REENTRANT -D_FILE_OFFSET_BITS=64 
> -DLOCALEDIR="\"/usr/local/share/locale\"" 
> -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wno-unused -Wno-switch 
> -Werror -c ext2.c
> ../../libtool: test: =: unary operator expected
> rm -f .libs/ext2.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT 
> -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/local/share/locale\" 
> -DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused -Wno-switch 
> -Werror -c ext2.c  -fPIC -DPIC -o .libs/ext2.lo
> In file included from ext2.h:53,
>                  from ext2.c:28:
> ext2_fs.h:81: parse error before "inode"
> cc1: warnings being treated as errors
> ext2_fs.h:81: warning: no semicolon at end of struct or union
> ext2_fs.h:82: warning: type defaults to `int' in declaration of `rec_len'

This indicates that __u8 hasn't been defined, which usually indicates
that aclocal was run with an old version of autoconf.

So, either your date is wrong or you modified configure.in.

Solutions:
* get a new autoconf
* try build from a clean distribution

Andrew




reply via email to

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