Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Marko Vendelin <markov@ioc.ee>
Subject: fd_set declarations
Date: 1998/02/08	[thread overview]
Message-ID: <34DDEB60.167E@ioc.ee> (raw)


Hi,

I've some troubles compiling Diffpack in RH 5.0. Namely,
g++ (standard and egcs) fail to compile any C++ file 
that includes <rpc/types.h> with the following messages:

In file included from /usr/include/linux/types.h:4,
                 from /usr/include/asm/socket.h:4,
                 from /usr/include/socketbits.h:190,
                 from /usr/include/sys/socket.h:34,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/rpc/types.h:57,
                 from types.C:3:
/usr/include/linux/posix_types.h:44: conflicting types for `struct
fd_set'
/usr/include/sys/select.h:48: previous declaration as `typedef struct
__fd_set fd_set'

It seems to me that this is a known problem (I've
read some messages with the similar description) 
but I haven't found any answer in news archives. 
Hopefully this time the solution will be posted here.

Thanks,

Marko Vendelin



             reply	other threads:[~1998-02-08  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-08  5:00 Marko Vendelin [this message]
1998-02-09  5:00 ` fd_set declarations Nils Faerber
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox