Skip to content
Back to formatted view

Raw Message

Message-ID: <14543.39273.545539.516566@lynne.ethz.ch>
Date: 2000-03-15T14:08:41Z
From: Martin Maechler
Subject: headers needed in gcc
In-Reply-To: <38CF9094.EEE7BEEC@univie.ac.at>

>>>>> "Erich" == Erich Neuwirth <erich.neuwirth@univie.ac.at> writes:

    Erich> i am working my way to create a stdin-stdout version of R
    Erich> i am not a gcc configuration expert.
    Erich> currently, i am missing

    Erich> #include <sys/types.h>
    Erich> #  include <sys/socket.h>
    Erich> #  include <netinet/in.h>
    Erich> #  include <netinet/tcp.h>

    Erich> #include "sock.h"
well, "sock.h"  (as the `"' suggests) is a local file, 
in this case, it's in the same directory as the *.c file which includes it.
 
    Erich> as far as i understand my system,
    Erich> these header files shpuld be in
    Erich> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include

Well, I think to remember that for gcc under Solaris,
it looks *BOTH* in
   /usr/local/lib/gcc-lib/sparc..../<version>/include
AND
   /usr/include/

i.e. /usr/include/sys/  and /usr/include/netinet/  may contain your
headers..
Otherwise, try

    cd /usr/include
    find . -name types.h
    find . -name tcp.h

etc.

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._