public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* hostent_data struct
@ 2001-07-13 13:18 Carla Nunes
  2001-07-27  1:10 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Carla Nunes @ 2001-07-13 13:18 UTC (permalink / raw)
  To: GCC Help List

Hi all,

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"

I looked at <netdb.h> and the file doesn't define this
struct as it should be.

What should I do?

Thank you in advance, Carla.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hostent_data struct
  2001-07-13 13:18 hostent_data struct Carla Nunes
@ 2001-07-27  1:10 ` Alexandre Oliva
  2001-07-27  5:39   ` GNATS John Love-Jensen
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Oliva @ 2001-07-27  1:10 UTC (permalink / raw)
  To: Carla Nunes; +Cc: GCC Help List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* GNATS
  2001-07-27  1:10 ` Alexandre Oliva
@ 2001-07-27  5:39   ` John Love-Jensen
  0 siblings, 0 replies; 3+ messages in thread
From: John Love-Jensen @ 2001-07-27  5:39 UTC (permalink / raw)
  To: GCC Help List

Hi GCC fans, fanatics and friends,

Has anyone addressed GNATS #2072 / 2091 / 2107 / 2109?  Is it fixed in
2.95.3, 2.96.x, or 3.0.x?

(As a reminder, the -ffloat-store switch fixes the "%l7 register becomes
corrupt" problem in conjunction with the optimizer and -fPIC or -fpic, on
SPARC architecture.)

Thanks,
--Eljay


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-27  5:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 13:18 hostent_data struct Carla Nunes
2001-07-27  1:10 ` Alexandre Oliva
2001-07-27  5:39   ` GNATS John Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).