Reply To: Compile issues under Solaris- would appreciate a little help

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Compile issues under Solaris- would appreciate a little help Reply To: Compile issues under Solaris- would appreciate a little help

#15340
rpedde
Participant

@mdmcgee wrote:

io.c:11: warning: ignoring #pragma warning
io.c: In function `io_socket_open’:
io.c:1960: error: `INADDR_NONE’ undeclared (first use in this function)
io.c:1960: error: (Each undeclared identifier is reported only once
io.c:1960: error: for each function it appears in.)
io.c: In function `io_socket_write’:

Don’t know where INADDR_NONE is defined. Might try a grep -ir for “INADDR_NONE” in /usr/include and see what turns up.

Might be arpa/inet.h or netinet/in.h or sys/socket.h… not sure.

Might just try adding all three of those as includes at the top of io.c and seeing what happens. 🙂

— Ron