This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: hostent_data struct
- To: Carla Nunes <carlanunes at yahoo dot com>
- Subject: Re: hostent_data struct
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 27 Jul 2001 05:10:04 -0300
- Cc: GCC Help List <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <20010713201842.53184.qmail@web12106.mail.yahoo.com>
On Jul 13, 2001, Carla Nunes <carlanunes@yahoo.com> 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