* numa.h for rt-test
@ 2015-10-26 10:56 Javier Sanz
2015-10-26 11:05 ` Javier Sanz
2015-10-26 12:45 ` Jeff Epler
0 siblings, 2 replies; 5+ messages in thread
From: Javier Sanz @ 2015-10-26 10:56 UTC (permalink / raw)
To: RT
Hello,
I am trying to compile rt-tests-0.96 and i got :
root@darkstar rt-tests-0.96]# make
gcc -D VERSION=0.96 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull
-O2 -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
In file included from src/cyclictest/cyclictest.c:39:0:
src/cyclictest/rt_numa.h:29:18: fatal error: numa.h: No such file or directory
compilation terminated.
Makefile:87: recipe for target 'bld/cyclictest.o' failed
make: *** [bld/cyclictest.o] Error 1
[root@darkstar rt-tests-0.96]#
why do i need to get numa.h ??
Tx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: numa.h for rt-test
2015-10-26 10:56 numa.h for rt-test Javier Sanz
@ 2015-10-26 11:05 ` Javier Sanz
2015-10-27 8:49 ` John Kacur
2015-10-26 12:45 ` Jeff Epler
1 sibling, 1 reply; 5+ messages in thread
From: Javier Sanz @ 2015-10-26 11:05 UTC (permalink / raw)
To: RT
Sorry,
make NUMA=0
Tx
2015-10-26 11:56 GMT+01:00 Javier Sanz <jsanza@gmail.com>:
> Hello,
>
> I am trying to compile rt-tests-0.96 and i got :
>
> root@darkstar rt-tests-0.96]# make
> gcc -D VERSION=0.96 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull
> -O2 -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
> In file included from src/cyclictest/cyclictest.c:39:0:
> src/cyclictest/rt_numa.h:29:18: fatal error: numa.h: No such file or directory
> compilation terminated.
> Makefile:87: recipe for target 'bld/cyclictest.o' failed
> make: *** [bld/cyclictest.o] Error 1
> [root@darkstar rt-tests-0.96]#
>
>
> why do i need to get numa.h ??
>
> Tx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: numa.h for rt-test
2015-10-26 10:56 numa.h for rt-test Javier Sanz
2015-10-26 11:05 ` Javier Sanz
@ 2015-10-26 12:45 ` Jeff Epler
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Epler @ 2015-10-26 12:45 UTC (permalink / raw)
To: Javier Sanz; +Cc: RT
On Mon, Oct 26, 2015 at 11:56:45AM +0100, Javier Sanz wrote:
> Hello,
>
> I am trying to compile rt-tests-0.96 and i got :
>
> root@darkstar rt-tests-0.96]# make
> gcc -D VERSION=0.96 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull
> -O2 -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
> In file included from src/cyclictest/cyclictest.c:39:0:
> src/cyclictest/rt_numa.h:29:18: fatal error: numa.h: No such file or directory
> compilation terminated.
> Makefile:87: recipe for target 'bld/cyclictest.o' failed
> make: *** [bld/cyclictest.o] Error 1
> [root@darkstar rt-tests-0.96]#
>
>
> why do i need to get numa.h ??
Some documentation on the rt wiki:
https://rt.wiki.kernel.org/index.php/Cyclictest#Compile_failure_because_numa.h_can.27t_be_found
[which says that the package on Fedora-derived systems is numactl-devel]
On Debian-derived systems, the header is from libnuma-dev.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: numa.h for rt-test
2015-10-26 11:05 ` Javier Sanz
@ 2015-10-27 8:49 ` John Kacur
2015-10-27 9:18 ` John Kacur
0 siblings, 1 reply; 5+ messages in thread
From: John Kacur @ 2015-10-27 8:49 UTC (permalink / raw)
To: Javier Sanz; +Cc: RT
On Mon, 26 Oct 2015, Javier Sanz wrote:
> Sorry,
>
> make NUMA=0
>
> Tx
>
> 2015-10-26 11:56 GMT+01:00 Javier Sanz <jsanza@gmail.com>:
> > Hello,
> >
> > I am trying to compile rt-tests-0.96 and i got :
> >
> > root@darkstar rt-tests-0.96]# make
> > gcc -D VERSION=0.96 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull
> > -O2 -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
> > In file included from src/cyclictest/cyclictest.c:39:0:
> > src/cyclictest/rt_numa.h:29:18: fatal error: numa.h: No such file or directory
> > compilation terminated.
> > Makefile:87: recipe for target 'bld/cyclictest.o' failed
> > make: *** [bld/cyclictest.o] Error 1
> > [root@darkstar rt-tests-0.96]#
> >
> >
> > why do i need to get numa.h ??
> >
> > Tx
> --
I think the original thinking was that it is a trivial thing to install
the numa libs even if you are not going to use them, but I have personally
liked this. I could imagine that this requirement is not
always so simple in the embedded space. I'll look into seeing if I can
remove this. (or try yourself, and send me a patch.)
Thanks
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: numa.h for rt-test
2015-10-27 8:49 ` John Kacur
@ 2015-10-27 9:18 ` John Kacur
0 siblings, 0 replies; 5+ messages in thread
From: John Kacur @ 2015-10-27 9:18 UTC (permalink / raw)
To: Javier Sanz; +Cc: RT, Clark Williams
On Tue, 27 Oct 2015, John Kacur wrote:
>
>
> On Mon, 26 Oct 2015, Javier Sanz wrote:
>
> > Sorry,
> >
> > make NUMA=0
> >
> > Tx
> >
> > 2015-10-26 11:56 GMT+01:00 Javier Sanz <jsanza@gmail.com>:
> > > Hello,
> > >
> > > I am trying to compile rt-tests-0.96 and i got :
> > >
> > > root@darkstar rt-tests-0.96]# make
> > > gcc -D VERSION=0.96 -c src/cyclictest/cyclictest.c -Wall -Wno-nonnull
> > > -O2 -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
> > > In file included from src/cyclictest/cyclictest.c:39:0:
> > > src/cyclictest/rt_numa.h:29:18: fatal error: numa.h: No such file or directory
> > > compilation terminated.
> > > Makefile:87: recipe for target 'bld/cyclictest.o' failed
> > > make: *** [bld/cyclictest.o] Error 1
> > > [root@darkstar rt-tests-0.96]#
> > >
> > >
> > > why do i need to get numa.h ??
> > >
> > > Tx
> > --
>
> I think the original thinking was that it is a trivial thing to install
> the numa libs even if you are not going to use them, but I have personally
Should read, "I have NEVER liked this" :)
> liked this. I could imagine that this requirement is not
> always so simple in the embedded space. I'll look into seeing if I can
> remove this. (or try yourself, and send me a patch.)
>
> Thanks
>
> John
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-27 9:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26 10:56 numa.h for rt-test Javier Sanz
2015-10-26 11:05 ` Javier Sanz
2015-10-27 8:49 ` John Kacur
2015-10-27 9:18 ` John Kacur
2015-10-26 12:45 ` Jeff Epler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).