[Live-devel] invalid conversion from `int*' to `socklen_t*'

Ross Finlayson finlayson at live.com
Mon Dec 15 16:23:42 PST 2003


>I did some digging in the old list archives and saw that someone
>had added "SOCKLEN_T = int" to one of the Mac config files to
>port to that platform. I tried that and re-ran the genMakefiles
>script but still had the same problems.

Chad,

You were almost there.

Try adding
         -DSOCKLEN_T=socklen_t
to the "COMPILE_OPTS =" line in the file "config.solaris".  Then re-run
         genMakefiles solaris

You should then be able to build the code.

(I will include this change to "config.solaris" in the next release.  You 
apparently tripped over the problem because you're running Solaris on a 
64-bit computer.  (I had previously tested the code for Solaris only on a 
32-bit computer.))


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list