J.L. Blom wrote:
> Hi Armin,
> Thanks for the info. I thought already that the problem is the 64-bit.
> The 32-bit emulation is a lot slower (I ran FC3 in 32-bit emulation and
> FC4 in 64-bit and the difference is rather significant). Is it difficult
> to adapt the source code to compile in 64-bit mode i.e. is it more than
> using a compile switch?
> Joep
> 

yes its more than a switch:

you eiter have to:

- replace the int that are cast to pointer with a long
- cast like this: (int)(long)pointer
- or use pointers to ints

Armin

> On Fri, 2005-09-30 at 16:14 +0200, Armin Bauer wrote:
> 
>>Hi,
>>
>>this means that the code wont run on 64 bit system since the size of a
>>pointer and a int is different on 64 bit:
>>
>>on 32 bit:
>>
>>int: 32 bit, pointer 32 bit
>>
>>on 64:
>>
>>int: 32 bit, pointer 64 bit
>>
>>I think the amd can also execute 32 bit code, right? So you might want
>>to try to compile it for 32 bit instead.
>>
>>Armin
>>
>>J.L. Blom wrote:
>>
>>>Hi all,
>>>Last Wednesday I sent this request to the list, hoping one of the more
>>>seasoned users or developers could give me some clues how to solve this
>>>problem. As I assume my request hasn't been noticed, I hope I don't
>>>offend somebody by remitting it again.
>>>As I forgot to mention my linux version it is: 2.6.12-1.1447_FC4.
>>>IThanks in advance.
>>>Joep
>>>
>>>Here my original message:
>>>"I obtained the latest multisync tar balls to connect my IPAQ to my new
>>>AMD_64 3000+ system. However, when I tried to compile libopensync-0.17
>>>(using rpmbuild -ta not rpm -ta as written in the guidelines) I got the
>>>following error:
>>>" gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -I/usr/include/glib-2.0
>>>-I/usr/lib64/glib-2 .0/include -Werror -Wall -O2 -g -pipe
>>>-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=noco na -MT
>>>osengine_engine.lo -MD -MP -MF .deps/osengine_engine.Tpo -c
>>>osengine_engine.c  -fPIC  -DPIC -o .libs/osengine_engine.o
>>>cc1: warnings being treated as errors
>>>osengine_engine.c: In function 'send_get_changes':
>>>osengine_engine.c:290: warning: cast to pointer from integer of
>>>different size
>>>make[2]: *** [osengine_engine.lo] Error 1"
>>>and the usual exit texts.
>>>When I tried to compile multisync-0.90 I got the following error:
>>>error: Failed build dependencies:
>>>        libopensync-devel is needed by multisync-0.90.17-1.x86_64
>>>        libopensync-plugin-evolution2-devel is needed by
>>>multisync-0.90.17-1.x86_64
>>>Now I haven't found the -develop libraries in the tar balls but I assume
>>>they are build when compiling libopensync.
>>>As it is a 64-bit system I need o compile it as I haven't found .rpm
>>>files for x64 systems.
>>>I don't know why the compiler says: "cc1: warnings being treated as
>>>errors" and if I can change this switch but I need to synchronize my
>>>IPAQ with Evolution.
>>>I hope somebody can help me out."
>>>Joep
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by:
>>>Power Architecture Resource Center: Free content, downloads, discussions,
>>>and more. http://solutions.newsforge.com/ibmarch.tmpl
>>>_______________________________________________
>>>Multisync-users mailing list
>>>Multisync-users@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/multisync-users
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to