DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Build failure on RHEL 7.4
@ 2018-04-11 19:09 Andrew Rybchenko
  2018-04-11 19:40 ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Rybchenko @ 2018-04-11 19:09 UTC (permalink / raw)
  To: dev, Anatoly Burakov

Hello,

build fails on RHEL 7.4. I've not tried to dig it.


lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘resize_hugefile’:
librte_eal/linuxapp/eal/eal_memalloc.c:343:27: error: 
‘FALLOC_FL_PUNCH_HOLE’ undeclared (first use in this function)
     int flags = grow ? 0 : FALLOC_FL_PUNCH_HOLE |
                            ^
lib/librte_eal/linuxapp/eal/eal_memalloc.c:343:27: note: each undeclared 
identifier is reported only once for each function it appears in
lib/librte_eal/linuxapp/eal/eal_memalloc.c:344:6: error: 
‘FALLOC_FL_KEEP_SIZE’ undeclared (first use in this function)
       FALLOC_FL_KEEP_SIZE;
       ^
make[6]: *** [eal_memalloc.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [eal] Error 2
make[4]: *** [linuxapp] Error 2
make[3]: *** [librte_eal] Error 2
make[2]: *** [lib] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -r
3.10.0-693.el7.x86_64

Andrew.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-11 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-11 19:09 [dpdk-dev] Build failure on RHEL 7.4 Andrew Rybchenko
2018-04-11 19:40 ` Thomas Monjalon
2018-04-11 19:46   ` Pavan Nikhilesh
2018-04-11 19:56     ` Thomas Monjalon
2018-04-11 20:14       ` Thomas Monjalon

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