Csound Csound-dev Csound-tekno Search About

[Cs-dev] failed to build on Win

Date2006-10-12 19:43
FromVictor Lazzarini
Subject[Cs-dev] failed to build on Win
Got this:

OOps\remote.c:26:23: sys/ioctl.h: No such file or directory
OOps\remote.c:27:22: linux/if.h: No such file or directory
OOps\remote.c: In function `getIpAddress':
OOps\remote.c:41: error: storage size of 'ifr' isn't known
OOps\remote.c:48: warning: implicit declaration of function
`ioctl'
OOps\remote.c:48: error: `SIOCGIFADDR' undeclared (first use
in this function)
OOps\remote.c:48: error: (Each undeclared identifier is
reported only once
OOps\remote.c:48: error: for each function it appears in.)
OOps\remote.c:41: warning: unused variable `ifr'
OOps\remote.c: In function `SVopen':
OOps\remote.c:175: error: `socklen_t' undeclared (first use
in this function)
OOps\remote.c:175: error: syntax error before "clilen"
OOps\remote.c:184: warning: passing arg 4 of `setsockopt'
from incompatible pointer type
OOps\remote.c:206: error: `clilen' undeclared (first use in
this function)
OOps\remote.c: In function `SVrecv':
OOps\remote.c:226: error: `socklen_t' undeclared (first use
in this function)
OOps\remote.c:226: error: syntax error before "clilen"
OOps\remote.c:228: error: `MSG_DONTWAIT' undeclared (first
use in this function)
OOps\remote.c:228: error: `clilen' undeclared (first use in
this function)
scons: building terminated because of errors.
scons: *** [OOps\remote.o] Error 1

I fixed remote.h so that it seems OK on Windows, but
remote.c is so linux-dependent that I don't know how
to start. Can't do ioctl on Windows. I reckon this will
also fail on OSX.

Suggestions?

Victor

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net