[gate-users] GATE install error definition of SWAB

Vandana Kohli kohli.vandana at gmail.com
Thu Sep 8 17:34:04 CEST 2005


Hi Theo,
I have done the same too. I would be interested in knowing the implications 
too.
Thanks
Vandana 

 On 9/8/05, Mutanga Theodore <muathe02 at student.umu.se> wrote: 
> 
> Greetings
> 
> I am doing a new install of GATE on Mandrake 10 limitted edition GCC 3.4
> and geant47.0 , gate 2.2 ,
> 
> Has any one come accross this error before ? and what is the remedy for it 
> ?
> .ch
> 
> Compiling GateEcatSystem.cc ...
> In file included from include/GateSinoToEcat7.hh:49,
> from src/GateEcatSystem.cc:71:
> /home/theo/ECAT/include/machine_indep.h:23: error: declaration of C
> function `void swab(const void*, void*, size_t)' conflicts with
> /usr/include/unistd.h:1032: error: previous declaration `void
> swab(constvoid*, void*, ssize_t)' here
> make: *** [tmp/Linux-g++/Gate/GateEcatSystem.o] Error 1
> [theo at masjat gate_v2.2.0]#
> *****************************************
> 
> I have in the past solved this by changing the defition of Swab in
> machine_indep.h to read
> 
> void swab(const void*, void*, size_t)
> instead of
> 
> void swab(const void*, void*, size_t)
> 
> This usually works but I don't know the implications of that !
> 
> Cheers
> 
> Theodore
> 
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20050908/973baf72/attachment.htm>


More information about the Gate-users mailing list