Do you know if solaris has __BYTE_ORDER defined in /usr/include/* ? Can you give us access to this particular machine to inspect a few macros? It seems to be an endian-ness related issue.<br><br>avati<br><br><div class="gmail_quote">
2008/11/9 rhubbell <span dir="ltr">&lt;<a href="mailto:rhubbell@ihubbell.com">rhubbell@ihubbell.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, 2008-11-08 at 17:10 +0530, Anand Avati wrote:<br>
&gt;<br>
&gt;<br>
&gt;On Fri, 2008-11-07 at 10:26 -0800, rhubbell wrote:<br>
&gt;&gt; &gt; Hello all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there a version dependency on gcc and gluster?<br>
&gt;&gt; &gt; Is there currently a preference by devs? gcc3 or 4?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; I ended up building with gcc4 and I got it built on Solaris10.<br>
&gt;&gt; I also built it on redhat linux from the same tar ball, 1.4pre7<br>
&gt;&gt;<br>
&gt;&gt; I started with a simple setup and I am unable to get the linux box to<br>
&gt;&gt; mount the solaris gfs.<br>
&gt;&gt;<br>
&gt;&gt; I installed the fuse-gfs and built that and loaded the kernel module<br>
&gt;&gt; fine on the linux client.<br>
&gt;&gt;<br>
&gt;&gt; Error on client:<br>
&gt;&gt;<br>
&gt;&gt; client: SETVOLUME on remote-host failed: ret=-2 reply=@0x8fcd270<br>
&gt;&gt;<br>
&gt;&gt; ls on the mount point produces:<br>
&gt;&gt;<br>
&gt;&gt; Transport endpoint is not connected<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div><div><div></div><div class="Wj3C7c">&gt;&gt; server errors (not exact):<br>
&gt;&gt;<br>
&gt;&gt; server: socket header validation failed<br>
&gt;&gt; socket.c:492 &nbsp;socket header has incorrect size1=3120562176<br>
&gt;&gt;<br>
<br>
&gt;<br>
&gt; you are probably running 1.3.x against 1.4.x<br>
&gt;<br>
&gt; avati<br>
&gt;<br>
</div></div>Not sure why you reached that conclusion as I specifically pointed out<br>
that I built from the same tar ball on solaris and linux.<br>
<br>
I have to guess that something in the error is familiar.<br>
<br>
I confirmed that I&#39;m running the same version on client and server.<br>
<br>
<br>
Here&#39;s some additional data, if you have better ideas to troubleshoot or<br>
other data that would help to narrow this down I&#39;m all ears. (^:<br>
<br>
<br>
<br>
Server (running solaris10 - from the log file):<br>
---------------------------<br>
<br>
2008-11-08 13:27:58 E [socket.c:492:__socket_proto_validate_header]<br>
server: socket header has incorrect size1=3120562176<br>
2008-11-08 13:27:58 E [socket.c:588:socket_proto_state_machine] server:<br>
socket header validation failed<br>
2008-11-08 13:27:58 C [server-protocol.c:7176:server_protocol_cleanup]<br>
server: connection private (null) for transport 7dad8<br>
2008-11-08 13:27:58 D [socket.c:1292:fini] server: transport 7dad8<br>
destroyed<br>
<br></blockquote></div><br>