Re: Issues installing valgrind 3.15.0

Alan Corey <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <CAOh3dDbcAtGMEq7buacp2QEYaUeLBi2sajVLRoejZ9ZAkHTEsA@mail.gmail.com>
You're missing asm/types.h

Not sure what it's part of because there are 1 or 2 other types.h
files too. Somewhere in build-essentials or kernel building stuff I
picked it up.  Try your kernel headers package I see:

locate asm/types.h
/usr/include/aarch64-linux-gnu/asm/types.h
/usr/src/linux-headers-4.9.177+/arch/arm/include/asm/types.h
/usr/src/linux-headers-4.9.177+/arch/arm64/include/generated/asm/types.h
/usr/src/linux-headers-4.9.177+/include/asm/types.h


On 9/30/19, Salman Ahmed <[email protected]> wrote:
> Hello,
>
> I am getting the following error when I try to install valgrind on my
> machine (ubuntu 16.04)
> 1) ./configure
> 2) make
>   In file included from /usr/include/linux/prctl.h:4:0,
>                  from /usr/include/sys/prctl.h:22,
>                  from m_gdbserver/remote-utils.c:34:
> /usr/include/linux/types.h:4:23: fatal error: asm/types.h: No such file or
> directory
> compilation terminated.
> Makefile:7078: recipe for target
> 'm_gdbserver/libcoregrind_x86_linux_a-remote-utils.o' failed
>
> I tried to google anything related to this error but havnt been able to fix
> the issue.
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.