<div>Hi Theo,</div>
<div>I have done the same too. I would be interested in knowing the implications too.</div>
<div>Thanks</div>
<div>Vandana <br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">Mutanga Theodore</b> &lt;<a href="mailto:muathe02@student.umu.se">muathe02@student.umu.se</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Greetings<br><br>I am doing a new install of GATE on Mandrake 10 limitted edition GCC 3.4<br>and geant47.0
 ,&nbsp;&nbsp;gate 2.2 ,<br><br>Has any one come accross this error before ? and what is the remedy for it ?<br>.ch<br><br>Compiling GateEcatSystem.cc ...<br>In file included from include/GateSinoToEcat7.hh:49,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from src/GateEcatSystem.cc:71:
<br>/home/theo/ECAT/include/machine_indep.h:23: error: declaration of C<br>function `void swab(const void*, void*, size_t)' conflicts with<br>/usr/include/unistd.h:1032: error: previous declaration `void<br>swab(constvoid*, void*, ssize_t)' here
<br>make: *** [tmp/Linux-g++/Gate/GateEcatSystem.o] Error 1<br>[theo@masjat gate_v2.2.0]#<br>*****************************************<br><br>I have in the past solved this by changing the defition of Swab in<br>machine_indep.h to read
<br><br>void swab(const void*, void*, size_t)<br>instead of<br><br>void swab(const void*, void*, size_t)<br><br>This usually works but I don't know the implications of that !<br><br>Cheers<br><br>Theodore<br><br>_______________________________________________
<br>gate-users mailing list<br><a href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a><br><a href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
</a><br></blockquote></div><br>