Skip to contentSkip to conversation

Storage size of fdset unknown

DISCUSSION Richard Pyne 1 participant 2 messages Apr 12, 2005 – Apr 13, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.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

Quoted 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