<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><br><br><br><br>============ Forwarded message ============<br>From : coderalpha&lt;<a href='mailto:coderalpha@zoho.com' target='_blank'>coderalpha@zoho.com</a>&gt;<br>To : "John Schultz" &lt;<a href='mailto:jschultz@spreadconcepts.com' target='_blank'>jschultz@spreadconcepts.com</a>&gt;<br>Date : Mon, 08 Nov 2010 18:47:33 +0200<br>Subject : Re: [Spread-users] Configure script<br>============ Forwarded message ============<br><br><blockquote style="border-left: 1px solid rgb(0, 0, 255); padding-left: 6px;"><div><span style="font-family: verdana,arial,helvetica,sans-serif;">Thanks John!<br><br>I thought that I should try to change it to use autoconf as this seemed to be the correct solution. Instead I took the short route and changed the #define in </span>stdarch_wintel32.h.<br><br>However now I get errors on some header files:<br>defines.h:43:24: error: sys/socket.h: No such file or directory<br>defines.h:45:30: error: netinet/in_systm.h: No such file or directory<br>defines.h:46:24: error: netinet/in.h: No such file or directory<br>defines.h:47:24: error: netinet/ip.h: No such file or directory<br>defines.h:77:21: error: termios.h: No such file or directory<br><br>This I understand is that I should use winsock.h on Windows. Which makes me feel that I'm just digging a hole here. With the previous error the assumption was made that this is a win32 platform, now it isn't. <br><br>Thanks.<br><br><br><br>---- On Mon, 08 Nov 2010 17:43:06 +0200 <b>John Schultz &lt;<a href="mailto:jschultz@spreadconcepts.com" target="_blank">jschultz@spreadconcepts.com</a>&gt;</b> wrote ---- <br><br><blockquote style="border-left: 1px solid rgb(0, 0, 255); padding-left: 6px;">That is actually an issue with the stdutil library that is used (and built) by Spread.   <br clear="none"> <br clear="none">The issue is that stdutil does not expect that the autoconf script can be run on a win32 platform, so it doesn't use autoconf and instead it uses that stdarch_wintel32.h file that has "static" declarations of types.  The long long type, in particular, may or may not exist depending on your compiler.  If it does exist, then you can simply change that #undef to be #define SIZEOF_LONG_LONG 8 and that should fix your issue.  Otherwise, you need to change the conditional compile test and definition of stduint64 and stdint64 to the appropriate 64b type of your environment. <br clear="none"> <br clear="none">Cheers! <br clear="none"> <br clear="none">----- <br clear="none">John Lane Schultz <br clear="none">Spread Concepts LLC <br clear="none">Phn: 301 830 8100 <br clear="none">Cell: 443 838 2200 <br clear="none"> <br clear="none">On Nov 8, 2010, at 6:18 AM, coderalpha wrote: <br clear="none"> <br clear="none">Hi <br clear="none"> <br clear="none">I'm trying to build spread on Windows with MinGW. When I run the configure script, I see this in the output: <br clear="none">      checking size of long long... 8 <br clear="none">However, when I run make, I get lots of errors of which this is the first one: <br clear="none">      stdarch_wintel32.h:132:4: error: #error No 8 byte integeral type found! <br clear="none"> <br clear="none">The header file stdarch_wintel32.h contains the following definition: <br clear="none">      #undef  SIZEOF_LONG_LONG <br clear="none"> <br clear="none">To me it seems that SIZEOF_LONG_LONG should be defined as 8. <br clear="none"> <br clear="none">Any ideas? <br clear="none">Thanks. <br clear="none">_______________________________________________ <br clear="none">Spread-users mailing list <br clear="none"><a href="mailto:Spread-users@lists.spread.org" target="_blank">Spread-users@lists.spread.org</a> <br clear="none"><a href="http://lists.spread.org/mailman/listinfo/spread-users" target="_blank">http://lists.spread.org/mailman/listinfo/spread-users</a> <br clear="none"> <br clear="none"></blockquote><br></div></blockquote><br></body></html>