public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: "Robert Nail" <robert.nail@entact.net>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: Where are the socket libraries?
Date: Thu, 07 Dec 2000 08:36:00 -0000	[thread overview]
Message-ID: <orsno0p4s9.fsf@guarana.lsd.ic.unicamp.br> (raw)
In-Reply-To: <003d01c06060$b99a54c0$02c44720@ENTACTNAIL>

On Dec  7, 2000, "Robert Nail" <robert.nail@entact.net> wrote:

> I try to link a simple socket program for Linux 6.0 but it can't find the
> SOCKADDR structure.

This will list the header files you may have to include to get its
definition:

grep -l -r SOCKADDR /usr/include

Then, you may have to link your program with some libraries (!= header
files) to get definitions of whatever functions you use.

-- 
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

  reply	other threads:[~2000-12-07  8:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-07  6:16 [A] It works! : How to create objects of a class defined in .so file? Rajesh Lolam
2000-12-07  7:24 ` Where are the socket libraries? Robert Nail
2000-12-07  8:36   ` Alexandre Oliva [this message]
2000-12-08  6:56     ` Robert Nail
2000-12-08 13:20       ` Alexandre Oliva
2000-12-14 14:58     ` Linux RedHat 7.0 Gcc Howard Gilbert
2000-12-15  8:57       ` Edward S. Marshall
2000-12-07 21:11   ` Where are the socket libraries? Curtis R Anderson
2000-12-08 11:33 Anderjaska, John

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=orsno0p4s9.fsf@guarana.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=robert.nail@entact.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).