This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]