Comments (3)
I can successfully compile DPDK 17.05, but I don't know which version of DPDK does f-stack use.
from f-stack.
I've updated DPDK to 17.05, and fixed for some compatible issues. DPDK and f-stack can be successfully compiled, but redis is still broken.
[cholerae@x240s redis-3.2.8]$ make
cd src && make all
make[1]: Entering directory '/data/f-stack/app/redis-3.2.8/src'
sh: ./mkreleasehdr.sh: Permission denied
CC adlist.o
CC quicklist.o
CC ae.o
In file included from ae_ff_kqueue.c:37:0,
from ae.c:50:
/data/f-stack/lib/ff_api.h:103:57: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration
struct kevent *eventlist, int nevents, const struct timespec *timeout);
^~~~~~~~
In file included from ae.c:50:0:
ae_ff_kqueue.c: In function ‘aeApiPoll’:
ae_ff_kqueue.c:116:25: error: storage size of ‘timeout’ isn’t known
struct timespec timeout;
^~~~~~~
ae_ff_kqueue.c:116:25: warning: unused variable ‘timeout’ [-Wunused-variable]
make[1]: *** [Makefile:229: ae.o] Error 1
make[1]: Leaving directory '/data/f-stack/app/redis-3.2.8/src'
make: *** [Makefile:6: all] Error 2
I think the reason is that in linux the header containing struct timespec
is time.h
, but in freebsd is sys/time.h
. In redis compilation we haven't overriden the include root to freebsd root. So struct timespec
haven't been imported into ae_ff_kqueue.c.
from f-stack.
The version of dpdk that f-stack use is 16.07. And we didn't test it with gcc 5+.
The redis error is that we push the codes to github with permission loss.
from f-stack.
Related Issues (20)
- Unable to establish communication with the assigned IP HOT 3
- SCTP support
- [Security] Buffer overflow in freebsd/contrib/openzfs/module/lua/ldo.c
- How to config bonding mode?
- F-Stack multiple process howto
- How to set a specified IPv6 address to ff_bind() without error? HOT 1
- Does F-stack support ENA on AWS? HOT 2
- helloworld_epoll --conf ../config.ini --proc-type=primary --proc-id=0 fail to bind port1 192.168.1.3 HOT 1
- Failed to launch multiple nginx workers using vmxnet3 driver HOT 1
- F-Stack Redis does not seems to listen on port 6379
- 如何配置修改freeBSD HOT 1
- Specifying devargs parameter?
- ff_rss_check for IPv6
- Unable to compile f-stack lib on fedora HOT 1
- Https Client HOT 3
- 压测nginx cpu亲和不起作用
- 反向代理连接服务端时获取的端口限制在10000到65535之间问题 HOT 1
- Error compiling F-stack on aarch64 HOT 2
- No need to run autogen.sh in jemalloc directory
- Is it possible to link with other ssl libraries? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f-stack.