This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where are the socket libraries?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]