This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Cannot build trunk version
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 05 Dec 2011 14:23:17 +0100
- Subject: Re: Cannot build trunk version
On Mon, Dec 05, 2011 at 05:20:17PM +0700, Serge Pavlov wrote:
> I cloned repository and invoked commands:
>
> autoheader
> aclocal -I m4
> autoconf
> automake -a -c
> ./configure
> make
>
> but eventuallyI get an error:
>
> make[2]: Entering directory `/export/users/svpavlov/repo/elfutils/libcpu'
> m4 -Di386 -DDISASSEMBLER defs/i386 > i386_defs
> sed
> '1,/^%%/d;/^#/d;/^[[:space:]]*$/d;s/[^:]*:\([^[:space:]]*\).*/MNE(\1)/;s/{[^}]*}//g;/INVALID/d'
> \
> i386_defs | sort -u > i386.mnemonics
> make[2]: *** No rule to make target `i386_dis.h', needed by
> `i386_disasm.o'. Stop.
>
> What's wrong?
You need to configure with --enable-maintainer-mode when building
from git and not from a release tar ball.
Maybe configure could detect the missing .h files and enable it
by default?
Cheers,
Mark