activate
Verified User
Hi all,
Since recently on one server I am getting an error when trying to build curl (or anything that uses it like ClamAV and PHP).
This is the error I get:
I have found posts mentioning this but they come down to including sys/select.h
I have tried that as well to no avail.
On another server with same CentOS/DA version I have not experienced this.
Anyone have a clue how to resolve this?
Since recently on one server I am getting an error when trying to build curl (or anything that uses it like ClamAV and PHP).
This is the error I get:
Code:
make[2]: Entering directory `/usr/local/directadmin/custombuild/curl-7.67.0/lib'
CC libcurl_la-file.lo
In file included from ../include/curl/curl.h:2864:0,
from curl_setup.h:149,
from file.c:23:
../include/curl/multi.h:157:40: error: unknown type name 'fd_set'
fd_set *read_fd_set,
^
../include/curl/multi.h:158:40: error: unknown type name 'fd_set'
fd_set *write_fd_set,
^
../include/curl/multi.h:159:40: error: unknown type name 'fd_set'
fd_set *exc_fd_set,
^
make[2]: *** [libcurl_la-file.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.67.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.67.0/lib'
make: *** [all-recursive] Error 1
I have found posts mentioning this but they come down to including sys/select.h
I have tried that as well to no avail.
On another server with same CentOS/DA version I have not experienced this.
Anyone have a clue how to resolve this?