From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Carla Nunes Cc: GCC Help List Subject: Re: hostent_data struct Date: Fri, 27 Jul 2001 01:10:00 -0000 Message-id: References: <20010713201842.53184.qmail@web12106.mail.yahoo.com> X-SW-Source: 2001-07/msg00312.html On Jul 13, 2001, Carla Nunes wrote: > I'm using Linux 2.96-RH and I'm trying to compile a > code that uses the hostent_data struct. However I got > a message like that: > "aggregate 'hostent_data hd' has incomplete type and > cannot be initialized" Indeed. hostent_data doesn't appear to be a standard struct, and glibc doesn't define such a type, as far as I can tell. This means the code you're trying to compile will have to be ported to GNU/Linux. Anyway, this question has nothing to do with GCC. GCC is a compiler; the C library is a separate project. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me