* fd_set declarations
@ 1998-02-08 5:00 Marko Vendelin
1998-02-09 5:00 ` Nils Faerber
0 siblings, 1 reply; 2+ messages in thread
From: Marko Vendelin @ 1998-02-08 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fd_set declarations
1998-02-08 5:00 fd_set declarations Marko Vendelin
@ 1998-02-09 5:00 ` Nils Faerber
0 siblings, 0 replies; 2+ messages in thread
From: Nils Faerber @ 1998-02-09 5:00 UTC (permalink / raw)
Marko Vendelin <markov@ioc.ee> wrote:
: Hi,
Hello!
: 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:
[...]
: /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.
If I remember correctly, just install a recent vanilla kernel source (i.e.
2.0.33 for example) and set the include links appropriatley. This should do
most of the trick ;)
: Thanks,
: Marko Vendelin
CU
nils
--
Nils Faerber (Linux Nils) eMail: nils@unix-ag.org
Student of computer science http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany
Siegen ... the arctic rain forest!
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-09 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-08 5:00 fd_set declarations Marko Vendelin
1998-02-09 5:00 ` Nils Faerber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox