From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,dde7dbc5d07e31d4 X-Google-Attributes: gid111c93,public From: Nils Faerber Subject: Re: fd_set declarations Date: 1998/02/09 Message-ID: <34de49eb.0@rainbow.hrz.uni-siegen.de>#1/1 X-Deja-AN: 323266653 References: <34DDEB60.167E@ioc.ee> Newsgroups: comp.os.linux.alpha Marko Vendelin 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 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! --