|
From: Felipe P. <fel...@gm...> - 2013-11-08 21:01:56
|
On Fri, Nov 8, 2013 at 1:57 PM, Tom Hughes <to...@co...> wrote: > On 08/11/13 15:41, Rich Coe wrote: >> >> What os distribution and version were you compiling on ? >> What version of linux is this? > > > My guess is a recent Ubuntu and he hasn't got all the C library development > headers (both 32 and 64 bit) installed. > Actually it's a Debian 7 running Linux 3.2.0-4-amd64. > Tom > > >> Rich >> >> On Thu, 7 Nov 2013 19:26:10 -0200 >> Felipe Pena <fel...@gm...> wrote: >>> >>> Hello, >>> I was just trying to build Valgrind using ./configure without options, >>> and got an error, see below: >>> >>> m_debuginfo/readstabs.c:57:39: fatal error: a.out.h: No such file or >>> directory >>> compilation terminated. >>> >>> Changing the related code as follow below fixes it. >>> >>> Index: coregrind/m_debuginfo/readstabs.c >>> =================================================================== >>> --- coregrind/m_debuginfo/readstabs.c (revision 13710) >>> +++ coregrind/m_debuginfo/readstabs.c (working copy) >>> @@ -54,7 +54,7 @@ >>> >>> /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ >>> #if defined(VGO_linux) >>> -# include <a.out.h> /* stabs defns */ >>> +# include <linux/a.out.h> /* stabs defns */ >>> #elif defined(VGO_darwin) >>> # include <mach-o/nlist.h> >>> # define n_other n_sect >>> >>> -- >>> Regards, >>> Felipe Pena >>> >>> >>> ------------------------------------------------------------------------------ >>> November Webinars for C, C++, Fortran Developers >>> Accelerate application performance with scalable programming models. >>> Explore >>> techniques for threading, error checking, porting, and tuning. Get the >>> most >>> from the latest Intel processors and coprocessors. See abstracts and >>> register >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Valgrind-developers mailing list >>> Val...@li... >>> https://lists.sourceforge.net/lists/listinfo/valgrind-developers >> >> >> > > > -- > Tom Hughes (to...@co...) > http://compton.nu/ -- Regards, Felipe Pena |