Storage size of fdset unknown
I am trying to compile axconv.c on a linux-2.6.11 box and keep getting an error of Storage size of 'fdset' is unknown.
The offending line in axconv.c is:
struct fd_set fdset;
fd_set is defined in /usr/include/sys/select.h
From the gcc preprocessor output, it looks like:
typedef struct
{
__fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set;
Any insights at fixing this will be greatly appreciated. i am under the gun to get this whole thing up and running quickly for an emergency exercise on thursday.
Thanks.
--Richard
Well, I found and fixed it. change the line "struct fd_set fdset;" to "fd_set fdset;".
--Richard
Quoted 28 lines · Richard Pyne
I am trying to compile
axconv.con a linux-2.6.11 box and keep getting an error of Storage size of 'fdset' is unknown.The offending line in
axconv.cis:
structfd_setfdset;
fd_setis defined in/usr/include/sys/select.hQuoted 1 line
From the gcc preprocessor output, it looks like:
typedef struct
{ __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];}
fd_set;Any insights at fixing this will be greatly appreciated. i am under the gun to get this whole thing up and running quickly for an emergency exercise on thursday.
Thanks.
--Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html