[EMAIL PROTECTED] wrote:

> This looks like your GCC can not parse /usr/include/socket.h
> 
> Can you test that?
> 
> cat > t.c <<EOF
> #include <socket>
> int main() { exit(0); }
> EOF
> gcc -o t.o -c t.c
> 

posting this just for comparison purposes... 

my copy of redhat 8 here doesn't have socket.h in /usr/include, however 
there IS a socket.h in 

/usr/include/sys/socket.h
/usr/include/asm/socket.h
/usr/include/linux/socket.h
/usr/include/bits/socket.h


I did a quick list of /usr/include and also discovered that my version of 
gcc wouldn't compile it if I did 

#include <spawn>

(not even if I added -I/usr/include) 

but WOULD work if I did

#include <spawn.h>


Reply via email to