unikraft / lib-nginx

Unikraft port of NGINX
Other
1 stars 5 forks source link

`select()` and `poll()` error since release 0.10 #8

Closed razvand closed 1 year ago

razvand commented 2 years ago

Since the 0.10 release there is an poll() and select()-related error, due to missing inclusion if posix-event and posix-socket:

/home/razvan/projects/unikraft/builds/unikraft-nginx/apps/app-nginx/build/nginx_kvm-x86_64.o: In function `ngx_select_process_events':
/home/razvan/projects/unikraft/builds/unikraft-nginx/apps/app-nginx/build/libnginx/origin/nginx-1.15.6/src/event/modules/ngx_select_module.c:263: undefined reference to `select'

The Config.uk file needs to be updated to use LIBPOSIX_SOCKET and LIBPOSIX_EVENT.