|
From: Salman A. <sal...@gm...> - 2019-09-30 11:22:58
|
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.
|
|
From: Alan C. <ala...@gm...> - 2019-09-30 13:16:28
|
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 <sal...@gm...> 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 |
|
From: João M. S. S. <joa...@gm...> - 2019-09-30 13:31:18
|
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 <ala...@gm...> 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 <sal...@gm...> 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 > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: Salman A. <sal...@gm...> - 2019-09-30 13:37:32
|
on my machine I have On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva < joa...@gm...> 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 <ala...@gm...> 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 <sal...@gm...> 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 > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Salman A. <sal...@gm...> - 2019-09-30 13:39:56
|
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 <sal...@gm...> wrote: > on my machine I have > > > On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva < > joa...@gm...> 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 <ala...@gm...> 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 <sal...@gm...> 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 >> > Val...@li... >> > https://lists.sourceforge.net/lists/listinfo/valgrind-users >> > |
|
From: Alan C. <ala...@gm...> - 2019-09-30 14:30:24
|
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 <sal...@gm...> 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 <sal...@gm...> wrote: > >> on my machine I have >> >> >> On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva < >> joa...@gm...> 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 <ala...@gm...> 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 <sal...@gm...> 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 >>> > Val...@li... >>> > 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 |
|
From: Alan C. <ala...@gm...> - 2019-09-30 14:34:32
|
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 <ala...@gm...> 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 <sal...@gm...> 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 <sal...@gm...>
>> wrote:
>>
>>> on my machine I have
>>>
>>>
>>> On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva <
>>> joa...@gm...> 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 <ala...@gm...> 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 <sal...@gm...> 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
>>>> > Val...@li...
>>>> > 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
|
|
From: Salman A. <sal...@gm...> - 2019-09-30 16:18:52
|
HI guys, thanks for your help... compiling didnt work so I just downloaded and installed a deb package of valgrind 3.15 and its working fine On Mon, Sep 30, 2019 at 4:34 PM Alan Corey <ala...@gm...> wrote: > 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 <ala...@gm...> 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 <sal...@gm...> 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 <sal...@gm...> > >> wrote: > >> > >>> on my machine I have > >>> > >>> > >>> On Mon, Sep 30, 2019 at 6:31 PM João M. S. Silva < > >>> joa...@gm...> 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 <ala...@gm...> > 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 <sal...@gm...> 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 > >>>> > Val...@li... > >>>> > 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 > |