nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: cross-compile for mips
From: Greg Haerr
Date: Thu, 14 Sep 2000 20:58:24 -0600

: Compiling client.c ...
: client.c: In function `GrOpen':
: client.c:256: `SOCK_STREAM' undeclared (first use this
: function)

Search the cross-compiler's include directory and
find SOCK_STREAM.  Insert that include
file into client.c. Do thse same for the sockets.c file below.

Please let me know which include file defines
SOCK_STREAM for mips.  This problem
has been on the list before, and I've forgotten 
the answer.

Regards,

Greg



: Compiling sockets.c ...
: sockets.c: In function `ConnectToTcpAddr':
: sockets.c:110: `SOCK_STREAM' undeclared (first use
: this function)
: sockets.c:110: (Each undeclared identifier is reported
: only once
: 


nanogui@linuxhacker.org