Re: Issues installing valgrind 3.15.0

Alan Corey <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <CAOh3dDaLG8Xh-mqFLCefh1OG4S2rqRU94zWQpZvGaBWk4Ac6iw@mail.gmail.com>
In Debian I'm just using the Valgrind that's in the debs (packages):

dpkg-query -l | grep -i valgrind
ii  valgrind                               1:3.12.0~svn20160714-1+b1
             arm64        instrumentation framework for building
dynamic analysis tools
ii  valgrind-dbg                           1:3.12.0~svn20160714-1+b1
             arm64        instrumentation framework for building
dynamic analysis tools (debug)
ii  valkyrie                               2.0.0-1+b1
             arm64        open-source graphical user interface for the
Valgrind


On 9/30/19, Alan Corey <[email protected]> wrote:
> I'm not sure which of those you'd want, but you can try
> CFLAGS="-I<some path>" ./configure
>
> Or if it uses cmake it would be a -D define and poke around in your cache
>
> -I will add a directory, -i (lowercase) will add a specific file, and
> yes it's stuff that's going to make.  Not for arch, just for finding
> stuff
>
> On 9/30/19, Salman Ahmed <[email protected]> wrote:
>> on my machine I have
>> /usr/arm-linux-gnueabi/include/asm/types.h
>> /usr/include/x86_64-linux-gnu/asm/types.h
>>
>> and a  lot of dirs inside -> /usr/src/linux-headers-4.15.0-24/arch/
>>
>> e.g.) /usr/src/linux-headers-4.15.0-24/arch/alpha/include/asm/types.h
>> /usr/src/linux-headers-4.15.0-24/arch/alpha/include/uapi/asm/types.h
>> /usr/src/linux-headers-4.15.0-24/arch/arm/include/uapi/asm/types.h
>> etc
>>
>> Do I need to make with some special "make ARCH="? I thought running
>> ./configure would set that up
>>
>>
>>
>>
>> On Mon, Sep 30, 2019 at 6:37 PM Salman Ahmed <[email protected]>
>> wrote:
>>
>>> on my machine I have
>>>
>>>
>>> On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva <
>>> [email protected]> wrote:
>>>
>>>> I just used a Linux Mint VM:
>>>>
>>>> Other than Linux headers I only get this:
>>>>
>>>> $ dpkg -S /usr/include/x86_64-linux-gnu/asm/types.h
>>>> linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/types.h
>>>>
>>>> Should be package linux-libc-dev.
>>>>
>>>> João M. S. Silva
>>>>
>>>> On Mon, Sep 30, 2019 at 2:18 PM Alan Corey <[email protected]> wrote:
>>>> >
>>>> > 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
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Valgrind-users mailing list
>>>> > [email protected]
>>>> > https://lists.sourceforge.net/lists/listinfo/valgrind-users
>>>>
>>>
>>
>
>
> --
> -------------
> 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
>


-- 
-------------
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


_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
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.