OpenFastPath / nginx_ofp

NGiNX integrated with OFP_ODP_DPDK
26 stars 14 forks source link

Compilation issue in nginx_ofp #3

Open Nesyan opened 6 years ago

Nesyan commented 6 years ago

hi, I followed readme. in section 1, after run ./configure, I get the following error of make install command: sysadmin@ubuntu:~/Downloads/nginx_ofp$ make install make -f objcs/Makefile install make[1]: Entering directory '/home/sysadmin/Downloads/nginx_ofp' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/scripts/check- odp/new-build//include//include -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/nginx.o \ src/core/nginx.c In file included from src/core/nginx.c:9:0: src/core/ngx_core.h:13:17: **fatal error**: odp.h: no such file or directory compilation terminated. objs/Makefile:352:recipe for target 'objs/src/core/nginx.o' failed .... thanks in advance.

krisk0 commented 5 years ago

Pay attention to OFP_ODP setting. It should point to directory where you installed odp-dpdk, which includes odp.h