linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Storage size of fdset unknown
@ 2005-04-12 20:21 Richard Pyne
  2005-04-13  3:35 ` Richard Pyne
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Pyne @ 2005-04-12 20:21 UTC (permalink / raw)
  To: linux-hams

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Storage size of fdset unknown
  2005-04-12 20:21 Storage size of fdset unknown Richard Pyne
@ 2005-04-13  3:35 ` Richard Pyne
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Pyne @ 2005-04-13  3:35 UTC (permalink / raw)
  To: linux-hams

Well, I found and fixed it. change the line "struct fd_set 
fdset;" to "fd_set fdset;".

--Richard

On 12 Apr 2005 at 14:21, Richard Pyne wrote:

> 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
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-13  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 20:21 Storage size of fdset unknown Richard Pyne
2005-04-13  3:35 ` Richard Pyne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).